Jump to content


Photo
- - - - -

Where are the sections php files?

sections filtering function.php

  • Please log in to reply
2 replies to this topic

#1 caspersjan

caspersjan

    Super Member

  • Members

  • 156 posts
  • Country: Country Flag

Posted 16 July 2013 - 08:56 PM

Dear Pagelines team, I am trying to change info in post metabars on the Filtering section post loop page. I can determine the metabar contents in the global settings (Site Options - Blog and Post - Full Width Post Meta/Clip Metabar). But Filtering section apparently overrides the global settings - it only allows Date and Author or nothing in the metabar. I'd like to look at the section's function.php - if it has such - to see if something can be done about this. But I can't find them. I can find php files for the theme and for the plugins, but not for sections. Where should I look? Thank you for your help - and patience. I am still finding my feet in the land of code. Yours faithfully, Jan.



#2 tsalstrand

tsalstrand

    Super Member

  • Members

  • 243 posts
  • Framework Version:latest
  • Country: Country Flag

Posted 16 July 2013 - 09:35 PM

@

Please Login or Register to see this Hidden Content

, the core code can be found in wp-content>themes>pagelines>sections from there choose your section and you'll see the functions.php file.

However, if you are using the child theme (best option), you'll want to add your changes to the child theme's function.php file to protect against upgrades.



#3 Rob

Rob

    One Smart Egg

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

Posted 16 July 2013 - 11:49 PM

@

Please Login or Register to see this Hidden Content

, Hi. 

If you FTP into your site, you'll find at wp-content/themes/pagelines/sections, all the core sections.

 

Download the section folder you want to modify.   Open the folder and edit section.php.

 

Install the Base Theme via our Store.  Then, navigate via FTP to wp-content/themes/pagelines-template-theme/sections  and upload the folder.

 

Browse to Dashboard > Appearance > Themes and activate the Base Theme.  You may have to go to Appearance > Menus and select the Theme Location again for your primary and other menus.

 

That should help you.  There is no functions.php file for each section.  If you want to edit functions.php, you can either use the functions.php in the Base Theme or install and use the functions.php in the PageLines Customize plugin.  You can find more about this here:

Please Login or Register to see this Hidden Content

and

Please Login or Register to see this Hidden Content







Also tagged with one or more of these keywords: sections, filtering, function.php