Jump to content

Archived

This topic is now archived and is closed to further replies.

bcash

Custom Category Headers

Recommended Posts

bcash

I am attempting to get customized header images on 5 different blog categories within the same install. I've seen several workarounds (none of which adequately solve my problem) and am considering some alternatives.

 

For a non-Pagelines site, this code makes sense to show different images on different categories:

 

<code>

<?

if (is_home()){
<img src="welcome.jpg">
}

if(is_category('Travels')){
echo '<img src="travels.jpg">';
}
if(is_category('Musings')){
echo '<img src="musings.jpg">';
}
if(is_category('Lunch')){
echo '<img src="lunch.jpg">';
}
?></code>

 

However, I'm not certain Pagelines gives me that functionality or doesn't have it hidden deep inside something.

 

Some pointers about which section(s)? to start editing? 

 

Do I just need to give up on Pagelines and get a regular theme and customize from there?

 

 

Share this post


Link to post
Share on other sites

  • 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 !

    • Jared Smith
      By Jared Smith+
      I haven't figured out how to get the "Sync Loaded Item" option in templates menu of Platform 5 to stay checked. It doesn't give me an option to save settings when I select it, and when I select it then click off the editor, it unselects. Also if I select it before loading a template, it doesn't stay checked there either.  Whats going on?
    • 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!
    • Queue-it
      By Queue-it+
      Hi,
      I created a Pagelines template for a "Post type" post. Whenever creating a new post page it firstly display that template post and I have to manually change it in the scope from "All of type posts " to "Current page". 
      Is there a way to fix that? 
       
       

×