Cutline Theme Support Forums » Cutline Theme Support Forums

Sub titels whithin posts

(1 post)
  • Started 2 years ago by colette
  • This topic is not resolved

  1. I tried to make a 'sub titel' in my posts by placing <h5>...</h5> around the text. This works for the posts when viewed in index.php and singel.php but not in archive.php and search.php (where the h5 code is replaced by <p> and </br> which can be seen by viewing the source in the browser). Trying to achieve consistency in the way the posts looked I tried replacing the <?php the_excerpt() ?> by <?php the_content('[Read more &rarr;]'); ?> like is used in the index.php and everything LOOKS ok now. Why was the_excerpt used in archive.php in the first place and will anything terrible happen if I leave it this way?

    regards,
    Colette

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.