• Hi, I am trying to display a list of blog posts (from category blog) on a separate WP file (content.php) recalled, in archive.php, with “get_template_part”.
    The problem is the condition expression in line 147 returns an empty layout.

    I included the code here:
    https://pastebin.com/VC8LE2md

    Can you help me out?

    Thank you!
    NM

  • The topic ‘Conditionals in separate WP file not working?’ is closed to new replies.