Archived

This topic is now archived and is closed to further replies.

  • 0

PHP codes for Social Icons


Question

Posted · Report post

I want to insert the social icons into the fixed-navbar using a hook. But instead of inserting a series of images linked to the social networks I need to copy the PHP codes used by Pagelines and paste them into my new hook instead of using manual html. That way whatever set in the admin setting page for the social networks shows up in the fixed navbar.

 

Where can I find the PHP codes for the social icons?

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi Sourena,

 

FTP to your site.  Navigate to wp-content/themes/pagelines/sections.  Find the Branding folder. Download the entire folder to your desktop.

 

You'll find the info you need in section.php. 

 

Please note: Do not edit these files as they are core and may disrupt your site.  Changes to core files are not supported.

 

If you wish to clone it in a modified way, there's a process for that found in http://support.pagelines.me/docs.

 

Hooks are generally used for modifying or adding social media icons.

Share this post


Link to post
Share on other sites