Tell us what you are trying to do?
I am using Toolset to create my custom post types. I am then using Search & Filter Pro to produce Search/Filter functionality, and to produce post listings/results, i.e., News. I need to create an RSS feed for News, as well as 2 other custom post types. I am also using a Divi child theme.
Is there any documentation that you are following?
I can't find any documentation that involves this specific configuration. I do know how to add code to my functions.php file, to produce RSS feeds for all custom post types. however, I believe it isn't working, due to my combination use of Toolset and Search & Filter Pro.
Is there a similar example that we can see?
What is the link to your site?
I can send a private link
Hello,
Toolset Types plugin is using WordPress built-in function register_post_type() to create custom post types:
https://developer.wordpress.org/reference/functions/register_post_type/
And you can check the result in frontend, like this:
hidden link
As you can see, it needs only to add the URL parameter "post_type" to the feeds URL.
just for clarification, you're saying the 'News' custom post type, that I created in Toolset, is automatically registered with the site?
or, do I still need to manually add code to the functions.php file, in order for it to work?
I have not added code to the functions.php file, yet. as such, the /feed (or /feed/?post_type=news) path does not work.
Thanks.
Brian
The default WordPress RSS feed URL should be:
hidden link
or
hidden link
It depends on your website permalinks settings, see WP document:
https://wordpress.org/support/article/wordpress-feeds/#finding-your-feed-url
section "Finding Your Feed URL"
If those URLs do not work in your website, there should be other compatibility problems, you can deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again, try to locate the problem plugin or custom codes.
Hi, Luo.
I've deactivated all plugins, and switched to a different theme, all to no avail. I'm not receiving a feed error, there's just nothing in the feed.
The feed DOES populate, on my homepage, AND for my Events page. so this tells me my overall site config is good. I still think it's something to do with how I have Toolset configured, and how I'm displaying the results, on my News and Resources pages.
Please provide your website database dump file in below private message box, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Hi, Luo.
I have created the .zip file, using the Duplicator plugin. however, I don't have a way to upload it to a directory where you will have access to download it. We have Google Drive, but it's for internal use, only, unfortunately.
I am off tomorrow, through the 27th. I will pick this back up again, on the 28th, and see if I can find an upload/access solution for you.
Thank you and Happy Holidays!
Brian
Please update here when the duplicator package file is ready for downloading, thanks.
Happy Holidays!