Restore a Plugin’s Default Settings

Nevermind, answered my own question: http://www.keyframesandcode.com/resources/javascript/jQuery/demos/populate-demo.html Used that to update all the text and drop downs. Couldn’t get it to work with my checkboxes, but a few other lines of jQuery took care of those. I like the idea of just auto filling the form with the defaults, rather than submitting it right away.

Plugin to book course and pay online for it

I am not sure it will do exactly what you want, but it sure can help you to start. http://wordpress.org/extend/plugins/booking/ http://wordpress.org/extend/plugins/bookings/ http://www.checkfront.com/extend/wordpress/ and many others that you can find here or in google

How can I see the error generated by plugin activation?

If a plugin has the error output The plugin generated xxx characters of unexpected output during activation then that only means that there is some error output. Sadly WP can’t output anything more than this. Every error output sends a header (as var_dump/var_export/print_r/print/error/printf would output. In short: You won’t get any more info unless you’re … Read more

ajax front-end increment views on click

Try this: jQuery(document).ready(function($){ $(‘.external’).click(function(e){ var redirect = $(this).attr(‘href’); $.post(ajax_object.ajaxurl, {action:’inc_views’,post_id:$(this).attr(‘id’)}, function() { return true; // continue with normal anchor link behavior }); return false; }); });

Improving a Stackoverflow “inspired” badge system to display badges in author page

get_current_user_id(); gets the current logged in user id and you need the user whos profileUrl is views so try this insted to get the right id: $author = get_user_by( ‘slug’, get_query_var( ‘author_name’ ) ); echo $author->ID;’ yep, so instead of your code try this: $author = get_user_by( ‘slug’, get_query_var( ‘author_name’ ) ); if ($author->ID > … Read more

Converting Attachment to Images?

Although it shouldn’t change based on your theme, this may be an issue caused by how this new theme handles images. As of WordPress 3.5, when you add a media object such as an image, there’s a sidebar that appears on the right. Underneath the “Attachment Details” (preview, title, caption, etc.) there’s a section called … Read more