Education: Read more in buttons

Community Forums Forums Design Tips and Tricks Education: Read more in buttons

This topic is: not resolved

This topic contains 7 replies, has 3 voices, and was last updated by  nazz 1 year, 3 months ago.

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

    nazz
    Participant
    Post count: 30

    http://bit.ly/Z5hlTO

    In Education, I tried to change the (Read More) bit in the home page buttons for posts (the hp blog section), but the fix in the SP code snippets didn’t do anything.

    The wording breaks inside the button, looks dumb.

    I changed the ones in the sidebars using the widgets.

    Thanks.

     

    #28639

    asdweb
    Participant
    Post count: 105

    go to your style.css and look for:

    .more-link {
    display: block;
    margin: 20px 0 0;
    text-align: center;
    width: 80px;
    }

    Change the width from 80 to 90 and it will make the button size longer to fit the two words.


    Amy Susan Design.com @AmySusanDesign

    #28703

    nazz
    Participant
    Post count: 30

    Thanks for the response, but I don’t want to fit those words, I want to change the wording.  How do I change the words?

    #28706

    asdweb
    Participant
    Post count: 105

    Ah. Gotcha. Try this in the functions.php file – change wording as desired within the [ ].

    /** Modify the WordPress read more link */
    add_filter( ‘the_content_more_link’, ‘custom_read_more_link’ );
    function custom_read_more_link() {
    return ‘[Continue Reading]‘;
    }


    Amy Susan Design.com @AmySusanDesign

    #29527

    nazz
    Participant
    Post count: 30

    Thanks again, Amy, didn’t work. I tried that before.

    #30773

    asdweb
    Participant
    Post count: 105

    Try this one.

    /** Modify the Genesis content limit read more link */
    add_filter( ‘get_the_content_more_link’, ‘custom_read_more_link’ );
    function custom_read_more_link() {
    return ‘… [Continue Reading]‘;
    }


    Amy Susan Design.com @AmySusanDesign

    #33964

    samclark
    Participant
    Post count: 4

    Hi Nazz,

    Did you manage to change the read more text on your buttons? I’m having the same issue and would love to know how you got on..

    Thanks

    #34185

    nazz
    Participant
    Post count: 30

    Yes, thanks for the reminder to update here.

    Andrea passed along the fix via official support:

    http://my.studiopress.com/snippets/post-excerpts/

    See it in action here: http://bit.ly/Z5hlTO

     

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

You must be logged in to reply to this topic.