![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Sep 2007
Posts: 345
|
Wordpress Plug Custom Field Input
Sup guys,
I can't seem to freaking find a plugin that lets me enter a custom field like "Company Name" and have it output on the front end side in my posts. Is there a plugin for this? i have installed 10 plugs and none were successful. help! tnx |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
You don't use a plugin for that. The functionality is already built into wordpress.
http://codex.wordpress.org/Custom_Fields
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
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 ![]() |
![]() |
![]() ![]() ![]() ![]() |