Forums

Parse error? (3 posts)

  1. magnavox
    Member
    Posted 1 year ago #

    Hey everyone,

    I'm trying to get this Wordpress plugin called WP-Adserve to work. I call it by using the "<?php AdServe('zone'); ?>" code, but as soon as I apply that I get the following error:

    Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /homepages/12/d205617820/htdocs/wp-content/themes/silhouette-3column/home.php on line 14

    Line 14 is where the "<?php AdServe('zone'); ?>" is being applied.

    I think the parse is happening because I already have something similar in my header.php called "<?php wpads('index'); ?>". I don't know if that's messing up the other, just a guess.

    Any help is appreciated.

    Thanks.

  2. magnavox
    Member
    Posted 1 year ago #

    Still looking for some help.

  3. wordpressmatt
    Member
    Posted 1 year ago #

    Still looking for help? I just used your code in my header and it worked fine.

    <?php AdServe('zone'); ?>

    you'll find it here: http://www.maritimejobfinder.com

Topic Closed

This topic has been closed to new replies.

About this Topic