Jump to content


Welcome to the forum:

Welcome to the iThemes, PluginBuddy and WebDesign.com forum. We've created several tutorial video's to help you get you started with using the forum, please check them out!

Also take note of the forum guidelines.


Support hours:

Our moderators actively respond to forum support requests during normal business hours which are Monday-Friday, 8am - 5pm Central Standard Time, typically within one business day. Although some moderators choose to work during the weekends, we can not guarantee immediate attention to your requests. Thanks for understanding.

What is included with support:

Premium support includes theme/plugin issues such as: bugs encountered under normal operation, how to use basic features, basic WordPress help, and basic help with customization (meaning we point you to resources and will help in more depth as time allows). More information.

Support during Holidays:

During the Holidays (Dec. 22 - Jan. 2) our support staff will spend well-deserved time with their families and loved ones.

We can not guarantee the same level of support that you are used to.

Moderators will check in on the support forum, but response times may be longer than expected.


Your iThemes support team wishes you happy holidays!

resolved

Remove Social Shares.



2 replies to this topic

#1 tblocke

tblocke

    Member

  • Members
  • Others: All Plugins
  • PipPip
  • 16 posts

Posted 04 June 2014 - 02:16 PM

My client uses Digg Digg for social share counts on her site.  By using Worpress pages for Exchange, I was able to place code on the page to disable the plugin on those user-defined Exchange pages.  The only exception is the Product pages, which is Exchange-only.  Example is below.

http://thegiftofwriting.com/product/journaling-creative-growth/

Is there a way to disable the plugin on the product pages as well?

#2 Ronald

Ronald

    Forum Admin

  • Administrators
  • Others: All Plugins, All Themes, Moderators, Webdesign
  • 31,388 posts

Posted 04 June 2014 - 03:39 PM

Hi,

based on: http://www.eugenoprea.com/code-snippets/exclude-diggdigg-from-specific-pages/

Can you try adding the following code at the end of your child themes functions.php file (but before the closing ?>, if any)

// Exclude DiggDigg from specific pages
function my_exclude_digg_digg() {
	
	if ( it_exchange_is_page( 'product' ) ) {
		remove_filter('the_excerpt', 'dd_hook_wp_content');
		remove_filter('the_content', 'dd_hook_wp_content');
	}
}
add_action('template_redirect', 'my_exclude_digg_digg');

Ronald

Join the iThemes Builder Community on Google+.



To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. Please also read the forum guidelines.



When asking your question/posting your request on the forum, please be as concise and specific as possible. The shorter your request, the more to the point, the more specific, the easier it will be for us to try and help out.


#3 tblocke

tblocke

    Member

  • Members
  • Others: All Plugins
  • PipPip
  • 16 posts

Posted 04 June 2014 - 05:01 PM

That did the trick...thanks very much!



Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Exchange ecommerce plugin forum.


  



Also tagged with one or more of these keywords: resolved

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users