Home Forums WoodMart support forum Adding an IF/THEN Statement

Adding an IF/THEN Statement

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207890

    bfinelsen
    Participant

    So I am trying to add a simple PHP IF/THEN Statement to a page within the template, but it just keeps showing the code, even when I use the Raw HTML block. I simply want to output the shortcode of a file when a user is not logged in and then when they are logged in, show a different shortcode file.

    How can I make this happen?

    #207949

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    All the PHP snippets should be added to the functions.php file of the child theme.

    Best Regards

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)