Forum Replies Created
-
So, while looking for something totally different on the forum, I came across the following thread:
https://forum.graphene-theme.com/graphene-support/custom-post-type-formatting-problem
I’m new enough to php coding that I don’t know the syntax for applying Syahir’s solution for more than one custom post type. However, as the original poster suggested, one can also copy over the function he referenced to the child theme’s custom functions.php. When I added the different custom post types to the allowed posts, it worked!
$allowed_posttypes = apply_filters( 'graphene_date_display_posttype', array( 'post' , 'my_custom_post_type1' , 'my_custom_post_type2') );
I’m sure there’s a better way to do this, but for now, this seems to be working.
Anyone?
Viewing 2 posts - 1 through 2 (of 2 total)