where to add the_meta in the twentyten theme
-
I would like to display custom field under the post title (each post on each page). I found that I need to insert the following code: <?php the_meta(); ?> in the theme index.php file in the loop. However index.php of the twentyten theme has no loop!
I suspect I need to modify the loop.php file but do not know. I am an absolute beginner to WP but try to modify the theme a bit.1. Can anyone advise on which files need to be modified?
2. And also where in the loop this line of code need to be placed if I want the information to be under the post title.
3. How/where can I style this custom field? Which class in CSS file?Any help will be much appreciated,
Peter
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘where to add the_meta in the twentyten theme’ is closed to new replies.