Basic WordPress template file
- Tags Are Not Categories – Got It?
- Define Your Own WordPress Loop Using WP_Query
- How to write a Wordpress plugin: episode 1 – getting started
- WordPress Themes – The Best Of The Best!
- wordpress Plugins top 50
- My Widget – example WordPress widget
- To know wordpress
- Class Examples
- Welcome to ajaxtime.com !
Basic WordPress template file
A complete set of WordPress templates should be at least the following documents:
style.css: CSS (style sheet) file
index.php: Home Templates
archive.php: Archive / Category Templates
404.php: Not Found error page template
comments.php: Message / Reply Template
footer.php: Footer Template
header.php: Header templates
sidebar.php: Sidebar template
page.php: content pages (Page) templates
single.php: page content (Post) template
searchform.php: template search form
search.php: search results template
Of course, specific to a particular section of a template, might have been more than these documents, but generally speaking, these documents are necessary for each template.
Tag to determine the basic conditions for
is_home (): whether to Home
is_single (): whether the content pages (Post)
is_page (): whether the content pages (Page)
is_category (): whether the Category / Archive Page
is_tag (): whether or not to Tag Archive pages
is_date (): whether the archive page for the specified date
is_year (): whether the archive page for the specified year
is_month (): whether or not to designate the month archive page
is_day (): whether or not for a specific day archive page
is_time (): whether the archive page for a specified period of time
is_archive (): whether or not to archive page
is_search (): whether the search results page
is_404 (): whether the “HTTP 404: Not Found” error page
is_paged (): Home / Category / Archive Page is a multi-page display
Header part of the PHP function used to
php bloginfo ( 'name');?>: blog name (Title)
php bloginfo ( 'stylesheet_url');?>: CSS file path
php bloginfo ( 'pingback_url');?>: PingBack Url
php bloginfo ( 'template_url');?>: template file path
php bloginfo ( 'version');?>: WordPress version
php bloginfo ( 'atom_url');?>: Atom Url
php bloginfo ( 'rss2_url');?>: RSS 2.o Url
php bloginfo ( 'url');?>: blog Url
php bloginfo ( 'html_type');?>: the type of blog page Html
php bloginfo ( 'charset');?>: blog page coding
php bloginfo ( 'description');?>: blog description
php wp_title ();?>: page-specific content (Post / Page) of the title
PHP template commonly used functions and commands
php get_header ();?>: Call Header Template
php get_sidebar ();?>: call Sidebar template
php get_footer ();?>: call Footer Template
php the_content ();?>: display the contents of (Post / Page)
php if (have_posts ()):?>: check the existence of Post / Page
php while (have_posts ()): the_post ();?>: If there Post / Page will be displayed
php endwhile;?>: While the end of
php endif;?>: If the end of
php the_time ( 'string')?>: show time, time format from “string” parameter determines the specific reference to PHP Manual
php comments_popup_link ();?>: the body of the message link. If you use comments_popup_script (), the message will open in a new window, on the contrary, in the current window
php the_title ();?>: page content (Post / Page) title
php the_permalink ()?>: page content (Post / Page) Url
php the_category ( ',')?>: page-specific content (Post / Page) owned Category
php the_author ();?>: author
php the_ID ();?>: page-specific content (Post / Page) ID
php edit_post_link ();?>: If the user has to log in and have permission to show the Edit link
php get_links_list ();?>: display the link in the Blogroll
php comments_template ();?>: Call Message / Reply Template
php wp_list_pages ();?>: Showing Page List
php wp_list_categories ();?>: display the list of Categories
php next_post_link ( '% link');?>: under an article link
php previous_post_link ( '% link');?>: on an article link
php get_calendar ();?>: Calendar
php wp_get_archives ()?>: display the contents of archive
php posts_nav_link ();?>: navigation, display a / under the link to an article
php include (TEMPLATEPATH. '/ file name');?>: embedded in other documents, for customizable templates, or other type of document
Template associated with the other function
php _e ( 'Message');?>: output the corresponding information
php wp_register ();?>: display the registration link
php wp_loginout ();?>: show the logon / logoff link
: the content of the current page
: the content of the current cut-off in order to not be home / directory page displays the entire contents of
php timer_stop (1);?>: page load time (seconds)
php echo get_num_queries ();?>: page load queries
Other News
- To know wordpress
- Instant SEO boost using Google web history, 70 extra visitors a day
- wordpress Plugins top 50
- Basic WordPress template file
- Making a Website Layout in Photoshop
- Tags Are Not Categories – Got It?
- Discover the Clone Stamp
- Discover Selection Modification 2: +Create work path
- Discover Adjustment Layers
- My Widget – example WordPress widget
-

1.CSS+DIV+HTML
Do a framework for the website
Read More | Postd by Ltm.ming -

2.PhotoShop CS
To Beautify the site
Read More | Postd by Ltm.ming -

3.JavaSprict-Script
For User experience
Read More | Postd by Ltm.ming -

4.Programming language
php is very powerful
Read More | Postd by Ltm.ming -

5.SQL & MYSQL
For Information Storage
Read More | Postd by Ltm.ming

PHP and MySQL 5
Beginning PHP 5 and MySQL: From Novice to Professional offers a comprehensive introduction to two of the most popular open source technologies on the planet: the PHP scripting language and the MySQL database server.
Read More | Postd by Ltm.ming
Base AJAX Codes and Examples
Make your Web pages stand out above the noise with JavaScript and the expert instruction in this much-anticipated update to the bestselling JavaScript Bible.
Read More | Postd by Ltm.ming
Mastering CSS with DW CS3
Durch Integration von Datenbankanbindung und Skriptsprachen wird Dreamweaver CS 4 zum alltagstauglichen Werkzeug für die Erstellung einfacher Redaktionssysteme.
Read More | Postd by Ltm.ming
Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites.
Read More | Postd by Ltm.ming
MySQL 5.0 Certification Study Guide
This book is a very comprehensive guide to what MySQL offers and can teach you. br / br /Would definitely recommend for anyone needing a great book about MySQL.
Read More | Postd by Ltm.ming