Skip to content

This is a Wordpress Tutorial for Developers Cheat Sheet that should be used by Wordpress developers as a Wordpress tutorial to get you started developing or tweaking WordPress themes.

Today, WordPress is one of the best content management systems available in market. WordPress provides simplest user interface with great functionalists. WordPress was initially started in 2003 for blogging purpose but thanks to the developers various changes were made to improve its functionality and today WordPress is best to use for simple blogging websites to high end dynamic websites.

WordPress is very simple to work even a new user can work with WordPress without any technical knowledge. WordPress is totally free to use, it is general public licensed. WordPress community provides 24/7 helps to its users.

Why to use WordPress as content management system

WordPress includes many features for providing you fabulous publishing experience. Here we are discussing various features provided by WordPress.

Wordpress Tutorial for Developers : Very easy to use

WordPress is very easy to learn and use even user doesn’t have any programming experience. You can start working with WordPress without getting any special training program.

Wordpress Tutorial for Developers : Community support

Another advance feature of WordPress is that it is fully supported by WordPress community. A complete support is provided for WordPress and WordPress is downloaded and used by thousands of users since it was introduced in 2003.

Wordpress Tutorial for Developers : Manage our site from anywhere

WordPress is a browser based CMS tool so you can use it from anywhere and easily manage your website from any location and any system.

Wordpress Tutorial for Developers: Assign multiple users for website

WordPress allow you to assign multiple users to manage your website and all these users can be assigned with different access levels.

GPL licensed

WordPress is general public licensed so you are free to use WordPress for any purpose and anywhere without any cost.

View before you publish

WordPress provides you with facility that you can preview your article before you going to publish it.

Best for search engine optimization

WordPress is best for effective optimization of search engines. You can add images with alternate tests, add videos, power point presentation and info graphic all these tools helps to improve the search engine optimization.

Installing process for WordPress   

Minimum requirements for installing WordPress

  • PHP version 5.2.4 or grater
  • MySQL version 5.0 or greater
  • Apache server

Steps for installing the WordPress manually

  • Download the WordPress installation package and unzip it.
  • Create database on server and user with full access permissions to handle the database.
  • Upload the WordPress files on server.
  • Follow general instructions during the installation process and you are ready to work with WordPress.

Grate!!!!! You are now ready to work with posts…….

Log In as admin

Now you are ready to work with your website. Just login to your website as administrator with the help of proper username and password options. This login screen is opened by just writing the “wp-admin” after your website name.

After login you will provided with the screen known as dashboard which is main canvas area for showing your creativity. You can manage your full website from this dashboard area.

Creating and publishing the posts

Most important part of dashboard is creating the posts and publishing them. You can add new posts with the options “Add New” post. First of all you have to add the title of your page and then add the contents. You should also add various Medias in post like images, ppt, and videos.

Handling the comments

WordPress provides the ability to visitors of your sites to comment their thoughts about your articles. Comments are very useful because you can directly interact with visitors of your contents. As a administrator you have full access for enabling or disabling the comments for your posts.

All comments are not good!!!!!!

Yes, it is true that not all comments on your articles are not good. Comments provide an area where visitors can links their own websites for gain wattage. You can use some tools like Akismet for protection against the spam.

Wordpress Tutorial for Developers – Basic Template Files.

Style sheet file
Home Page file
Single post page file
Archive or 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

Wordpress Tutorial for Developers – PHP Snippets for Header.

Title of the site
Title of the specific post or page
The style.css file’s location
Pingback URL for this 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

Wordpress Tutorial for Developers – PHP Snippets for Templates.

Content of the posts
Check if there are posts
while(have_posts()): the_post();
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
Categor 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 site
List of categories for the site
URL to the next post
URL to the previoust post
The built-in calendar
List of archives for the site
Next and previous post links
Site’s description

Wordpress Tutorial for Developers – Navigation menu.

Category Based Navigation
<ul id="menu">
<li <?php if(is_home()) { ?> class="current-cat" <?php } ?> >
<a href="<php bloginfo('home'); ?>">Home</a></li>
<?php wp_list_categories('title_li=&orderby=id'); ?>
Pages based Navigation
<ul id="menu">
<li <?php if(is_home()) { ?> class="current_page_item" <?php } >>>
<a href="<php bloginfo('home'); ?>">Home</a></li>
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>

Wordpress Tutorial for Developers – Extra stuff.

Custom permalinks
include(TEMPATEPATH . '/x');
Include any file
Value for search form
Prints out message
Displays the register link
Displas the login/logout link
<!--next page-->
Divides the content into pages
Cuts off the content and adds a read more link
Meta for administrators
Time to load the page
echo get_num_queries();
Queries to load the page

Wordpress Tutorial for Developers – The Loop.

<php if(have_posts()): ?>
<php while(have_posts()): the_post(); ?>
// Post content here (Custom HTML & PHP code)
<php else; ?>
<php endif; ?>

These charts are mainly for Wordpress Tutorial for Developers. But you can use these charts to learn some of the basics and improve your skill. It’s pretty handy and comes useful when you are trying to tweak/edit your WordPress blog.

As an newcomer , you don’t need to know about all these coding.

Wordpress Tutorial for Developers

Original Article.



Wordpress Tutorial for Developers