Jump to content
Sign in to follow this  
caspersjan

Where are the sections php files?

Recommended Posts

caspersjan    13
caspersjan

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.

Share this post


Link to post
Share on other sites
tsalstrand    8
tsalstrand

caspersjan, 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.

Share this post


Link to post
Share on other sites
Rob    547
Rob

caspersjan, 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: http://support.pagelines.me/docs/plugins/pagelines-customization/

and http://support.pagelines.me/docs/customization/customization-methods/


Former PageLines Moderator, Food Expert and Raconteur

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  

  • Similar Content

    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
    • yemoonyah
      By yemoonyah+
      Hi,
      I tried to make a simple change on my opt-in page today by reordering two sections.
      Now they won't save and whatever I do, the same 2 section will be stuck to the top.
      This is a huge problem since it is my opt-in page!
      http://yemoonyah.com/quiz
      (I'm on the latest WP & PL version)
      Thanks.
       
    • Anthony King
      By Anthony King+
      I have to say that I like the Layout and the Template based sections. Some of them are really impressive.
      One of the things that I would like to request though is the possibility of being able to dynamically rearrange the layout.
      An example of what I am talking about is take the Agency Section. It's current layout starts with the
      Splash Module then the Portfolio Module then the Service Module and so on and so forth.
      What would be great is if we were able to move these modules around. I.e have the Service Module first
      then maybe the Splash, and then the portfolio.
       
    • nandorj78
      By nandorj78+
      This discussion has appeared today on the Facebook User Group and we decided to have a vote to know what the users judge more important.
      Let me know which questions you want me to add to the poll.
    • chrisayers
      By chrisayers+
       
      Post Deleted...

×