Click me
Transcribed

WordPress theme anatomy

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 theme anatomy

shared by VisualGraphic on Sep 16
481 views
0 shares
0 comments
A WordPress theme consists of a folder that contains the template file. The two files absolutely , needed are index.php and style.css.

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