• Hello. I’m not a developer, but I have some notion of PHP (enough not to make WordPress break!). I am editing a descending theme, and put WP Subtitle in a section of the posts, where originally was where the theme carried the post excerpt. However, I have a problem: I want to show WP Subtitle only in posts that have this information, since I will not edit old posts to put a subtitle and I don’t want this field to be empty, because of the lack of a subtitle.

    I would like to display the post excerpt IF the post does not have a subtitle (especially for older posts). Is this possible through an if (); function? How can I do this?

  • The topic ‘How to show excerpt in old posts?’ is closed to new replies.