Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16224

    I would like a like to pull more content with the Latest News widget – last col in footer, just to even things up down there.

    See – http://wwwquadcitiesassistedliving.zippykid.it/

    #90653

    Hi linkrep42,

    In your Latest News widget, just change the “How many entries do you want to display:” and set it to 2 or 3.

    Regards,

    Ismael

    #90654

    My question was not clear – I want to pull more characters from each article, the site will probably only have 2-3 articles produced for it in a 6 month period.

    #90655

    Hi linkrep42,

    Try to edit wp-contentthemesabundancefunctions.php and at the bottom of this file add this code:

    function wpe_excerptlength_index( $length ) {
    return 120;
    }

    function wpe_excerpt( $length_callback = '', $more_callback = '' ) {

    if ( function_exists( $length_callback ) )
    add_filter( 'excerpt_length', $length_callback );

    if ( function_exists( $more_callback ) )
    add_filter( 'excerpt_more', $more_callback );

    $output = get_the_excerpt();
    $output = apply_filters( 'wptexturize', $output );
    $output = apply_filters( 'convert_chars', $output );
    $output = '<p>' . $output . '</p>';
    echo $output;
    }

    Just return 120; to the number of words you want to put. (the default is 40)

    Then edit wp-contentthemesabundanceframeworkphpclass-framework-widgets.php and in line 405 you can find this code:

    the_excerpt();

    Just replace it with this code:

    wpe_excerpt('wpe_excerptlength_index');

    Hope this helps. :)

    Regards,

    Ismael

    #90656

    Awesome works perfectly, thank you for your help.

    #90657

    Great! Glad Ismael could help :)

    Regards,

    Devin

    #90658

    Hi linkrep42,

    Glad that we could help. I’ve marked this as resolved. :)

    Cheers,

    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Latest News widget how can I pull more Characters’ is closed to new replies.