Jump to content

base child theme configuration question: impacting main theme header navigation

Recommended Posts


I understand that the Base child theme is for developers to create new child themes, and that you recommend non-developers to use the Pagelines Customize Plug-in.


I am a non-developer, and I have the customize plug-in.


My current challenge is that I want the PostNav to only show posts that are within the same category, and for that I need to edit section.php inside the postnav section folder of pagelines.


Since I don't want to loose my edits with each of your next updates, I figured that installing the base child theme and copying my modified section.php file there was the best thing to do.


This is working, but creating another problem: the base child theme is now messing up my header by showing a brandnav menu with a link to all my pages (not posts).


How/where can I tweak this configuration? The base child theme should not impact / interfere at all with the header and navigation menu of the main theme.


Thank you.

Share this post

Link to post
Share on other sites



First, in the Base Theme, did you create a folder named Sections? Then copy the PostNav section there and edit the section.php in that location?


Second, if you go to Dashboard > Appearance > Menus, under Theme Locations you'll see BrandNav listed. There's a drop down list. Is your normal saved menu listed there?  Make sure you have your normal saved menu added to the Theme Location for BrandNav or you'll get a default menu.


Third, on the right side of that, do you see Automatically add new top-level pages checked?  If so, uncheck it. Save the menu.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites



That did it. It is now all fixed.

Thank you!

Share this post

Link to post
Share on other sites

One more question though on the topic of Base child theme vs Pagelines Customize Plug-in.

Is the plugin redundant if I now use the base child theme?

If so, where would I copy its functions.php in the base child theme?

Share this post

Link to post
Share on other sites

Not really.  I prefer using the Customize plugin for things like hooks (changes to functions.php), because it's global. In other words, if I want to make a permanent hook, I'd add it there. Then, no matter which child theme I use, the hook or function will remain normal.

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

  • Similar Content

    • Paul
      By Paul+
      I was surprised to see I had no menu today - out of the blue - its actually moved to the bottom of the page!  After hours of fiddling and disabling every single plugin, leaving just plagelines the issue is still present.  See video for a basic text box - I moved it into the head and it jumps to the bottom and shows just above the footer but below the main content.  I have a temp fix by placing the menu into the first row on the main content but it does mean other than my home page, all other pages have no menu.  A quick fix is very urgent for this bug.
    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      Thank you in advance !

    • flourishdesignstudio
      By flourishdesignstudio+
      I have an older site that was built using PageLines several years ago (prior to the release of DMS). I wanted to leverage some of the power of your new PL5 plugin but the theme prevents be from adding any generated custom sidebars to the theme (through the drag and drop interface) and does not allow me to add any PL5 sections/containers/etc to the header or footer. Is there any way to easily override that or am I stuck only using PL5 in the content areas of the site?
      Thanks so much for the help!
    • JP
      By JP+
      How can you set the translations with platform5, the parts that are not in pages or posts? Texts and images…
    • romanondrasek
      By romanondrasek+
      hi all, I have some trouble using PL5 on my site. 
      I used plugins for event calendar (event on) and plugin (timetable responsive scheduler for WP) for schedule (classes) in the gym.
      The problem is, that post from this 2 plugins are shown without menu in header and footer. (I setup header and footer) in the page editor for all type of page. 
      When I create a lesson, it creates posts with slug (I have a slug "lekce" & event for events).
      I try to edit the post with PL editor, but editor is not opening on the post.

      Do you have some idea where should be some problem? Thanx so much.
      here are links for the sites :
      site with schedule :
      site of one of the class (pilates)
      site with calendar :
      7 side with one event from the calendar :
      when I have my site on DMS2 it was working :-(