• How can I include a (template) file in a template if a post contains a certain tag:

    if tag=”foo”
    include “file1.php”
    elseif tag=”foo2″
    include “file2.php”
    else include “none.php”

    Thank you.

  • The topic ‘Include file based on template tag within post’ is closed to new replies.