brad2dabone
Forum Replies Created
-
Scratch that. See the issue.
Forum: Plugins
In reply to: [Posts 2 Posts] Trying to access array offset on value of type nullBump.
Forum: Plugins
In reply to: [Bitly's Wordpress Plugin] Notice: Trying to get property of a non-objectAwesome, thanks!
Forum: Plugins
In reply to: [Custom Permalinks] Don’t remove slug from edit pageI agree that this is a serious issue that needs some attention. The plugin hijacks the “real” permalink field on the post edit page, causing any edits to the permalink to be saved in a custom table rather than modifying the actual permalink slug of the post, which is a completely unnecessary step when the modifications to the post slug follow the permalink structure for the site.
The better solution would be to keep the standard permalink field and have a separate field for the custom permalink.
Forum: Plugins
In reply to: [AMP] Misssing .js script with media library videos and webmaster toolsI’m having the same issue with
<video>
tags in the content, as well as the[video]
shortcode. They get converted properly to<amp-video>
tags, but theamp-video.js
extension isn’t getting called in the<head>
.Forum: Plugins
In reply to: [Smarter Navigation] Non-static method should not be called staticallyThanks for this.
Forum: Fixing WordPress
In reply to: Custom Media attachment taxonomy not listing postsYou get anywhere with this? I’m trying to do the same thing. Being able to filter your media library by a taxonomy when inserting into a post would make media management much less cumbersome. Wish it was as easy as setting options when you register the taxonomy, ie.
'add_select_filter_to_admin' => true, 'add_select_filter_to_add_media' => true
Forum: Fixing WordPress
In reply to: Random Post order not working with paginationHey matstillo, would you mind posting your merged solution? Trying to do the same thing. Would be very helpful.
Thanks
Forum: Plugins
In reply to: [More Fields] More Fields (2.1) incompatible with WP 3.3Hey @henrikmelin, @kalstrom,
I love More Fields and use it on many projects. It’s easily my favorite custom fields management plugin. Thank you for making it and the rest of the More plugins.
Any chance you guys are working on an update to the More Plugins for WordPress 3.3 and beyond? I’m curious (as I’m sure the other people on this thread are) as to whether I need to jump ship and find a new solution, or whether you’re still maintaining these plugins and I just need to patiently wait.
Thanks again
Forum: Fixing WordPress
In reply to: sort_column=>post_name not workingHaving the same issue. This looks like a bug with a recent WordPress update, because it used to work fine.
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Can't Find YouTube ThumbnailsHi Darren,
Try changing this line:
$markup = get_post_meta($post->ID, 'embed-code', true);
To this:
$markup = get_post_meta($post_id, 'embed-code', true);
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Can't Find YouTube ThumbnailsGot it working, if anyone else is trying to do the same thing. Fixed code below. Works for both custom field and post content:
// gets custom field data $videourl = get_post_meta($post_id, 'videourl', true); if($videourl) { $markup = $videourl; } else { // Gets the post's content $post_array = get_post($post_id); $markup = $post_array->post_content; $markup = apply_filters('the_content',$markup); } $new_thumbnail = null;
Forum: Fixing WordPress
In reply to: Question about shortcodes and manipulating markupDid you have any luck with this? I’m trying to do the same thing and would love to know if you figured it out. Thanks!
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Can't Find YouTube ThumbnailsI’m trying to get this to work as a conditional, ie. if the custom field isn’t empty, use the custom field, otherwise scan the content as is the default behavior in the plugin. Here’s what I’ve got so far:
$videourl = get_post_meta($post_id, 'videourl', true); if ( !empty( $videourl ) ) { $markup = $videourl; } else { $markup = $post_array->post_content; $markup = apply_filters('the_content',$markup); }
It’s still working for the custom field, but I can’t get it to pull thumbnails from the post content. Any thoughts?
Forum: Plugins
In reply to: Help overriding gallery_shortcode default markupHave you had any luck with this? The first part of your code that removes the inline css is working for me, but the second part isn’t. I’m using 2.7.1, so it’s possible something has changed in the media.php file.
If anyone out there knows how to fix this portion:
function fix_gallery_output( $output ) { $output = preg_replace("%</div>%", "</ul>", $output); return $output; } add_filter('the_content', 'fix_gallery_output',11, 1);
to more specifically replace this output:
<br style='clear: both;' /> </div>
with a simple , I’d be all kinds of psyched.