WordPress.org

Ready to get started?Download WordPress

Forums

CevherShare
Share Box on Custom Posts (3 posts)

  1. sbeck91
    Member
    Posted 2 years ago #

    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: http://rocpaperscissors.com/products-page/romance/
    Product Page: http://rocpaperscissors.com/products-page/romance/owl-be-here-for-you/
    All Products Page: http://rocpaperscissors.com/products-page/

    Thanks,
    Scott

    http://wordpress.org/extend/plugins/cevhershare/

  2. Justin Sainton
    Member
    Posted 2 years ago #

    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.

  3. sbeck91
    Member
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic