WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Featured Widget Amplified
Custom more link "show content limit" (1 post)

  1. limburger_md
    Member
    Posted 4 months ago #

    Hi all,

    After a couple of hours searching the web i still didn't found a solution for my problem.

    I'm using the last version of the genesis featured widget amplified to show a post on my home page. In the widget i choose the option "show content limit", which allows me to get a read more link beneath my post.

    Is there a way to customize the read more link?

    On other posts i used the excerpt which i customized in function.php with this code:

    // Customizes read more link in excerpts
    function new_excerpt_more($more) {
    global $post;
    return '<a class="more_link" href="'. get_permalink($post->ID) . '"><span class="customReadMore">>></span> Lees meer</a>';}
    add_filter('excerpt_more', 'new_excerpt_more');

    (i can't use the excerpt option now because i want to use a different lenght of words for this specific post)

    Thanks in advance!

    https://wordpress.org/plugins/genesis-featured-widget-amplified/

Reply

You must log in to post.

About this Plugin

About this Topic