Since Toolset Layouts 2.3.1 is out. Do you have a fix for the RSS feed problem? Do you have a step-by-step guide for this problem?
Its regarding my custom post types which I need to make a RSS feed for. The custom post type is named artikkel, og the RSS feed should be linked here: hidden link
Hello. Thank you for contacting the Toolset support.
Well - Yes, I can see that the fix is proposed with Layout 2.3.1 and its published. Could you please check with Layout 2.3.1 and try to resolve your issue.
Could you please try to follow the following steps and let me know if it works for you.
1. Set up a Custom post type and create at least one post in it
2. Create a WordPress archive for this Custom post type
3. Check the Archive on the Front-end, by adding /feed at the end of your URL.
==> You will see a fine output of RSS Feed.
4. Create a Layout, and assign it to the Custom post type archive and add the wordpress archive you created above as cell
==> check /feed output again, it should be the same as before
Turns out there is a specific category that should not be in the RSS-feed. Until then they are unable to test it. Is it possible to hide posts that are in one category?
I have tried the following:
function exclude_category($query) {
if ( $query->is_feed ) {
$query->set('cat', '-65');
}
return $query;
}
add_filter('pre_get_posts', 'exclude_category');
Well - if you can tell me what is your feed URL and which category you want to exclude I will try it out.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
You should replace the your taxonomy term slug instead of ID. For now its set to exclude 'annonsorinnhold' term - if you want to exclude another term, just replace the term slug with 'annonsorinnhold'.
Oh, I am so sorry. I missed where it stood the term name. There alot of going on at the moment and trying to do several things at the same time. I am sorry.
I tried out with replacing the term into "samferdsel" and opened a new browser with refreshed cookies and it works. So thank you, solved the problem.