Support » Plugin: Category Shortcode » Combining Category Shortcode with SexyBookmarks

  • Hi folks,

    I have edited the Category Shortcode plugin category_shortcode.php to add a manual code of Shareaholic’s SexyBookmarks. But it does not seem to work as expected. How do we insert any working social plugin to the code such that the posts pulled out from the category has the plugin code?

    At the moment the posts in my index page are manually inserted with SexyBookmarks so the posts which are pulled out from the various category should also have the same SexyBookmarks. Unfortunately it appears only at the top of the page, not at the end of each post.

    Here’s the edited code (extract):

    $rdscf_output.='<div class=csc_post_content>' . $rdcsc_content . '</div>';
    $rdscf_output.= selfserv_shareaholic() . '<div class=csc_break></div>';
    $rdscf_output.='<div class=csc_break></div>';
    $rdscf_output.='</div>';
    endforeach;

    By the way, if I use the automatic below content menu placement for SexyBookmarks, it inserts twice when I use “Posts, Pages, & Index”. I suppose it happens because the first time is for the page, the 2nd time is for each post.

    Thanks in advance!

    http://wordpress.org/extend/plugins/category-shortcode-w-generator/

  • The topic ‘Combining Category Shortcode with SexyBookmarks’ is closed to new replies.