My latest RSS feed shows 20 posts for example, but I want to include a certain category no matter how old the post is (for example, my 'featured' post category), and also just get 1 latest post from this category.
I've been trying to look for plugins, but I'm not exactly sure what it would be called. Any help would be appreciated.
Try WP RSS Aggregator plugin, it has many options that i think it will help you for example :
-Set the name of the feed source
-Select number of posts per feed you want to show and store
and more.
Related
Long title, but what I'm trying to accomplish is
1) Adding a Post Object field to the Add/Edit Category page to specify a single post to use as a featured/sticky post for that category. As far as I can tell there's no way to do this (featured category post). Have used https://wordpress.org/plugins/category-sticky-post/ in the past but seems dead and starting to act buggy.
2) Display that post on top of the respective archive page 1, and then start with the normal loop for that category. This is working perfectly.
3) Where I'm stuck is how to exclude that featured post from the query so we don't get duplicates. I'm trying to do this in a pre_get_posts function in functions.php to modify the query so it functions like a normal archive page otherwise.
If you know of an easier way to simply set a featured article for a category I'm open to suggestions. I know sticky for main homepage loop but nothing for archive pages.
You may need more info but that should be a good starting point. Using ACF Pro (latest)
Thanks for the help!
You can use the ignore_sticky_posts property while querying posts using WP_Query to exclude the sticky/featured posts.
Reference: WP_Query
I am using Magento 2 Community 2.1.9, I am also set the default RSS feeds. I reviewed the content of the XML generated, it shows only some of the eligible products.
For example, I set to generate XML for a category of 'shoes', only some of the shoes inside this category are included in the XML. Most are not included.
I am confused, do you have any idea? Is there a bug? How I can modify the code to make it include everything under the said category.
Thanks.
Please check if the products are visible/in stock/enable
Also compare any one of the product that is not seen in the feed with the product that is seen to check all the attribute values are set properly.
Hope this helps
I am building a mobile app for my wordpress site. I am planning to read the RSS feed from the website and display it using the mobile app. For this first I need a list of categories to be displayed on the home page and when the user selects a category, the posts in the category is displayed. I know how to get category specific RSS feed, but couldn't find a way so that I can get a list of all categories available on the website. Are there any plugins available which does this?
Any help will will be appreciated!
I personally prefer JSON over RSS feed.
To enable Wordpress output JSON just install this plugin
Then you can use it to browse categories and then posts on categories. For example on my own blog:
Categories
http://www.tapanila.net/api/get_category_index/
Posts from category Index 1
http://www.tapanila.net/api/get_category_posts?category_id=1
Whole documentation
I have a client that is using the ExpressionEngine CMS. Up until recently, they had one blog with an RSS feed. They then created a second blog, with its own RSS feed. They now want to move some of the older posts in the original blog over to the second blog, as they fit better in the second blog.
My question is this: if we just re-categorize the blog posts, are these older posts going to show up in the second blog's RSS feed, and if they do, will they appear as new posts?
There are three main reasons why older posts may show up as new in a feed reader:
The GUID or permalink to the post has changed from what it was before
The post was not previously in the RSS, regardless of its date
The pubDate has changed indicating a new item compared to the existing cache
Most aggregators look at the GUID or permalink first to determine uniqueness of item and whether or not to have it show up as new. If neither of those are present they may fall back to the pubDate element.
Just changing the text or category of the post usually doesn't send out a signal that the post is new.
Unless of course changing the category also means it turns up in another RSS feed, as in your case, in which case, it will show up as new no matter when you posted it.
In wordpress, there is settings for the feed to show Summary or Full. I want to show only content summary at Feeds. But the default summary is still too long for me. And there's another way to add excerpt at each of the post. For that option, I can't use it either because I am running multiple author blog and most of the people don't know how to add excerpt and my posting form is custom form which is not allowed to add excerpt. I tried to search at google and wordpress plugins, but still haven't get any clue yet.
Is there anyway to limit characters at feed display ? Or is there any plugin out there ? Like at feedburner, I can activate summary feeds and limit the characters.
Please kindly help me out again. Thank you.
put the following in the theme's functions.php file:
add_filter('excerpt_length',create_function('$a','return 25;'));
Where 25 is the number of words you'd like to appear in the excerpt.
If you want the normal excerpt length on the regular page but the short one in the feed, use:
if(is_feed()){
add_filter('excerpt_length',create_function('$a','return 25;'));
}
I don't know whether that will work for sure with all feeds, so I'd suggest just using it without the is_feed() check.