• If I enter an excerpt at all it formats it but with the start of the post and not what I had entered explicitly for the excerpt. If I don’t enter an excerpt it displays one anyways and uses the entire post as the excerpt. I’ve tried countless things and read countless blog posts. I’m not really sure what I could of messed up. The site is at http://machbytes.com/

    My goal is for it to display w/e I enter for the manual excerpt for each post.

    My functions.php for the theme has

    // =========================
    // = Change excerpt lenght =
    // =========================
    add_filter('excerpt_length', 'my_excerpt_length');
    function my_excerpt_length($length) {
    return get_option('imbalance_excln'); }
    
    // =================================
    // = Change default excerpt symbol =
    // =================================
    function imbalance_excerpt($text) { return str_replace('[...]', '...', $text); } add_filter('the_excerpt', 'imbalance_excerpt');

    and the index.php has

    <?php
       if (function_exists('has_excerpt') && has_excerpt()) the_excerpt();
       else the_content('Read on...');
    //<?php the_excerpt();
    ?>

The topic ‘Excerpt pulling wrong data.’ is closed to new replies.