title only for post in main page
I have the following problem:
I used a theme from newfocus and I want on the main page that latest articles only have the title without a excerpt and that the title has a smaller font. Now I read on this forum that I had to go to my index page and change the line: the_content to the_title.
Now my index.php looks as follow:
<?php get_template_part('content', 'before'); ?> <div class="content"> <?php get_template_part('loop', 'homepage'); ?> </div><!-- .content --> <?php get_template_part('content', 'after'); ?>
- The topic ‘title only for post in main page’ is closed to new replies.