Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #6434

    De “more” [...] link on the blog don’t work.

    ex . http://www.urbannature.nl/?page_id=197

    Does anyone have a solution?

    #54147

    or is this normal for WordPress?

    I’am a newby in WordPress, i came from Joomla.

    #54148

    Hey,

    voor dit thema is het normaal dat de “[...]” niet linkt omdat de titel al gelinkt is.

    To make the “[...]” a link you can add the following to the bottom of the functions.php file

    function new_excerpt_more($more) {
    global $post;
    return ' <a href="'. get_permalink($post->ID) . '">[...]</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    #54149

    Thanks for the code it works well.

    I think this way is more intuitive.

    #54150

    Glad that Chris could help you :)

    #54151

    Hi Dude,

    very interesting.

    you can create a button? For example: http://i.imgur.com/P1fG7.jpg

    The code you posted, how to call the CSS class button?

    thanks

    #54152

    I apologize

    I solved

    in the code is added class=”button”

    #54153

    Yes – the code should look like:

    function new_excerpt_more($more) {
    global $post;
    return ' <a href="'. get_permalink($post->ID) . '" class="button">[...]</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

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

The topic ‘No link in "more"’ is closed to new replies.