Zen Mode

It is currently our zen mode where we get home to rest so that we can come back to work the next day and assist you with your issues.

Official support hours is from 10AM — 7PM Monday to Friday (GMT +8)

Filter By Post Type
Resolved

Hi guys, is there a way to filter posts by post type?
4 replies
Mark replied on Saturday, June 25 2016, 03:54 AM
Accepted Answer
Hey Michael,

It's merely just running a different sql query with a where clause that searches for the column "post_type" . This is how I think it should be done,

1. Append a custom query string to the page
2. Detect this new custom query string
3. If it contains the necessary query for post types,
4. Run a query to fetch posts where the column post_type matches your query.
Please do take some time to read through some of these links:

http://stackideas.com/docs
http://stackideas.com/support


Our Social Media Pages:

http://facebook.com/StackIdeas
http://twitter.com/stackideas

We are sorry, you need a valid subscription for EasyDiscuss
in order to view replies for this post in this category.

Your time
Stack Ideas time
Support is
Offline
It's after office hours

It is currently off working hours and most of us aren't around.

Rest assured that we will get back to your issues as soon as the day starts tomorrow!


Official support hour is:
Monday — Friday. 10:00 am - 7:00 pm
Our timezone:
Kuala Lumpur (GMT +8)