Grow your CSS skills. Land your dream job.

Read more link into button?

  • # January 26, 2013 at 7:46 pm

    I’m trying to change the read more link on my wordpress post excerpts from a read more link to a button.

    is this possible? if so how could I achieve this?

    I’m using the

    < ?php the_excerpt(''); ?>

    and my function is

    < ?php // Changing excerpt more
    function new_excerpt_more($more) {
    global $post;
    return ‘ 
    ID) . ‘”>’ . ‘Read More »’ . ‘‘;
    }
    add_filter(‘excerpt_more’, ‘new_excerpt_more’);
    ?>

    # January 26, 2013 at 7:47 pm

    hmm my function didn’t show up properly, anyway I’m sure some of you get the idea?

    Thanks for the help if anyone can help me out on this.

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".