Tag Info

New answers tagged

1

Here is a great example. How to display featured post thumbnails in WordPress feeds paste this code snippet in your theme functions.php file // display featured post thumbnails in WordPress feeds function wcs_post_thumbnails_in_feeds( $content ) { global $post; if( has_post_thumbnail( $post->ID ) ) { $content = '<p>' . ...


1

Within the default feed template you'll find something like this: <language><?php bloginfo_rss( 'language' ); ?></language> As you can see the bloginfo for the feed (bloginfo_rss()) is called (instead of get_bloginfo()). You can overwrite the feed language separately via a filter in your functions.php: add_filter('bloginfo_rss', ...


0

Have a look at http://codex.wordpress.org/Customizing_Feeds and try using a template for your feed. There are a variety of ways to customize your feeds, through the use of third-party software you install and add-on to your WordPress site, or by manually changing the feed templates to meet your needs. Find a tutorial here ...


1

You can do this using a plugin. A couple of options are RSS Image Feed WP RSS Images


0

function wpsites_exclude_category_rss_feed($query) { if ($query->is_feed) { $query->set('cat','-007,-008'); } return $query; } add_filter('pre_get_posts','wpsites_exclude_category_rss_feed'); Either of these snippets in your functions file will work using pre_get_posts function wpsites_exclude_category_rss_feed($query) { if ( ...


0

It was because my blog is at blah.com/blog but I use the WP API to actually display blog posts on another page on my site. Setting the priority of the filter to PHP_INT_MAX fixed the problem.


-1

For automatic posting to your facebook page, hopefully first you're using a page as opposed to a personal profile. Pages are publicly viewable. You'll probably also need to create an app for facebook as well. This plugin works for pages. https://wordpress.org/plugins/facebook-auto-publish/screenshots/



Top 50 recent answers are included