• Hello, love the Refur theme and successfully got it running in no time (using your help in the other thread here about Featured Content). Now I would like to add additional Social Media Profiles to the upper right corner (Flickr, Vimeo, 500px, Skypixels, or even a custom link up there). Is there a good way of doing this somewhere in Theme Customisation or the like or would I have to mess with the PHP and copy/slightly modify the required lines?

    Would be great if you had an idea for me here.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi!
    Theme use the social icons from the collection of https://fortawesome.github.io/Font-Awesome/icons/. You can select the other icons there or add your own ones in case you have them.

    To replace the icons from Fortawesome.Github.io you ahve found suitable for your blog, please follow the instructions:
    1. Create the child theme of Refur and add it to your WP admin area (step-by-step guide is here in case you do it for the first time: https://codex.www.ads-software.com/Child_Themes)
    2. Add the following code to the functions.php file of your Refur child theme:

    add_filter( 'refur_allowed_socials', 'refur_child_add_socials' );
    function refur_child_add_socials( $socials ) {
        $socials['your-social'] = array(
            'label'   => 'Your social label',
            'icon'    => 'fa fa-icon-name',
            'default' => 'your account URL',
        );
    
        return $socials;
    }

    In case you have the your own icons and want to add it your theme, the procedure is quite different from the one described previously:
    1. Create the Refur child theme
    2. Add the icons to the parameter: ‘icon’
    3. Open the style.css file of your child theme and edit the CSS styles here. For example:

    add_filter( 'refur_allowed_socials', 'refur_child_add_socials' );
    function refur_child_add_socials( $socials ) {
        $socials['your-social'] = array(
            'label'   => 'Your social label',
            'icon'    => 'my-icon-name',
            'default' => 'your account URL',
        );
    
        return $socials;
    }

    and add the name of the icon without spaces in the ‘icon’ parameter

    Thread Starter imagehoppers

    (@imagehoppers)

    excellent — thanks for the fast reply and solution(s)! Will probably try out two (or even all) of them to find out which one I like best in the end.

    Anyway, great support for a great Theme!

    Hello! I love Refur too, great theme!

    I’m trying to add some extra social icons from FontAwesome into my Refur_child theme as well. I tried the code you provided and it worked perfectly for one icon, but not for more icons. How can I add more than one? I tried and the 500 error page appeared.

    I’m a beginnerat wordpress. I hope you can help me! thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How Can I Add Additional Social Media Icons/Profiles?’ is closed to new replies.