• This topic has 4 replies, 2 voices, and was last updated 2 years ago by vako.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #61271
    Florian Wolf
    Participant
    Premium Member

    HI all, I have an issue similar to this:

    https://wp-royal-themes.com/forums/topic/excerpt-length-setting-in-post-display-not-working/

    For me, if I add a “Latest Posts” block to a page, I can’t get the excerpt length to work. As soon as I set this setting, no matter what length, the whole text of the post is displayed (minus images).

    Tested with Firefox and Chrome.

    Example here: https://www.karlas-kosmos.de/ernaehrungspychologie/ with excerpt settings set to a length of 39

    Thank you,

    Florian

    #61276
    vako
    Keymaster
    WP Royal Team

    Hi Florian,

     

    Instead of the Gutenberg widget please try to use theme provided short-codes.

    With the theme and WordPress settings, you can only have one blog page at the same time, but I can give you shortcodes to have blog posts on the home page and on the blog page too.

    To display all latest post use:

    [ashe_blog]

    To select specific categories in the blog feed shortcode, you just need to add the “categories” attribute to it. You can list multiple categories separated by a comma:

    [ashe_blog categories="food,travel"]

    or select a single one like this:

    [ashe_blog categories="food"]

    Also, posts per page could be limited by adding the “amount” attribute” like this:

    [ashe_blog categories="food" amount="5"]

    To select specific posts in the blog feed shortcode, you just need to add the “post_ids” attribute to it and list selected post ids separated by a comma like this:

    [ashe_blog post_ids="1,23,157"]

    Hope it was helpful.

     

    Kind Regards

    #61277
    Florian Wolf
    Participant
    Premium Member

    That kind of works, but leads to another issue

    Ernährungsallerlei

    where, even if there is only one entry, it gives me page 1 and 2, with 2 just leading to the search error page.

    #61278
    Florian Wolf
    Participant
    Premium Member

    Looks like the pagination disappears when there is more than one post in the category, which is not ideal, but if there is no workaround I guess acceptable.

    #61282
    vako
    Keymaster
    WP Royal Team

    Hi Florian,

     

    We can hide pagination with simple CSS snippets if you are going to use only 1 post with the shortcode.

     

    Kind Regards

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.