Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9989

    Hi there guys again.

    Another question I have is ;

    I created new page templates with different headers. It loads nicely, if I pick it in my Page Attributes–> Templates, but once I activate my other dynamic post template, the default page and header kicks in.

    Any idea how to make them work together, so I can load my diff headers via: get_header (‘about’); AND still be able to load the dynamic layout of the page I’ve created.

    Thanks a bunch!

    #66506

    Hey! you would have to modify the get_header(); in tempalte-dynamic.php

    you could for example do an if else request based on the $template_name variable. for example


    if($template_name == 'about')
    {
    get_header('about');
    }
    else
    {
    get_header();
    }

    #66507

    Love it!

    You’re so quick and I appreciate the theme+support, Kriesi!

    Thank you a bunch!

    #66508

    Hi!

    Glad I could help ;)

    Regards,

    Kriesi

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Headers and Dynamic Template’ is closed to new replies.