Author: admin

STI_wp_function

WordPress navigation menu

Displays a navigation menu create din the appearance–Menus panel. if not given a theme_location parameter, the function displays the menu matching ID,slug,or name given by the menu parameter,if that menu has atleast 1 item,...

STI_wp_function

Function File

One way to change the default behaviors of WordPress is using a file named functions.php. It goes in your Theme’s folder. The functions file behaves like a WordPress Plugin, adding features and functionality to...

STI_wp_function

Conditional Tags and The Loop

The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches. These tags...

STI_wp_function

Author tags

The_author() The author of a post can be displayed by using this Template Tag. This tag must be used within The Loop. Get_the_author() Retrieve the post author. This tag must be used within The...

STI_wp_function

Category tags

The_category() Displays a link to the category or categories a post belongs to.This tag must be used within The Loop. <?php the_category( $separator, $parents, $post_id ); ?>  Parameters $separator (optional) Text or character to display between each category link. By...

STI_wp_function

Post tags

the_title() Displays or returns the title of the current post. Parameters $before (optional) Text to place before the title. Default: None $after (optional) Text to place after the title. Default: None $echo (optional) Display...

STI_wp_function

General tags

Bloginfo() If you need the values for use in PHP , use get_bloginfo().Displays information about your site, mostly gathered from the information you supply in your User Profile and General Settings WordPress Administration Screens....

STI_wp_function

Types of Template tags

These tags are used within blog’s Templates to display content dynamically. Template tags are used within themes to retrieve content from your database. The content could be anything from a post title or any...

STI_wp_function

Introductions to Template Tags

The files of WordPress define many useful PHP functions. Some of the functions, known as Template Tags, are defined especially for use in WordPress Themes. There are also some functions related to actions and filters...

STI_wp_themes

Adding Custom page in your theme

A custom page template is a file located in your theme directory. With it, you can change the layout of a page or show different content to the standard page template (e.g. page.php). When...