• Resolved cc4789

    (@cc4789)


    I am trying to use the Featured Post Plugin.

    It says to post this following code outside the loop:

    <?php if function_exists(‘featuredposts’) { featuredposts(); } ?>

    so this is how I posted it: (second line)

    <?php get_header(); ?>
    <?php if function_exists(‘featuredposts’) { featuredposts(); } ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <div class=”post-header”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <div class=”date”><span><?php the_time(__ (‘F j, Y g:i A’, ‘vigilance’)) ?></div>

    but then I get this error:

    Parse error: syntax error, unexpected T_STRING, expecting ‘(‘ in /home1/redninfo/public_html/wp-content/themes/vigilance/index.php on line 2

    what is the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured Post Plugin’ is closed to new replies.