• I have to limit the excerpt characters on the Blog page. The code I see on the functions.php file doesn’t seem wrong but it doesn’t work.

    // set excerpt length
    if (! function_exists (‘delicious_custom_excerpt_length’)) {
    function delicious_custom_excerpt_length ($ length) {
    return 75;
    }
    add_filter (‘excerpt_length’, ‘delicious_custom_excerpt_length’, 999);
    
    }
    
    // add excerpt link
    if (! function_exists (‘delicious_new_excerpt_more’)) {
    function delicious_new_excerpt_more ($ more) {
    global $ post;
    return ‘… <p class =” readmore ”> ID). ‘”> ’.__ (‘ Read More ’,‘ delicious ’).’ </p> ’;
    }
    add_filter (‘excerpt_more’, ‘delicious_new_excerpt_more’);
    } 

    As you can see in the blog page on the posts there is not limited to 75 characters but the whole article is published.
    What can it depend on?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Maybe your theme doesn’t use excerpts? Or needs to be configured to use excerpts.

    You are using a commercial theme so you’ll want to track down the theme author and ask them for help or documentation.

    The volunteers here have no access to commercial themes.

Viewing 1 replies (of 1 total)

The topic ‘Limit Excerpt Characters’ is closed to new replies.