By default get_posts()
uses a default post type of post
.
If you want to select from a CPT then you need this:
$myposts = get_posts('numberposts=4&offset=1&category=3,4&post_type=YOUr_CPT_HERE');
By default get_posts()
uses a default post type of post
.
If you want to select from a CPT then you need this:
$myposts = get_posts('numberposts=4&offset=1&category=3,4&post_type=YOUr_CPT_HERE');