Related posts dont show excerpt if post was created with Visual Composer

This topic has 14 replies, 2 voices, and was last updated 8 years, 9 months ago ago by Rose Tyler

  • Avatar: Royalty
    Royalty
    Participant
    March 7, 2017 at 16:40

    Hello,
    I just started to create a blog in addition to my shop with Royal theme. I noticed that the “Related Posts” option does not show the excerpt when Visual Composer was used to create a post. As soon as I disable Visual composer plugin, the excerpt is shown as expected. But I need Visual Composer to be active. So what can I do to show the exerpt in Related Posts?
    Many thanks in advance!

    13 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2017 at 08:15

    Hello,

    Could you please provide wp-admin access in Private Content so we could check it?

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    March 9, 2017 at 13:53

    Sure, please find more information in private content.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2017 at 14:15

    Hello,

    In this case, you need to activate Excerpt http://prntscr.com/ehueix and add some text there http://prntscr.com/ehuf0c.

    Regards,
    Rose Tyler.

    Please, contact administrator
    for this information.
    Avatar: Royalty
    Royalty
    Participant
    March 9, 2017 at 14:22

    Ok thank you for your soon reply and the answer. Isnt there any solution how to edit my template to grab the excerpt automatically? I dont want to add the excerpt manually. Otherwise I will have to look for another plugin but I would like to use the built-in function. Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2017 at 14:38

    Hello,

    Also, you can use tag “more”. Please, see screenshot in private content area.

    Regards,
    Rose Tyler.

    Please, contact administrator
    for this information.
    Avatar: Royalty
    Royalty
    Participant
    March 9, 2017 at 14:41

    Hello, I cant see the private content, it says “private content hidden”. Can you just explain how to use it? Anyway, I am searching for a way to edit theme-functions.php to get the excerpt automatically..

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2017 at 15:16

    Hello,

    Oh I see.
    http://prntscr.com/ehv3f7 – try this.

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    March 11, 2017 at 12:30

    Ok thank you. But I am still searching for a solution to get the excerpt automatically, as its done in the posts overview page (content-grid.php). I am sure there must be a way to edit theme-functions.php to achieve this, I just dont know how. Could you please help me with that? Many thanks in advance!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 14, 2017 at 14:15

    Hello,

    Try to edit theme-functions.php file http://prnt.sc/ejtgwc

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    March 14, 2017 at 14:34

    Thank you, but I dont know how to edit it exactely – any help would be really appreciated.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 17, 2017 at 08:10

    Hello,

    Sorry for the delay in answering.
    It can be done through the additional code customization that is out of our support scope, sorry. You need to have base html and php skills if you want to change or add some special functionality.
    In this case, you need to use tag more or write excerpt in the field in page editor.
    Feel free to ask if you need any other help.

    Regards,
    Rose Tyler.

    Avatar: Royalty
    Royalty
    Participant
    March 17, 2017 at 14:13

    I solved it by writing a simple custom function. So you can mark this as resolved.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 17, 2017 at 14:42

    Hello,

    We’re glad to hear that your issue was solved.
    Have a nice day!

    Regards,
    Rose Tyler.

  • Viewing 14 results - 1 through 14 (of 14 total)

The issue related to '‘Related posts dont show excerpt if post was created with Visual Composer’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.