onyudo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Reasons for Upload File Size Limit?The maximum on my server is 99MB, which is generally more than what is needed. However, the client often has very large video files for internal use and they can be well over the 10GB mark. I understand full well that a 10GB file can be deemed an unnecessary tax on server resources, but my contact is going to need more of a reason than that to take it back to their video team to get them to produce output in more manageable file sizes.
thanks! i’ll close this and go back to looking for verbiage on the web.
Forum: Fixing WordPress
In reply to: Reasons for Upload File Size Limit?FTP is a great solution…but frankly, the client cannot be trusted with that level of access. And the entire site was built with the premise that the client needs to upload content on their own.
Again…I’m not looking for solutions to skirt the limitations. I just need some valid reason(s) as to why there is a limit in the first place—and its surprising to me how hard it is to find any verbiage as to the “Why” of it all.
thanks for the lack of follow up. i ended up using another plug-in that did the trick.
Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?well, since time was of the essence on this particular project, i ended up using a plugin (Speedy Page Redirect). it adds one small step on the admin side for the end user, but it produced the exact functionality that was required.
Forum: Plugins
In reply to: [Speedy Page Redirect] Re-directs gone after Migrationwell, it’s all good. i just had to actually read the Read Me that came with the plugin.
changing the re-direct URL’s from absolute URL’s fixed everything.
Cheers.
Forum: Plugins
In reply to: [Speedy Page Redirect] Re-directs gone after MigrationOK,
So the values are in the wp_postmeta table, with the meta_key being _gdd_speedy_page_redirect.
The thing is… I see the values in this table on my Dev site, and the values are still in there on the live site I migrated to.
However, when I go into WP Admin of the live site, the Re-Direct field is black and has to be re-set.
Any clues would to avoid this loss during a SQL export would be appreciated, as I have an awful lot of re-directs to re-populate on my live site.
Cheers, and thanks for a great plug-in.
Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?I was just echoing
the_ID()to see what ID numbers were being called. It showed me that I was indeed not calling the correct information in my ‘post_parent’ args.Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?Though with some further testing, you are right. $post->ID is not pulling in the correct ID.
Now if i could just figure out the right way to say
'post_parent' => 'the variable portfolio post ID'Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?Odd… if I add
echo the_ID();It outputs the correct ID number (the ID number for the Portfolio post) right next to the title. You can see what I mean here:
http://globstersauce.com/brancott-wine-estates/
Thanks for your help… Obviously my php skills are only intermediate at best. I think I might be best off finding a developer to tackle this part of my theme for me.
Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?The thumbnails themselves are being called in the basic WP loop, so I don’t believe that is accounting for any attachment at the end destination. Thanks so much for the guidance, by the way!
Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?Well, the code I mention above is spitting out the (mostly) correct information… Just too much of it, and in a list. What i get is the portfolio of thumbnails with the correct title for each below them, in a manner of speaking.
However, the title is listed below each of the thumbnails for every instance of an attachment at the end destinations. So, each thumbnail repeats it’s title. These titles all link to the file attachments for each of portfolio posts.
So, I get this:
Thumbnail (still links to portfolio post, not to attachment)
Title (links to the attachment of the first portfolio thumbnail)
Title (links to the attachment of the second portfolio thumbnail)
Title (links to the attachment of the third portfolio thumbnail)
Title (links to the attachment of the fourth portfolio thumbnail)
Title (links to the attachment of the fifth portfolio thumbnail)
Title (links to the attachment of the sixth portfolio thumbnail)
etc., etc.Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?the code thus far:
<?php $args = array( 'post_type' => 'attachment', 'post_mime_type' => 'application/pdf,application/msword,application/vnd.ms-powerpoint,image/jpeg,image/jpg', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID, ); $attachments = get_posts($args); if ($attachments) { foreach ($attachments as $attachment) { echo '<a href="'.wp_get_attachment_url($attachment->ID).'">'; echo $attachment->post_title; echo '</a>'; } } ?>Forum: Hacks
In reply to: What's the best way to directly link to a post's file attachment?Thanks! This has definitely gotten me along the right path. The only problem I am having is how to associate the post_parent_ID to the thumbnail’s parent.
Forum: Plugins
In reply to: Translating Widget Function into an existing Custom Post Typeall good. twas easy in the end.
Forum: Fixing WordPress
In reply to: Tammy Hart's Reusable Custom WP Meta Boxes – Repeatable Fieldsresolved!