View Single Post
Old 04-06-2012, 12:32 PM  
hausarzt
Confirmed User
 
hausarzt's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817

1. Appereance -> Editor

2. Pic the Template you want to edit

3. Add this Code, where you want to have your Cumstom-Field to appear:
<a href="<?php $values = get_post_custom_values("company_name");?>target="_ blank">CLICK HERE TO VISIT THIS SITE</a>

4. Add a new Post

5. Scroll down to "Add New Custom Field:"

6. Hit "Enter new"

7. Name: company_name - Value: http://thecompanyurl.org

8. Hit "Add custom Field"

9. Write your Post as usual.

10. You're done!



Once, after you've added a Custom Field, you'll be able to choose "company_name" from the Dropdown-Menue, when writing a new Post.

Notice: You can modify (3) to your own needs (CSS, Target ect.)

The Value "company_name" can be changed to anything. Just be sure, you use the same in your Template as in your custom Fields.
__________________
I know, my english is bad. But your german might be even worse
hausarzt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook