I'm currently using the Salient theme with a custom post type called "newsletter." When I use the Blog Element in the Salient page builder, it only displays standard "post" entries and doesn’t include my custom post types, despite attempts to modify the query.
Here are the steps I've taken to troubleshoot:
I attempted to use the pre_get_posts function in my functions.php file to add my custom post type, but the Blog Element still only displays standard posts.
I checked nectar/helpers/blog.php and other related theme files for customization options but couldn't locate any specific query settings for the Blog Element.
I've verified that my custom post type is registered correctly, as it displays on the blog index when using a custom post loop.
Could you advise on how I might configure the Blog Element in Salient to include custom post types? Alternatively, if there’s a filter or hook available for this purpose, that would be very helpful.
I'm currently using the Salient theme with a custom post type called "newsletter." When I use the Blog Element in the Salient page builder, it only displays standard "post" entries and doesn’t include my custom post types, despite attempts to modify the query.
Here are the steps I've taken to troubleshoot:
Could you advise on how I might configure the Blog Element in Salient to include custom post types? Alternatively, if there’s a filter or hook available for this purpose, that would be very helpful.
Thank you in advance for your assistance!
Hi there,
Thanks for writing to us.
You should use the Post Loop Builder Element instead as the Blog Element doesn't have the Custom option :
I really hope this proves helpful for you. If you have any more questions or run into any problems, please feel free to reach out.
Best regards,