• Creator
    Topic
  • #17818

    Ravi Sakaria
    Spectator

    I created a new page and added:

    5 Benefits of WordPress Blog Hosting

    The internet is rich with a large number of resources this is due to the high number of blogs and websites created and published every day. With blogs and website providing content and information of marketing, education, recreation, travel, fitness, health etc. This is due to the diversity of [...]

    but it shows posts that aren’t in that category. When I change it to cat_slug="press-release" it works properly. Is the documentation for the alora theme not correct??

Viewing 3 replies - 1 through 3 (of 3 total)
Replies
  • Denzel Chia
    Moderator
    Post count: 3230
    #17819 |

    Hi,

    Very sorry. Yes you are correct.
    The documentation on the following page has error.
    https://theme4press.com/alora-documentation/shortcodes/blog/

    The attribute is cat_slug and not category_name.

    I will inform Roman to update the documentation.

    Please use the Theme4Press Core plugin’s shortcode generator button to generate shortcode.
    Please see screenshot http://prntscr.com/7amhbj
    The button with the number 4 logo.

    When you click on it, it will popup with a selection, which you can select Blog shortcode.
    http://prntscr.com/7amhdh

    There should be no more errors if you use this shortcode generator button.

    Thanks!
    Denzel

    Ravi Sakaria
    Spectator
    Post count: 3
    #17822 |

    Thanks. You might want to fix “flexslider” while you’re at it – I think that’s now “postslider”

    Denzel Chia
    Moderator
    Post count: 3230
    #17828 |

    Hi,

    Thanks again for this information!

    Regards,
    Denzel

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Category_name doesn't work in [blog] shortcode’ is closed to new replies.