9718-729-491
info@tutspoints.com

WordPress-developer-help

WordPress Cheat Sheet

In the event that you wish to download the WordPress cheat sheet specifically into your PC, download this pdf. document.

This WordPress Cheat She

/**
 * <?php echo "Hello World"; ?> 
 */

et ought to be sufficient to kick you off creating or tweaking WordPress topics.

If you wish to download the WordPress cheat sheet directly into your computer, download this pdf. file.

This WordPress Cheat Sheet should be enough to get you started developing or tweaking WordPress themes.

Basic Template Files 
style.cssStyle sheet file
index.phpHome Page file
single.phpSingle post page file
archive.phpArchive or Category file
searchform.phpSearch form file
search.phpSearch content file
404.phpError page file
comments.phpComments template file
footer.phpFooter content file
header.phpHeader content file
sidebar.phpSidebar content file
page.phpSingle page file

PHP Snippets for Header 
bloginfo('name');
Title of the site
wp_title();
Title of the specific post or page
get_stylesheet_directory_uri();
The style.css file’s location
bloginfo('pingback_url');
Pingback URL for this site
bloginfo('template_url');
Location for the site’s theme files
bloginfo('version');
WordPress version for the site
bloginfo('atom_url');
Atom URL for the site
bloginfo('rss2_url');
RSS2 URL for the site
get_site_url();
Exact URL for the site
bloginfo('name');
Name of the site
bloginfo('html_type');
HTML version of the site
bloginfo('charset');
Charset parameter of the site

PHP Snippets for Templates 
the_content();
Content of the posts
if(have_posts()):
Check if there are posts
while(have_posts()): the_post();
Shows posts if posts are available
endwhile;
Closes the ‘while’ PHP function
endif;
Closes the ‘if’ PHP function
get_header();
Header.php file’s content
get_sidebar();
Sidebar.php file’s content
get_footer();
Footer.php file’s content
the_time('m-d-y');
The date in ’08-18-07′ format
comments_popup_link();
Link for the comments on the post
the_title()';
Title of a specific post or page
the_permalink();
URL of a specific post or page
the_category();
Categor of a specific post or page
the_author();
Author of a specific post or page
the_ID();
ID of a specific post or page
edit_post_link();
Link to edit a specific post or page
get_links_list();
Links from the blogroll
comments_template();
Comment PHP file’s content
wp_list_pages();
List of pages of the site
wp_list_cats();
List of categories for the site
next_post_link('%link');
URL to the next post
previoust_post_link('%link');
URL to the previoust post
get_calendar()'
The built-in calendar
wp_get_archives();
List of archives for the site
posts_nav_link();
Next and previous post links
bloginfo('description');
Site’s description
Extra stuff 
/%postname%/
Custom permalinks
include(TEMPATEPATH . '/x');
Include any file
the_search_query();
Value for search form
_e('Message');
Prints out message
wp_register();
Displays the register link
wp_loginout();
Displas the login/logout link
<!--next page-->
Divides the content into pages
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-wp-more="more" data-wp-more-text="" class="wp-more-tag mce-wp-more" alt="" title="Read more..." data-mce-resize="false" data-mce-placeholder="1" />
Cuts off the content and adds a read more link
wp_meta();
Meta for administrators
timer_stop(1);
Time to load the page
echo get_num_queries();
Queries to load the page

This chart is mainly for web designers and developers who use WordPress. But you can use this sheet to improve your skill and learn some of the basics. It’s pretty handy and comes useful when you are trying to tweak/edit your WordPress blog.

As an Average Joe, you don’t need to know about all those things. By the way, have you started a blog already?

Update:

Some people requested a .jpg version of this table, here you go: