wordpress cheat sheet
DESCRIPTION
List of some of the most needed wordpress functions.TRANSCRIPT
-
5/28/2018 Wordpress Cheat Sheet
1/1
Cheat Sheet
Theme Structureheader.php ...................... Header Section
index.php ......................... Main Section
sidebar.php .................... Sidebar Section
single.php ....................... Post Template
page.php ......................... Page Template
comments.php .................. Comment Templatesearch.php ...................... Search Content
searchform.php ............ Search Form Template
archive.php ................... Archive Template
functions.php ................ Special Functions
404.php .................... Error Page template
style.css .......................... Style Sheet
BlogInfo Tags ........................... T
........................ T
..........The descrip
...................... The add
........................ ............. The URL
....................
The URL for the tem
............. URL for WordPr
....Version of the WordPr
............... HTML ver
Author
Description: Complet
BlogInfo Tagsis_home() ....................... When the user is on th
is_front_page() ...................... When the user is
is_single() .............................. When the singl
is_sticky() .................................. Check if is_page() ..................................... When a p
is_category() .............................. When a categ
Theme Definition/*
Theme Name: Wordpress
Theme URI: http://wordpress.org/
Description: Test Blog
Version: 1.6Author: Ekin Erta
Author URI: http://ekinertac.com
Tags: powerful, cheat, sheet
*/
WordPress Template Tags ..................... Displays the posts/pages title
............ Displays the content of the post/page
....Displays the excerpt of the current post/page
.......... Displays the time of the current post/page
.....Displays the date of a post or set of post/page
............. Displays the URL for the permalink
................. Displays the category of a post
.................. Displays the author of the post
..........Displays the numeric ID of the current post
........................ Displays all the pages
........................... Displays a tag cloud
........................ Displays the categories
.......................... Displays the calendar
..........Displays a date-based archives list
...Displays Previous page and Next Page links
..................... Displays Newer Posts link
.................... Displays previous link
........Displays the edit link
................Value for search form
................Displays the register link
..............Displays the log in/out link
....................... Meta for administrators
.....................Time to load the page
...... Displays the custom field1
...........Display links from Blogroll
..........Displays the built-in calendar
.......Link of the posts comments
The Loop
// The Stuff... Custom HTML & PHP Code
The Category Based Loop
// The Stuff... Custom HTML & PHP Code
Template Include Tags< ?php get_header(); ?>
< ?php get_sidebar(); ?>
< ?php get_footer(); ?>
< ?php comments_template(); ?>
Navigation MenuCategory Based Navigation