Home Forums Flowfolio WordPress Theme Lose 'Read more' button when no more to read

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

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

    PontStation
    Participant

    Hi,

    How can I make sure a blog excerpt doesn’t display the ‘Read More’ button if there is no more content to be read? FYI: I do want the ‘Raad More’ button to display if there IS more to read.

    Thx in advance!

    Robin

    #246

    BWSM
    Keymaster

    Hi

    1) You need enter your blog excerpt into Excerpt box http://d.pr/i/tvyX
    If there not more content, please make the Content box empty http://d.pr/i/YfOj

    2) Change some code in functions/include_block.php to check if the content is empty

    Change line 253 as:
    <?php if(of_get_option('more-btn')) { if($post->post_content != "") { ?>

    Change line 258 as:
    <?php } } //End if btn more ?>

    #247

    PontStation
    Participant
    This reply has been marked as private.
    #8272

    kriekenro
    Participant

    Hi,

    I have tried to follow the instructions as given above to lose the “Read More” button when no content in the page, but it gives me an error.

    Have the line numbers of the functions/include_block.php file been changed or should I still be able to do as decribed?

    In other words: what am I doing wrong?

    Thx in advance

    #8282

    BWSM
    Keymaster

    kriekenro, please attach your include_block.php file.

    #8290

    kriekenro
    Participant
    This reply has been marked as private.
    #8303

    BWSM
    Keymaster

    Plz try use this one, download and unzip it

    #8311

    kriekenro
    Participant

    Cheers mate!

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

You must be logged in to reply to this topic.