Jump to content


Photo
- - - - -

PHP codes for Social Icons

social icons

  • Please log in to reply
1 reply to this topic

#1 Sourena

Sourena

    Advocate

  • Members

  • 563 posts
  • LocationWilliamstown, MA
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 20 June 2013 - 01:35 AM

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?



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 20 June 2013 - 12:59 PM

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

Please Login or Register to see this Hidden Content

.

 

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







Also tagged with one or more of these keywords: social icons