background preloader

WordPress Codex

Template Tags Languages: English • Español • Français • Italiano • 日本語 • 한국어 • Português do Brasil • Русский • ไทย • Türkçe • 中文(简体) • 中文(繁體) • (Add your language) Template tags are used within your blog's Templates to display information dynamically or otherwise customize your blog, providing the tools to make it as individual and interesting as you are. Below is a list of the general user tags available in WordPress, sorted by function-specific category. For further information on template tags and templates in general, see the following: Stepping Into Template Tags - an introduction to Template Tags. Note: If you have an interesting twist on the implementation of a template tag, you're encouraged to add to its documentation for the benefit of other WordPress users. Files Template tags files are stored in the wp-includes directory. Tags General tags wp-includes/general-template.php Author tags wp-includes/author-template.php Bookmark tags wp-includes/bookmark-template.php and wp-includes/bookmark.php

Blog Infos Conditional Tags Languages: English • Français • Italiano • 日本語 • Türkçe • Português do Brasil • 中文(简体) • (Add your language) Introduction 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. For example, you might want to display a snippet of text above the series of posts, but only on the main page of your blog. Note the close relation these tags have to WordPress Template Hierarchy. Warning: You can only use conditional query tags after the posts_selection action hook in WordPress (the wp action hook is the first one through which you can use these conditionals). However: if you have a reference to the query object (for example, from within the parse_query or pre_get_posts hooks), you can use the WP_Query conditional methods (eg: $query->is_search()) The Conditions For ... The Main Page is_home() When the main blog page is being displayed. The Front Page The Blog Page

Setting up Wordpress on Windows XP to use IIS 5.1 | Brokentoken.com I recently built a Windows XP virtual machine with the intention of doing wordpress theme development and testing on it. Getting WordPress up and running normally requires running Apache, MySQL and the wordpress binaries, but instead of running Apache, I wanted to use the version of IIS included in Windows XP. Getting everything for WordPress up and running wasn’t that difficult, but I wanted to record my steps and sources in case anyone else is considering doing the same. Also consider installing FTP with IIS so that you have a mechanism to move files in/out of the VM. I choose to go this route so I can more easily replicate my production server configuration since mapping drives and Windows networking is out of the question in an internet-facing/production scenario.PHP Installation After IIS is installed, and you are all patched up-to-date on XP, then perform the following to install and configure PHP on IIS 5.1: Congratulations! MySQL Installation phpMyAdmin Installation Final Thoughts

8 Alternatives to Google Analytics | Venveo Ever since Google Analytics launched back in 2005 it has empowered us to track almost every aspect of how our visitors interact on our sites. Google Analytics was not the first organization to offer free site performance tracking but their ability to pair this technology with their popular advertising platform AdWords instantaneously made them the 800 pound gorilla for online analytics. I've attempted to outline a couple alternatives and why you might want to choose them over (or in addition to) to Google Analytics. In Conclusion I think there are some really great players in the analytics industry other than Google Analytics. What they all can do well is measure trends for your website, and if you look at trends over time, you should notice more similarities than differences. What other alternatives to Google Analytics are our there that might be better?

WebZap - Photoshop panel plugin for web developers Template Hierarchy Languages: English • Français • Italiano • 日本語 • 한국어 • Русский • Español • Português do Brasil • 中文(简体) • (Add your language) Introduction WordPress Templates fit together like the pieces of a puzzle to generate the web pages on your WordPress site. Some templates (the header and footer template files for example) are used on all the web pages, while others are used only under specific conditions. What this article is about This article seeks to answer the following question: Which template file(s) will WordPress use when it displays a certain type of page? Who might find this useful Since the introduction of Themes in WordPress 1.5, Templates have become more and more configurable. Using Conditional Tags WordPress provides more than one way to match templates to query types. The Template File Hierarchy The General Idea WordPress uses the Query String — information contained within each link on your website — to decide which template or set of templates will be used to display the page. Examples

Hooks Database What is a hook? In brief, WordPress hooks enable you to change how WordPress behaves without editing any core files. Because you leave the WordPress files untouched, you can painlessly upgrade your blog with each new version of WordPress. It's this hooks architecture that makes WordPress the best blogging solution. If you don't know what WordPress hooks are for, read the Plugin API or this tutorial. What is this directory? If you're a plugin or theme developer, you know how difficult it can be to figure out which hooks are available. What is this good for? See what new hooks are available with each new version of WordPress See which hooks have been deprecated or renamed (use the "view all hooks" option) Easily learn exactly which WP file(s) use each hook. How to help? Update and improve the official action and filter references.

How to install WordPress 3.0 on XP and IIS 5.1 Manually | Domain Web Center PART I – Install PHP on IIS 5.1 (Win XP) Manually For instructions see Download file php-5.2.13-Win32.zip from Alternatively, download php-5.2.13-nts-Win32.zip (nts stands for Not-Threat-Safe) Unzip it into C:\Program Files\PHP Copy, create or edit php.ini file Either add PHPRC environment variable pointing to C:\Program Files\PHP\ Or add C:\Program Files\PHP\ to the PATH PART II – Configuring IIS to process PHP requests Download Microsoft FastCGI Extension for IIS 5.1 and 6.0 from Install fcgisetup_1.5_rtw_x86.msi Add PHP entry to IIS mapping. Go to IIS Admin – Default Web Site – Properties – Home Directory – Configuration – Mappings and add .php extension pointing to C:\WINDOWS\system32\inetsrv\fcgiext.dll and limit verbs to GET,HEAD,POST: This step is not mentioned in most manuals. PART III – Configure MySQL Database PART IV – Configure WordPress 3.0 on IIS

How to Write a Copyright Notice One of the most common questions I get asked is “Does the copyright notice in my footer look ok?” Though I’m quick to remind everyone that you don’t need to have a copyright symbol or any kind of notice on your work for it to be copyright protected, at least not since 1978 in the U.S., having a copyright footer on your site is probably a good idea just because of the large amount of confusion on this issue and it does put potential infringers on notice, reducing “innocent infringer” claims. Besides, you don’t want people believing that your work is available for copying freely if it isn’t. So what should you put in your copyright footer? The formula is actually very simple and there’s only a few things that you’ll likely want to include. So, this should only take a moment to master though it can save a lot of headaches, time and money down the road. The Four Elements Typically, a copyright notice contains four different elements, each of which are brief but important. Tying it Together Related

Learn Web Development with the Ruby on Rails Tutorial Template Tags/wp list categories Languages: English • 日本語 • (Add your language) Description Displays a list of Categories as links. When a Category link is clicked, all the posts in that Category will display on a Category Page using the appropriate Category Template dictated by the Template Hierarchy rules. NOTE: wp_list_categories() works in much the same way as the two template tags replaced in WordPress 2.1, list_cats() and wp_list_cats() (both deprecated). If you need a function that does not format the results, try get_categories() Usage Default Usage <? By default, the usage shows: Parameters show_option_all (string) When "style" is set to "list" (see below), setting this parameter outputs a link to all categories. orderby (string) Sort categories alphabetically, by unique Category ID, or by the count of posts in that Category. order (string) Sort order for categories (either ascending or descending). style (string) Style to display the categories list in. show_count hide_empty use_desc_for_title child_of feed feed_type (string) <?

Related:  web prescence