Wordpress-help-sheet

  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Wordpress-help-sheet as PDF for free.

More details

  • Words: 486
  • Pages: 1
liquidicity

WordPress Help Sheet. Basic Template Files

style.css index.php single.php archive.php searchform.php search.php 404.php comments.php footer.php header.php sidebar.php page.php

Style sheet file Home page file Single post page file Archive/category file Search form file Search content file Error page file Comments template file Footer content file Header content file Sidebar content file Single page file

PHP Snippets for Header

Title of the site Title of the specific post or page The style.css file's location Pingback URL for the site Location for the site’s theme files WordPress version for the site Atom URL for the site RSS2 URL for the site Exact URL for the site Name of the site HTML version of the site Charset parameter of the site

PHP Snippets for Templates

1

Replace x with file name

2

Content of the posts Checks if there are posts Shows posts if posts are available Closes the 'while' PHP function Closes the 'if' PHP function Header.php file's content Sidebar.php file's content Footer.php file's content The date in '08-18-07' format Link for the comments on the post Title of a specific post or page Url of a specific post or page Category of a specific post or page Author of a specific post or page ID of a specific post or page Link to edit a specific post or page Links from the blogroll Comment.php file’s content List of pages of the List of categories for the site Url to the next post Url to the previous post The built-in calendar List of archives for the site Next and previous post link Site’s description

/%postname%/ header.php Custom permalinks

sidebar.php

Lists

Extra Stuff

Include any file 1 index.php Value for search form Prints out message Displays the register link Displays the login/logout link 2 Divides the content into pages Cuts off the content and adds a link to the rest of the content Meta for administrators Time to load the page Queries to load the page

Only for registered useres

© 2007 Go Squared Ltd. & WPCandy