Structura Html a unei teme wordpress.

Structura unei teme wordpress partea de Html nu este una complicata.Trebuie doar sa fi atent la divurile care sunt separate dupa aceea.Dar conceptul de baza este acesta.

[codesyntax lang=”php” lines=”normal” container=”div”]

<div id="page" class="hfeed site">
     <header id="masthead" class="site-header" role="banner">
          <hgroup></hgroup>
          <nav role="navigation" class="site-navigation main-navigation"></nav><!-- .site-navigation .main-navigation -->
     </header><!-- #masthead .site-header -->
     <div id="main" class="site-main">
          <div id="primary" class="content-area">
               <div id="content" class="site-content">
               </div><!-- #content .site-content --></div>
          <!-- #primary .content-area -->
          <div id="secondary" class="widget-area">
          </div><!-- #secondary .widget-area -->
          <div id="tertiary" class="widget-area">
          </div><!-- #tertiary .widget-area --></div>
     <!-- #main .site-main -->
     <footer id="colophon" class="site-footer" role="contentinfo">
          <div class="site-info">
          </div><!-- .site-info -->
     </footer><!-- #colophon .site-footer -->
</div> <!-- #page .hfeed .site -->

[/codesyntax]

html visual1

Restul de structura a fisierelor poate fi o varianta ca aceasta:

inc (folder)
js (folder)
languages (folder)
layouts (folder)
404.php
archive.php
comments.php
content.php
content-aside.php
content-page.php
content-single.php
footer.php
functions.php
header.php
index.php
no-results.php
page.php
search.php
searchform.php
sidebar.php
single.php
license.txt
rtl.css
style.css

Lasă un răspuns

Adresa ta de email nu va fi publicată.

Alte articole din aceiasi categorie