Jump to content
Sign in to follow this  
gustavuswyche

PlatformBase: template.override.php

Recommended Posts

gustavuswyche

Hello, (http://www.uli75.org) I'm not a PHP expert by any means. I am trying to figure out how to add the text "follow Us" above the three social icons in the header. Normally I would edit the header.php file in other themes, but i guess I have to create a template.header.php file to change it in platform. Where can I find the default header.php for platform so that I have a guide to work from?

Share this post


Link to post
Share on other sites
Rob
First, do you have platformbase activated? It's always a best practice to turn to the docs and read rather than guess as even a best guess can be an accident waiting to happen. Please read this section and watch the video. I did at least 5 times before doing what it says about adding a hook. That's what you need to do. In Platformbase (yourwebsite/wp-content/themes/platformbase) you edit functions.php and add the desired text as a hook above the social icons. This is the best practice for such a reasonable change to the site. Another method which is also pretty easy is to create a header image that goes full width of the canvas and includes a graphic saying "Follow Us" spaced above the social icons. Since that would layer below the icons, they'd show up. It might also be more attractive and stylish.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
michaeljohnprice
The header.php file is located directly in the platformpro folder and it's named "header.php". If you've already uploaded to the web, follow this path: wordpress/wp-content/theme/platformpro/header.php. It contains the following code: [code] and top graphical markup (including Navigation) for each page in your theme. You can control what shows up where using WordPress and PageLines PHP conditionals This theme copyright (C) 2008-2010 PageLines */ pagelines_register_hook('pagelines_before_html'); // Hook ?> > >
[/code]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×