WordPress.org

Ready to get started?Download WordPress

Forums

Problem in Social Media Add on Buttons in WP-Premium Theme (2 posts)

  1. maverick12210
    Member
    Posted 4 years ago #

    Hi members

    I have installed the free wp-remix theme by r.bhavesh on my website http://www.techiewhizkid.com/

    Though i am still using sociable plugin for my website to enable the visitors to submit links to popular social media sites but the theme also provided default social media submit buttons beneath each post to sites like Digg, Technorati, Delicious & Reddit.

    My Questions is if use the the button as provided by the theme to submit the site page to sites like digg or delicious or reddit i am getting this url in all the 3 sites & i am unable to submit properly

    http://digg.com/submit?phase=2&url=xURIx
    http://www.stumbleupon.com/submit?url=xURIx&title=xTITLEx
    http://reddit.com/submit?url=xURIx;title=xTITLEx

    How can i correct the above url & make it link to the actual post url

    & add how do i add twitter to the above list as seen in the official demo at http://www.cssace.com/demo/

    Awaiting your response

    Thanks

    Maverick_12210

  2. 8thheaven
    Member
    Posted 4 years ago #

    The social bookmarking buttons work from the archives so I copied and pasted the code.

    <ul class="social">
        	<li class="i_digg" ><a href="http://digg.com/submit?phase=2&url=<?php the_permalink() ?>">  Digg</a></li>
            <li class="i_stumb" ><a href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>;title=<?php the_title(); ?>">Stumbleupon   </a></li>
            <li class="i_del" ><a href="http://del.icio.us/post?url=<?php the_permalink() ?>;title=x<?php the_title(); ?>">Del.icio.us</a></li>
            <li class="i_reddit" ><a href="http://reddit.com/submit?url=<?php the_permalink() ?>;title=<?php the_title(); ?>">Reddit </a></li>
            <li class="i_technorati" ><a href="http://technorati.com/faves?add=<?php the_permalink() ?>" title="Add to Technorati Favorites"> Technorati</a></li>
        </ul> <!-- social bookmark section-->

    paste this over the equivalent sections in index.php and in single.php

    Just figured this out and now the buttons work on my new site: http://www.newbiesnichemarketingsite.com

    You need to add the Twitter Tools plugin from alex king and enter your twitter details for the Twitter section to work.

Topic Closed

This topic has been closed to new replies.

About this Topic