Forums

the_excerpt just broke on all my themes (2 posts)

  1. rizyak
    Member
    Posted 3 weeks ago #

    Yesterday the_excerpt was working great, sometime between then and now it broke. I had installed the addthis plugin. Thinking that may be the problem I have uninstalled it.

    I don't know exactly when it happened so I can't pinpoint if something specific changed.

    I've gone through a number of theme previews and where excerpt is supposed to be, they are blank...

    Here is the code:

    <br />
    <!-- LEAD ARTICLE --><br />
      <div id="fragment-1"><br />
        <ul id="leadarticle"><br />
    <h3 class="title">Featured Article</h3><br />
          <?php<br />
    // Lead Story module begins<br />
       query_posts('showposts=1&cat=18'); //selects 1 article of the category with ID 18, featured articles?><br />
          <?php while (have_posts()) : the_post(); ?></p>
    <p>          <?php // here the thumbnail image gets automatically generated fron the posts own image gallery ?><br />
          <a>" class="alignleft" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php postimage(300,200); ?></a> </p>
    <p>     <h5> <a>" rel="bookmark" title="<?php __('Permanent Link to','acai')?> <?php the_title(); ?>" class="title"><br />
          <?php<br />
    // this is where the title of the Lead Story gets printed<br />
    	the_title(); ?><br />
          </a></h5><br />
          <?php<br />
    // this is where the excerpt of the Lead Story gets printed<br />
    	the_excerpt(); ?> <span class="read-on"> <a>" rel="bookmark" title="<?php __('Permanent Link to','acai')?> <?php the_title(); ?>"><br />
            <?php _e('[continue reading...]','acai'); ?><br />
            </a> </span><br />
          <?php endwhile; ?></p>
    <p>  </div><br />
      <!-- END LEAD ARTICLE --><br />
  2. rizyak
    Member
    Posted 3 weeks ago #

    So I figured it out, I had made a change in Max Banner ads plugin that affected everything. I downloaded the plugin as a different name and just replaced the file I had edited with the original. We're back to normal now.

Reply

You must log in to post.

About this Topic

Tags