Ok let see if this helps any!
I have the wordpress theme called “Convergence” that I got from themeforest!
Inside of the “Convergence Theme Settings” I saw that they have a couple of fields to enter some text and want to add another by just copying and pasting the php above the already existing script. Inside of the functions.php page I added this;
<tr valign="top">
<th scope="row"><label for="racing">Next Race Status</label></th>
<td>
<input name="race_status" type="text" id="flickr_group_id" value="<?php echo htmlspecialchars(stripslashes(get_option('race_status'))); ?>" class="regular-text" />
</td>
</tr>
Then I wanted it to be on the top of the right side bar and saw a couple of things and tried somethings and got this but never got it to work :(.
<div class="box ads race_status">
<div class="content">
Next Race Status:<?php echo get_settings('race_status'); ?>
</div>
</div>
<!--/race status -->
What it is for is for me to enter a couple of words to say that the local dirt track is still scheduled to race or if it is canceled.
Right now the div box is there and has the words “Next Race Status:” but there is nothing display for the custom field I tried making.
In the back in the cause text field is there but when I try to text something in it, it just goes back to “<br /> <b>Warning</b>: Missing argument 2 for get_post_meta() in <b>/homepages/1/d174344245/htdocs/diecastcollectibles/wp-includes/post.php</b> on line <b>666</b><br />
when ever I hit the save button.
Sorry if I am not making any sense on this but I have no idea what I am really talking about with the php part of the theme.
Thanks for your time,
Adam
Here is a live link to my site I am trying to put it on!
Live Link Here!