coppaj
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: problem conflic using jquery codeYou don’t need to include jQuery here.
Use this chunk of code instead – and put it in the main plugin file since you’re modifying it anyways. That way if you disable the plugin, you won’t be loading this javascript in your theme.
function custom_scripts() { wp_enqueue_script( 'tablesorter', plugins_url( 'jquery.tablesorter.min.js', __FILE__ ), array('jquery') ); } add_action('init', 'custom_scripts');Let us know how it goes.
Forum: Fixing WordPress
In reply to: Two sets of share buttons … how do I remove one of them?Hi Jennifer,
The second set of buttons is built into your theme. In your theme settings, you can turn off the second set of social sharing buttons by unchecking each of the social networks in the “Single Posts” Social Bookmarks section. To find this, go to “Appearance” -> Theme Options and it’ll be towards the bottom of that page.
Best,
JohnForum: Fixing WordPress
In reply to: problem conflic using jquery code+1 on Ian’s recommendation to contact the plugin author.
Forum: Fixing WordPress
In reply to: problem conflic using jquery codeHi mrbizu,
To clarify, are you trying add a new jQuery plugin, and using the code above to insert the jQuery library? If so, you shouldn’t have to include jquery again as it’s already included properly in the theme. If you want to include another javascript file, use the wp_enqueue_script function.
Hope that helps!
Forum: Plugins
In reply to: [OptionTree] WordPress image resizing in option treeDerek – thanks for supporting the plugin so well. I needed this exact functionality and am glad to have found this post.
Zach – glad you were inquiring on this point!