Jump to content
Sign in to follow this  
caspersjan

Where are the sections php files?

Recommended Posts

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

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

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

    • stijnxo
      By stijnxo+
      The Filtering of categories in the Masonic Gallery refreshes back to ALL categories when the DMS Revslider loads a new image?
      Anybody any idea? See Artists Category refreshes back to ALL when the DMS Revslider with images on the top loads a news image on http://www.18hrsfestival.nl/
    • yemoonyah
      By yemoonyah+
      Hi, even though I just got a SSL certificate, I can't get the green padlock to appear due to the following error:
      :A file with an insecure url of "http://yemoonyah.com/wp-content/plugins/pl-section-boxes/check.svg" was loaded via the javascript file: https://yemoonyah.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 on line 3. The insecure URL may not be directly contained in the script file and may exist elsewhere."
      I figured if I delete and re-install the plugin it might fix the problem but will my boxes on the website still be there? Or do I have to redesign everything all over again if I delete the plugin and then re-install it?
    • cstudio
      By cstudio
      Hello,
      I need some help!  I am trying to add a Square booking script.  When I add it to a embed section it crashes the page editor and I am unable to save the page version.  I have tried using different browsers with the same result.
       I can add the script on the backend in the word press content area and get it to show and work, but it look terrible.  A page with in a page.  http://www.zoeanastacia.com/booking/.
      I need help getting the page editor to work properly or to make the wp content section to not look like an 90's iframe.
      Thanks
    • 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.
       
×