Dewey Bushaw
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Taxonomy Order] Custom Taxonomy Order 2.0 broken with 3.3Fix: https://gist.github.com/2707529
Wrapped the $_GET[‘page’] with an isset on lines 75 and 85.
Hey Guys,
I downloaded the latest version. When I posted my fix I think this one wasn’t out. Regardless this one showed errors with WP_Debug mode on. I updated the following code and everything works for me.
Full code: https://gist.github.com/2698146
In function seo_friendly_images_options_page():
// Author did not account for $status being an empty array.
// I am checking to see if the value exists if not I set the vars to empty.
$theVersion = ( isset($status[1]) ? $status[1] : ”);
$theMessage = ( isset($status[3]) ? $status[3] : ”);In function seo_friendly_images_options_page():
// Author created variable $actionurl but then called $action_url.
// I updated the variable name to reflect the call as it is easier to read this way.
$action_url=$_SERVER[‘REQUEST_URI’];Note: I will try to get the author to incorporate these changes and release a new version so we won’t have to bother with this.
Full code: https://gist.github.com/2698146
Awesome and I just donated a little something for you. Keep up the great work!
@bradvin, Everything looks good to me for the “selected items” issue. Great work! I love this plugin ?? Any way I can float some money your way?
One other thing, can you add a away to specify which post statuses you want to display. Currently the plugin only allows Published but for my recent project I needed to show Pending aswell.
/* * Get a hierarchical list of posts */ function load_posts_hierarchical( $post_type ) { $args = array( 'post_type' => $post_type, 'numberposts' => -1, 'orderby' => 'title', 'post_status' => 'publish,pending' ); $args = apply_filters( 'gfcpt_get_post_args', $args ); $posts = get_posts( $args ); $posts = apply_filters( 'gfcpt_get_post_filter', $posts ); return $this->walk_posts( $posts ); }
Forum: Plugins
In reply to: WP-Minify, where did you go?I downloaded it and have made to zip-files available:
Trunk: https://dl.dropbox.com/u/2743829/wp-minify-trunk.zip
Tags 1.1.6 to 1.1.8: https://dl.dropbox.com/u/2743829/wp-minify-v-1.1.6-8.zipI made some updates to my gist code. There was an issue with my $selected code when using Single Line Text with Save to Taxonomy that through an error. This is now accounted for and fixed.
Anytime, feels good to contribute back to the community ??
Hey Brad, I went ahead and added the whole feature as I needed it for a project.
See diff and new file here: https://gist.github.com/2402893
@geet Jacobs – You can just copy and paste (replace) the whole code into your gfcptaddonbase.php (https://gist.github.com/2402893#file_gfcptaddonbase.php)
Brad, just to let you know. When you can’t set a “selected” value then conditionals will not work out the gate for say hiding the submit button if dropdown is not “– select a Taxonomy Term –“.
You should at least set the first item as “selected”
Forum: Plugins
In reply to: WP-Minify, where did you go?I tried Better WP Minify but could not get it working locally on my dev multisite. It may have been just me though. I have not used SuperCache.
Forum: Plugins
In reply to: WP-Minify, where did you go?It just seems to have disappeared. There are other plugins out there but the closes one I tried I had major issues with.
Forum: Plugins
In reply to: WP-Minify, where did you go?Me too!
This is what my SEO Friendly Images setting page looks like: https://cl.ly/2Z3b000p383E242s2m0c
I would set WP_DEBUG to true and make sure you do not have any other erros, maybe from another plugin.
The plugin simply gives all your images on your site alt and title tags and fills them in automatically for you. So view the source of the page or use a browser debugger to look at an image and it should have ALT=”something” and TITLE=”something”
To use the patch above go to the Pastie link and click the raw button, copy it and us that to replace the contents of seo-friendly-images with it.
I did notice I forgot to delete the print_r($status); on line 242, so you should remove that. Basically I fixed all the errors that the plugin spits out when you turn on WP_DEBUG in wp-config.php.