- This topic has 3 replies, 2 voices, and was last updated 2 weeks, 4 days ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
How can I do that please?
Thank you.
Andrea
Hi Andrea,
At first, thank you for choosing our theme and service.
Actually, with the theme and WordPress options, it’s only possible to have a blog page on the home or some other custom pages, if you choose the option A static page (select below). We can send the shortcodes to use, and you can create the page and name it Home. After that, use the shortcodes on this page to display blog posts using specific categories, and then make this page a home page.
To display all the latest posts using the:
[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.
Hi, thanks for the prompt response.
That might work if I could keep the sidebar widgets I am currently using with the “latest blog posts” view. Would that be possible on a static home page? What I’m asking is if there’s a way to replicate that blog page with the static one, but being able to show only certain post categories.
Hi Andrea,
As we explained above, please create the custom page and name it blog then navigate to that page and use the short code [ashe_blog categories=”food,travel”]
In the short code provide food and travel are category names, specify the category name and only blog posts under chosen categories will appear.
Kind Regards