Ready to get started?Download WordPress


How themes work (4 posts)

  1. fs_tigre
    Posted 4 years ago #


    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?


  2. kennethwatt
    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
    Posted 4 years ago #

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

  4. kennethwatt
    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


No tags yet.