Home / Forums / ePix Support / Add a new Social Media Icon for 500px

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jimolina
    jimolina
    Participant

    Hi

    I want to add my 500px account into the Social Media element.

    Example about add a new social media option for 500px account:

    https://drive.google.com/file/d/0B37LqWBz07xNbGIzMFR1cFhSd0U/view?usp=sharing

    jimolina
    jimolina
    Participant

    Hi @jimolina

    There is no easy way to add social icons to the theme. You can either us a plugin to do it or you can manually use the icon fit for the social network you want.

    500px’s icon for example can incorporated to the theme using this icon : http://fontawesome.io/icon/500px/

    Thanks!

    jimolina
    jimolina
    Participant

    Ok people, I found an “easy” way to do this:

    • Go to your WP Admin: Appearance -> Theme Options -> Customize
    • Use the last textarea: JavaScript
    • Copy and paste the code below
    • Click in ‘Save Options’
    <script type="text/javascript"> 
    jQuery(document).ready(function($){
    $('li.dock-tab.socicons.normal.YOURLASTSOCIALICON').after('<li class="dock-tab socicons normal social-500px"><a href="http://500px.com/YOUR500PXUSERNAME" title="500px" target="_blank"><i class="social-icon fa-lg fa fa-500px"></i></a></li>');
    });
    </script>

    To see an example: https://drive.google.com/open?id=0B37LqWBz07xNOEpVdm5WMDZLZ2s

    Glad to know you were able to add the icon easily and thanks for sending over the code.

    We will keep this for future reference in case another customer would want the same thing.

    Regards,

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

You must be logged in to reply to this topic.