-
▼
2012
(336)
-
▼
July
(27)
- How to Install The Google Sitemaps Plugin in a Wor...
- How to Stop Wordpress Trackbacks
- How to Clone WordPress Network Subdomains
- How to Use WordPress Template Tags in a Post
- How to Make ebooks Available on WordPress
- How to Add WordPress Template Tags
- How to Build a Site With Wordpress
- How to Find the Server Error Log for a WordPress Blog
- How to Auto
- How to Install WordPress 2.9
- How to Install WordPress With FTP
- How to Block Certain IP Addresses From Viewing My ...
- How to Create Custom Post Type in Wordpress
- How to Change the Logo on Amplify in WordPress
- How to Install a Plug
- How to Access HTML on WordPress
- How to Remove a WordPress HostGator Footer
- How to Send a Code 503 for WordPress
- How to Convert a PSD Web Design Into WordPress
- How to Insert Anchors in WordPress
- How to Change a WordPress Blog Into a Static Website
- How to Monitor Your Hits on WordPress
- How to Add MapQuest Map Builder to Your Wordpress ...
- How to Show a PowerPoint Presentation on WordPress
- How to Insert a Facebook Link Into WordPress
- How to Turn a WordPress Site Into an Email Newsletter
- How to Display Custom Fields in Wordpress
-
▼
July
(27)
adsense
How to Use WordPress Template Tags in a Post
1. Log in to your WordPress admin control panel. Click 'Plugins' from the left-hand menu bar, and then click 'Add New.' Type 'PHP Execution' into the text field in the middle of the screen, and then press 'Enter.'
2. Find 'PHP Execution' in the list of results that appears, and then click the 'Install Now' link. After WordPress has finished installing the plugin, click the 'Activate Plugin' link that appears. Once PHP Execution has been activated, the visual editor will immediately accept PHP code.
3. Click 'Posts' from the main menu bar on the left, then click 'Add New.' As an alternative, if you want to add a template tag to an existing post, find the post in the list and click its title. Click the 'HTML' tab, then put your cursor at the point you want to add the template tag, and paste in the following code:
Replace 'put_tag_here()' with the template tag you want to use. See the WordPress Codex for a full list of available tags. Note that the opening
tag are essential -- if you do not include them, your post will simply display the tag as normal text.
4. Click 'Publish,' or 'Update Post' if you are editing an existing post to save your changes. Go to the post on your blog and check to see if the tag is performing correctly. If it is not, try these two steps. First, go back to the editing screen for the post, and check that you added the code correctly. Make sure the semi-colon is present at the end of the tag,and that any tag parameters in the brackets are in the correct format, and flanked by apostrophes. Secondly, try clearing your browser cache, and then click 'Update Post.'
8:29 AM | Filed Under | 0 Comments
Post a Comment