• Resolved anthony750

    (@anthony750)


    Hello,

    Currently it is impossible on the theme BENTO to set up extract (example 13 characters and image), or I missed an option.

    Can you tell me if it is possible to set up the excerpt and if this is not possible do you already think about setting it up?

    In addition I would like to add a button to read more (always on the search result page) so that users click directly on the button instead of the title.

    Looking forward to your return,

    Regards,

Viewing 14 replies - 1 through 14 (of 14 total)
  • Theme Author satoristudio

    (@satoristudio)

    Hello Anthony,

    Bento implements the standard WP “read more” tag functionality, you can read more about it here.

    @satoristudio – actually, that’s not true. You DON’T implement the standard. When a post has the Read More tag in, you don’t show anything at the bottom of that post on the main blog listing or archive pages. The text before Read More shows up then…. nothing. Not even the standard Read More tag much less a button or anything. And, in my case, it does not show the custom text I put inside the more tag.

    So did you just forget to put that functionality in? I don’t even see an option to show full posts and not excerpts on the blog page.

    Theme Author satoristudio

    (@satoristudio)

    @ktb1000 you can find the “read mode” implementation on lines 506 and 514 of the /includes/template-tags.php theme file.

    You can find an example of how it looks on a blog posts page in this part of the theme demo (notice the “continue reading” + arrow sign after the excerpt).

    Please try adding a <!--more--> tag (copy and paste it from here) into the text of your post where you want the “continue reading” link to appear. You can do this while in the post editor mode (I recommend switching to the Text mode for easier editing in this case).

    Thread Starter anthony750

    (@anthony750)

    Hello,

    I wish to return on your remarks, after test this function does not work with the theme BENTO.
    Here are the screenshots
    1- the html code is added in the html part of the editor

    https://www.zupimages.net/up/18/32/hnoj.png

    2- At the level of search results it does not hide the text and adding a button …

    https://www.zupimages.net/up/18/32/72cw.png

    In addition you sent me to the site codex but when we are not a developer we do how?
    This function is basic and should be automatically added without user manipulation.

    Thanks for doing what’s needed

    Regards,

    Theme Author satoristudio

    (@satoristudio)

    Hello Anthony,
    please take a look at this search results page on the Bento demo website: https://satoristudio.net/bento/?s=Awesome+Blog+Post – the excerpts are still working. The reason why your case doesn’t replicate this result is that there are Content Builder elements on the page, and the “more” tag has been added between an opening and closing shortcode for the same element, effectively breaking it apart. Could you please try creating a new page, adding some plain text, and inserting a “more” tag in the middle of the text. Does the search result for that post have the “more” tag?
    Thanks for your patience!

    Thread Starter anthony750

    (@anthony750)

    Hello,

    After several text it works very well.
    But we use MOTOPRESS for the visual editor of our pages and article how is it that it does not work with this plugin?

    – How to modify the text “Read more”?

    – Can we put button form completely right?

    We thank you in advance,

    Regards,

    Theme Author satoristudio

    (@satoristudio)

    For using the “read more” tag with the Motopress plugin, I recommend referring to their forums or support – in this case the theme does not influence the outcome, as it uses standard WordPress template functions.

    The “read more” text can be modified either by altering the function I mentioned earlier (via a child theme) or using any translation plugin (e.g. this one) to modify that string.

    Could you please elaborate a bit more on the last question? Thanks!

    Thread Starter anthony750

    (@anthony750)

    Hello,

    I will see directly with MOTOPRESS for this function.

    For my last question was how to put a button “Read more” instead of the text “Read more” and put it at the bottom of the text directly to the right.

    Thank you for your understanding

    Regards,

    Theme Author satoristudio

    (@satoristudio)

    The theme envisages a text link for the “read more” element, in order to turn it into a button you will need to style it with CSS (the .more-link class) to make it look like one.

    Thread Starter anthony750

    (@anthony750)

    Hello,
    I thank you for your answer, however it will not serve me much because the MOTOPRESS editor no longer supports the tag “read more”.
    So I can not do anything!

    Regards,

    Theme Author satoristudio

    (@satoristudio)

    In this case I can unfortunately only recommend switching to another editor, like the bundled SiteOrigin Content Builder or the new Gutenberg.

    Thread Starter anthony750

    (@anthony750)

    Hello,

    I come back to you because I still have not managed to do what I wanted.
    We will soon go to the editor GUTENBERG and left MOTOPRESS.

    I would like to put the “Read more” tag in the form of a button and to the right.

    I try to use the wordpress codex, with the dofirant code in the theme function.php or the css of the theme and nothing works.

    Can you help me ?

    Regards,

    Theme Author satoristudio

    (@satoristudio)

    The “read more” link is displayed as a phrase with an arrow in Bento (see e.g. the blog demo); what you’re after should be achievable using custom CSS, yet it’s unfortunately outside of the theme support offer. Thanks for understanding!

    Thread Starter anthony750

    (@anthony750)

    Hello,

    I thank you for your answer, I succeeded after several test and failure of the site.

    Regards,

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Excerpt from articles on the search page’ is closed to new replies.