Okay
  Public Ticket #1464583
changes
Closed

Comments

  • Roman started the conversation

    Hi,

    1. how can i add other social icon (i see only facebook , instagram etc ) but i need to add 500px icon as i have my followers mostly on that page.

    2. Is there any chance to remove  menu on some pages? I would like to use as home page  (static image -page) with only full screen image and button enter.

    Please help

    RS


  •  1,778
    Support replied

    Hi Roman

    1. you can only add fontawesome icons as social sharing icons

    You can open /sections/social_links_section.php  and modify it to add your own

    2. sure you can send it with css. Send us the url of a page and we can use it as an example and send you the code.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Roman replied

    Hi, Thank you for quick respond.

    i was able to locate the php file via WP editor but i am not really sure what i should edit. this is the code i see:

    can you advice me where is the list of published social icons ? (facebook , instagram etc)

    than i would be able to add the line with 500PX


    <?php

    global $clapat_leg_theme_options;
    global $cpleg_social_links;

    echo '<ul class="socials">';

    for( $idx = 1; $idx <= LEGRAND_MAX_SOCIAL_LINKS; $idx++ ){
        
        $social_name = $clapat_leg_theme_options['clapat_leg_footer_social_' . $idx];
        $social_url  = $clapat_leg_theme_options['clapat_leg_footer_social_url_' . $idx];
        
        if( $social_url ){
           
            echo '<li><a href="' . esc_url( $social_url ) . '" target="_blank"><i class="fa fa-' . esc_attr( $social_name ) . '"></i></a></li>';
        }
        
    }

    echo '</ul>';
            
    ?>      




    Thank you







    2, I would like to add  analytics code to my page, in other templates i use its normally tab for it ,

    can you please advice me how to add analytics code to this theme?


    thank you




  •  1,778
    Support replied

    Hi Roman

    1. you can add a line immediately after echo '<ul class="socials">';

      echo '<li><a href="social url here" target="_blank"><img src="your social image url here" height="42" width="42"></a></li>';

    2. we recommend using a plugin for that such as

    https://en-ca.wordpress.org/plugins/google-analytics-dashboard-for-wp/

    Of course you can add your code in theme options -> General -> Space before </head>

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Roman replied

    Hi Thank you, i was able to set up the analytics using that plugin, but i am still not sure how to add the icon.

    Thank you for the tip to use the code but that actually add the icone to bottom of contact page but not in footer.


    You mentioned bellow that i can use only   font awesome icons and 500px is actually listen between them:

    in the template i have 8 options to add social icons and i need only 2 from them + 500px

    Can i somehow replace one of the social icons i am not using?

    thank u


    <i class="fab fa-500px"></i>
    
  •  1,778
    Support replied

    Roman, plz provide wp admin access in a private comment we will try to help you with the icon.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Roman replied

    Hi Guys thanx for reply , sorry i was very busy but now i would like to finish this issue.

    well before i send you the access i would like to make sere you understand what i need

    i want to list in the drop down the 500px icon  the dropdown which i mean is bellow ...

    the icon is listed in awesome fonts

    <i class="fab fa-500px"></i>

    i believe if i can just replace the awesome font icon  for *reddit (which i will never use)* all will be fine

    just not sure in which file i can find the drop down  entry below.

    thank you so much





  •  1,778
    Support replied

    Hi Roman,

    open /include/defines.php and replace line 20

    'reddit' => 'Reddit',

    with

    '500px' => '500 Pixels',

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy