Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #308400

    Ying-Fu Li
    Participant

    Hi,

    I used the workaround of adding a custom excerpt to posts since editing posts in Cornerstone doesn’t present WordPress with a clean text. However, because of this the very handy ‘read more’ link has also disappeared from the blog page. How can I add that back?

    #308423

    Christopher
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #308441

    Ying-Fu Li
    Participant
    This reply has been marked as private.
    #308464

    Christopher
    Moderator

    Hi there,

    Please update X and test again as I was not able to replicate the issue with latest version of X on my installation.

    Let us know how it goes.
    Hope it helps.

    #308515

    Ying-Fu Li
    Participant

    I’m sorry but I think you misunderstand what I am getting at.

    In the image below you can see ‘Testbericht’ which I made in the default WordPress editor. As you can see it automatically generates an excerpt and adds a ‘Lees meer’ (i.e. Read more) link.

    The other posts on the blog page I made in Cornerstone so as to be able to insert buttons and such. As already known to you WordPress won’t be able to extract an excerpt in this case because Cornerstone wraps the text in a shortcode. WordPress can’t extract text that is wrapped in a shortcode. I have found a workaround for that by using the ‘Excerpt’ window beneath the text editor. See the image below this paragraph.

    However, as a result of this workaround (probably) WordPress also is not able to generate a ‘Lees meer’ link beneath the excerpt.

    So, my question would be: how can edit posts in Cornerstone and still have a ‘Read more’ (‘Lees meer’) link?

    #308685

    Lely
    Moderator

    Hello There,

    Thank you for the clarification above.
    Please follow the thread and the suggestion on this link:https://community.theme.co//forums/topic/using-custom-post-excerpt/.
    *Please edit the text Readmore on the suggested code to ‘Lees mer’.
    Hope this helps.

    #309070

    Ying-Fu Li
    Participant

    Thanks, that worked though when not using a custom excerpt it still puts two ‘Read more’s to the excerpt (yes, I used the second code you provided in that thread). Still no problem since I plan to edit all posts in Cornerstone and use a custom excerpt.

    #309073

    Christopher
    Moderator

    Hi there,

    I can see two ‘read more’ link in second post, please add this CSS :

    .entry-content.excerpt > div {
      display: none;
    }

    Thanks.

    #310263

    Ying-Fu Li
    Participant

    Thanks!

    #310318

    Christopher
    Moderator

    You’re welcome.