Adding a Title to post content
-
I’ve been trying to customize a theme through trial and error, stress the word error as I’m pretty new to wordpress. Anyway, after looking at “the loop” I see that the following code handles Titles:
<!– Display the Title as a link to the Post’s permalink. –>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>If I have a textarea on the write panel what should the code look like for it so that the above code will pull the string of data and display it in the post? I’m assuming the textarea name of the string will have to be called by the above code right? Or no? I know I may not have expressed that in the technically most correct way but I did my best.
The topic ‘Adding a Title to post content’ is closed to new replies.