Tag Info

New answers tagged


You can use the get_post_thumbnail_id to get the ID of the thumbnail, then with the function wp_get_attachment_image_src you can get the image of the size you want, including full size, using the second paramenter. $thumb_id = get_post_thumbnail_id(get_the_ID()); $thumb_data = wp_get_attachment_image_src( $thumb_id, 'full'); Now in $thumb_data you ...


http://cameron.ghost.io/fixing-rss-feed-in-wordpress/ follow the instructions here from the theme directory. This issue is caused by whitespace somewhere in your php files. There is a single terminal command to fix.


In case it helps anyone... I had misunderstood - the feeds argument of 'rewrite' was merely about the formatting of feed URLs (to use rewriting). What I want is not to have a feed URL output in the <head> of my custom post type pages. The only way I have found to do this, is using remove_action( 'wp_head', 'feed_links_extra', 3 ); although this ...


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 ...


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.

Top 50 recent answers are included