WordPress.org

Ready to get started?Download WordPress

Forums

How themes work (4 posts)

  1. fs_tigre
    Member
    Posted 4 years ago #

    Hi,

    I have been watching some videos on how to create a theme and I'm still confused, It looks like some tags need to be closed in a separate page, for instance I a div called <wrap-page> was added in the header page and it was closed in the footer page but some of them were closed in the same page, so here is where I'm confused.

    How do I know where to close the tags?

    Can some explain how themes work?

    Thanks

  2. kennethwatt
    Member
    Posted 4 years ago #

    Normally, one would open a page wrap in the header, and close it in the footer, as these all pages use the same header.php and footer.php file.

  3. fs_tigre
    Member
    Posted 4 years ago #

    So, is this the only tag that will be closed in a different page?

  4. kennethwatt
    Member
    Posted 4 years ago #

    No, but when you look at the full outcome, they all merge together to form one big page. Have a look at the source any WordPress site, e.g. http://www.technofinger.com.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.