Jump to content
bobbekaer

Change Header On Posts According To Its Category?

Recommended Posts

bobbekaer

Hi :-)

 

A few days ago I got help with using features in the header - and showing it in another size than the other features on the site I'm working on: http://bedreweb.dk/boeprojektnov12/

 

(http://www.pagelines.com/forum/topic/23735-different-sizes-on-features-in-header-and-content-area/).

 

 

Now I would like to be able to show different headers/features according to which category?

 

So whenever you see a post in category xyz you see the xyz-feature in the header....

 

:-)

Bolette

 

 

Share this post


Link to post
Share on other sites
Danny

OK, what you could do is this:

 

1. Go to PageLines > Drag and Drop and clone the Features Slider section in your header template, so that you have two.

2. Now on the cloned features section, click the options button and check hide by default.

3. Now go to Page Options > Page Setup > Category Template and in the Header area of Individual Page Section Control, hide the default Feature Slider and use then check to show the one you cloned that was set to hide by default.

 

So now you have you just replaced your default Feature Slider section with the cloned one but this will only show on your category page(s).

 

Now whilst still on Page Options > Category template, click on the Features Sections settings tab and then configure your Feature settings. In the "Select Feature Post Source (Optional - Defaults to Custom Post Type)" select the Post Category option.

 

This should be work for you!


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
bobbekaer

Thank you :-)

 

But I should have been more clear; my client wants to show a special header for each of his categories (16+). Do you think there is any way around that?

Share this post


Link to post
Share on other sites
Danny

Not sure what you mean.

 

DO you mean they want a specific header image per category or a specific feature set per category page containing 16+ images ?

 

If this is the case, that is not possible (as far as I know) out of the box. Therefore, I recommend you contact one of our Pros and ask them for assistance, it may require a custom section.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
bobbekaer

Hi Danny

 

I mean a specific feature in header per category. I had a bad feeling this wasn't an easy solution :-) 

 

I will look at the Pros.

 

Thanks anyway :-)

Bolette

Share this post


Link to post
Share on other sites
Danny

No problem


Please search our forums, before posting!

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.
      https://thelaptopfixers.com
       
       
    • 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 :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • JP
      By JP+
      Hello,
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
      TIA
    • flourishdesignstudio
      By flourishdesignstudio+
      Hello,
      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+
      Hello,
      How can you set the translations with platform5, the parts that are not in pages or posts? Texts and images…
×