Support » Plugin: CevherShare » [Plugin: CevherShare] Share Box on Custom Posts

  • So far your plugin is one of the very best I’ve seen that does what we want it to do. Just 2 things….

    What would be the best way to make the share box to appear on custom posts? Or are you planning on adding support for this in the future? Right now we’d like to have it appear on our product pages (We’re using WP e-Commerce) we’d also like to have it appear on the “category” pages as well if possible because a lot of people don’t really visit the product pages themselves, just the category pages. The strange thing about this though is that it shows up on the “view all products” page. I’m sure this has something to do with the way wp e-commerce is set up but I don’t know what to do about it. Any tips as to how to make this work would be great. I’d be fine with making the share box appear on every page no matter what, but I still don’t know what to do about that.

    Category Page:
    Product Page:
    All Products Page:


Viewing 2 replies - 1 through 2 (of 2 total)
  • Glad to hear you’re enjoying the plugin! If I understand correctly, you just need to add the ShareThis feature to every page.

    If you have the option enabled in WPEC, the code you’d want to add to any page template you want it present on (like page.php or archives.php) is the following –

    <?php if ( get_option( 'wpsc_share_this' ) == 1 ): ?>
    	<div class="st_sharethis" displayText="ShareThis"></div>
    <?php endif; ?>

    That should do the trick.

    I’m sorry I wasn’t clear… I forgot that there was an actual service called “ShareThis”. What I was really wanting to do is add the entire cevhershare scrolling sidebar to the products pages and category pages or every page if it’s easier to just do it that way.

    I tried placing this <?php cevhershare(); ?> on the single.php, page.php and archive.php (All at once and one at a time) and deactivating the auto add settings. But that didn’t work and broke another plugin on the site.

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: CevherShare] Share Box on Custom Posts’ is closed to new replies.