• i tried to include your php code to my single post template

    i tried it different ways but it doesn’t work

    $content = "<h3>This is the content</h3><p>And this is some more</p>"
    		jq_notify($content, "default", 2000, 500, );

    and

    <?php $content = "<h3>This is the content</h3><p>And this is some more</p>"
    		jq_notify($content, "default", 2000, 500, ); ?>

    so what am i doing wrong here?

    thanks

    https://www.ads-software.com/extend/plugins/jquery-notify/

Viewing 1 replies (of 1 total)
  • I wouldn’t recommend modifying your template files if you’re not comfortable with PHP. The second example you posted is close.. but you need to have a closing semicolon after the first line.

Viewing 1 replies (of 1 total)
  • The topic ‘where to put php code in my template?’ is closed to new replies.