• Hello, Im a bit stuck on a normally simple task. I’m trying to create a new template using the Roots Theme. https://www.rootstheme.com/

    It was just recently updated and utilizes a new base.php (theme wrapper) structure to display all the available template parts.

    Has anyone used this and know how I go about creating a separate template that will utilize a new header file for specific pages?

    [please don’t bump – allow more time to get a reply]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Really curious about this myself — i’ve been able to make something work by including a conditional in base.php where the header is called (using functions like is_post_type_archive(), etc) and then calling a different header file based on the result (with get_template_part()) but that *can’t* be the best way to go about things.

    This is the only stumbling block I’m having with the new Roots theme, and I’m sure others have been tripped up. I’d love to hear some experienced voice weigh in on this question.

    Found a discussion about this topic out on Google Groups, with some great info — hopefully this helps!

    https://groups.google.com/forum/?fromgroups=#!topic/roots-theme/1geaY2JZF00

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Roots Theme – Help Creating Templates’ is closed to new replies.