Support » Theme: Admiral » Page Template

  • Resolved worels

    (@worels)



    Hi
    I’m trying to create a page-template, that is pretty similar like the Standardtemplate (split sidebars right end left ..), with just a few changes.
    So I created the template file with the correct header and copied the code from the page.php to have a base for my changes …
    When I assgin the template to a page, it looks completely different (no split sidebars .. etc.).
    I assume, that is, because somehow the information abot columns etc. gets lost, but how do I solve this ?
    (I hope, my english is good enough to make this clear 😉 )
    Brgds
    worels

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    Thanks for using Admiral.

    You have to make sure that you do not modificate the HTML structure of the page template, then the columns should still work fine if you copy page.php

    That means the page.php should mainly stay the same and you just edit the content, which is loaded with get_template_part( ‘template-parts/content’, ‘page’ );

    You can load a different template part here for your page template, but keep the overall structure of page.php.

    Best,
    Thomas

    Sorry, but your answer is way to late …
    Do you really think, someone would need any answer months later ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.