hero image

only show post from a category

Home Forums WordPress Themes Blogojoy only show post from a category

Forums WordPress Themes Blogojoy only show post from a category

PLEASE NOTE A RECENT CHANGE:
The forum is read-only. Please submit any support request here.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • jasper_huitsing
    Member
    TT Client
    #51020

    Hi there,

    My homepage displays the latest posts on my blog.

    If someone clicks on another page through the main menu, I want that page to only display posts of a certain category. How can I make this possible?

    Greetings,
    Jasper


    Anonymous
    Inactive
    Inactive
    #51035

    Hi Jasper,

    Please use such shortcode construction in order to sort the posts by category slug:

    [latest_posts category=”post_category_slug”]

    Best Regards,
    Michael


    jasper_huitsing
    Member
    TT Client
    #51082

    Hi Michael,

    Where do I use this shortcode? Do I use it like shown above, or do I haveto fill in the name of the category as well? I have never used shortcodes before.

    I’m not sure if I made my question clear. I don’t want to change my homepage (showing latest posts)! But I made pages named like the categories I use. If someone goes to a page with the name of that category, I want wordpress to only show the posts from that category.

    Greetings,
    Jasper


    Anonymous
    Inactive
    Inactive
    #51121

    Hi Jasper,

    To use a shortcode, you have to enter it into page content and it will get parsed in order to display the section it triggers.

    For example here: https://drive.google.com/a/red-sky.pl/file/d/0B11RflJnvBkjbG5pa1RmSUpVazQ/view?usp=drivesdk

    To pick a post category slug as shortcode filter, you have to go to posts categories page: https://drive.google.com/a/red-sky.pl/file/d/0B11RflJnvBkjbG5pa1RmSUpVazQ/view?usp=drivesdk

    Best Regrads

Viewing 4 posts - 1 through 4 (of 4 total)

only show post from a category

Home Forums WordPress Themes Blogojoy only show post from a category

[i]
[i]
[i]
[i]