Click me
Transcribed

WordPress: Anatomy of a theme

WWORDPRESS THE ANATOMY OF A THEME header.php get header(): displays document header and navigation menus the loop the loop is the heart of wordpress, and it resides in the theme's template files index.php display list of post in excerpt of full-length form single.php sidebar.php display post title and content, categories and post tags get sidebar); display widgets page.php display page title and content, comments and metadata archive.php display archives: tag, category, date-based or author based footer.php 9get footer); display footer just before closing the body tag Query Posts or Page Start loop Everything between this and the endwhile gets repeated until all posts are output Endwhile the_title Start loop over all Exit or exit if queried posts have been output outputs the title of the post the loop the_date the excerpt outputs the post date outputs the post excerpt the_author the content outputs the post content outputs the post author the_category outputs the post categories style.css functions.php comments.php comments template theme styles theme functions graphicmedia comunicazione creativa www.graphicmedia.it sources: yoast.com | wp.tutsplus.com | codex.wordpress.org

WordPress: Anatomy of a theme

shared by DAlessandro on Sep 01
1,581 views
2 shares
0 comments
The choice of theme is certainly the most important and delicate moment when you must create a site the web. Many times we rely on a Template (template), but not always able to satisfy completely our ...

Source

Unknown. Add a source

Category

Computers
Did you work on this visual? Claim credit!

Get a Quote

Embed Code

For hosted site:

Click the code to copy

For wordpress.com:

Click the code to copy
Customize size