• Closed
  • Ravi Sakaria
    Spectator
    May 29, 2015 at 1:44 am #17818

    I created a new page and added:

    [blog posts_per_page="10" category_name="press-release" post_status="publish" orderby="date" order="DESC"][/blog]

    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??

    Denzel Chia
    Moderator
    Posts: 2656
    May 29, 2015 at 3:46 am #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
    Posts: 3
    May 29, 2015 at 1:44 pm #17822

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

    Denzel Chia
    Moderator
    Posts: 2656
    May 29, 2015 at 5:18 pm #17828

    Hi,

    Thanks again for this information!

    Regards,
    Denzel