-
Recent Posts
Recent Comments
- Z F on Navigate to URLs outside of the Angular application with target=”_self”
- stef on Using jQuery to provide an inline confirmation on buttons
- Eli Thompson on Using jQuery to provide an inline confirmation on buttons
- stef on Using jQuery to provide an inline confirmation on buttons
- stef on Using jQuery to provide an inline confirmation on buttons
Archives
Categories
Meta
Tag Archives: Gotcha
By default, get_posts only returns posts of type ‘post’
The WordPress project I work on uses a custom post type of ‘Product’ because we use WordPress as an ecommerce solution. I was trying to get a list of those products, but get_posts refused to display them. After consulting the … Continue reading
Posted in Development, Uncategorized
Tagged Gotcha, WordPress
Comments Off on By default, get_posts only returns posts of type ‘post’