Home / Forums / DynamiX Support / Social Icons

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts

  • alevy
    Participant

    Hi,

    I was wondering how I would like the social icons to the actual social networking page of my company, instead of the home page of the networking company?

    I have the php coding  and I changed the delicious icon to linkin seeing as I didn't need it. Could you please see below and tell me how to fix the coding?

       <ul>

           <?php if($DYN_sociallinked!="yes") { ?><li class="social-linked"><a href="http:///www.linkedin.com/company/154272 <?php the_permalink() ?>&amp;title=<?php the_title() ?>" title="<?php echo GEN_TERM_O1; ?> linked" target="_blank"><img src="<?php bloginfo("template_url"); ?>/images/blank.gif" width="31" height="31" alt="linked" /></a></li><?php } ?> 

     

            <?php if($DYN_socialdigg!="yes") { ?><li class="social-digg"><a href="http://www.digg.com/submit?phase=2&amp;url=&lt;?php the_permalink() ?>&amp;title=<?php the_title() ?>" title="<?php echo GEN_TERM_O1; ?> Digg" target="_blank"><img src="<?php bloginfo("template_url"); ?>/images/blank.gif" width="31" height="31" alt="Digg" /></a></li><?php } ?>  

            <?php if($DYN_socialtwitter!="yes") { ?><li class="social-twitter"><a href="http://twitter.com/home?status=Reading: <?php the_title(); ?> <?php the_permalink() ?>" title="<?php echo GEN_TERM_O1; ?> Twitter" target="_blank"><img src="<?php bloginfo("template_url"); ?>/images/blank.gif" width="31" height="31" alt="Twitter" /></a></li><?php } ?>  

            <?php if($DYN_socialfb!="yes") { ?><li class="social-facebook"><a href="http://www.facebook.com/sharer.php?u=&lt;?php echo get_permalink(); ?>&amp;t=<?php echo  the_title(); ?>" title="<?php echo GEN_TERM_O1; ?> Facebook" target="_blank"><img src="<?php bloginfo("template_url"); ?>/images/blank.gif" width="31" height="31" alt="Facebook" /></a></li><?php } ?>

            <?php if($DYN_socialrss!="yes") { ?><li class="social-rss"><a href="feed://&lt;?php echo get_permalink(); ?>feed/rss/" title="RSS" target="_blank"><img src="<?php bloginfo("template_url"); ?>/images/blank.gif" width="31" height="31" alt="RSS" /></a></li><?php } ?>  

                                    </ul>

    Thank you!


    alevy
    Participant

    P.S.

    These are the url's I want to link to:

    http://twitter.com/#!/Maxtontech

    http://www.linkedin.com/company/154272

    Andy
    Andy
    Keymaster

    Do you just want them linking to your page or to post the page you're viewing on the social site?

    If you just want it linking to your page just replace the href="###" to href="your url"

    Is that what you mean?


    alevy
    Participant

    Yes it is. Thank you!… so I would keep what it says right after. "<?php the_title(); ?> …."

    Sorry I know nothing about php.

    Andy
    Andy
    Keymaster

    Hi,

    You need to replace the following for twitter with your own URL. 

    http://twitter.com/home?status=Reading: <?php the_title(); ?> <?php the_permalink() ?>

    Hope that helps


    moleslas
    Participant

    I’d like to link the facebook icon to my facebook page? Could you let me know how to do this? I’d really appreciate, and I really like this theme, very handy. Thank you

    Andy
    Andy
    Keymaster

    Hi,

     

    You will have to modify the following file, but this will change it globally – DynamiX/lib/inc/social-icons.php and change this line

     

    http://www.facebook.com/sharer.php?u=&lt;?php echo get_permalink(); ?>&amp;t=<?php echo  the_title(); ?>

     

    to your facebook page link.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.