Support » Theme: Sparkling » Read more button is always shown

  • Resolved magicehret


    I just don’t get it.

    I see the read-more button after every article on my main page, even if i don’t use the read-more-tag. I already tried solutions i found here (e.g. content/excerpt replacing), but nothing seems the work. I see this button all the time.

    Thank You

Viewing 9 replies - 1 through 9 (of 9 total)
  • Btw
    Awesome Theme. Thank you for that.

    Theme Author Silkalns


    That’s expected behavior for this theme to create consistency.

    If you want to get rid of that button you can alway add this code to Theme Options – Other – Custom CSS {
        display: none;

    Thank you for this info! Can you tell me where to put the code and I will try it out.

    Never mind, I figured it out! Great theme, we all appreciate it.

    Thanks for your answer.
    I already figures out that kind of solution. All Button disappear then.

    But my Try is to show the buttons only when the read-more-function is used. Do you have any idea how to solve this?

    Thanks for your work. How can i support (donate) your work?

    I found another answer from you:

    There is no automated solution for this and you will have to hide those buttons based on post ID.

    How do you hide the buttons with post ID?

    Theme Author Silkalns


    This thread was resolved on our support forum and I will mark this thread as resolved.

    to get rid of the “read more” button—
    Ok, I went into the Content.php page and simply removed this code.

    `<p>” title=”<?php the_title_attribute(); ?>”><?php _e( ‘Read More’, ‘sparkling’ ); ?></p>

    The solution above did not remove it from the home page for me. The following solution did work:

    Remove from content.php

    <p><a class="btn btn-default read-more" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php _e( 'Read More', 'sparkling' ); ?></a></p>

    Add to functions.php

    add_filter( 'the_content_more_link', 'modify_read_more_link' );
    function modify_read_more_link() {
    return '<a class="btn btn-default read-more" href="' . get_permalink() . '">Read More</a>';

    Solution provided by the theme author with modification by @kalliste on the support forum

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Read more button is always shown’ is closed to new replies.