Tag Info

Hot answers tagged

2

Assuming that the correct URL is http://talentsofautism.com... The problem is with a call to colorful_continue_reading_link, which is not a WordPress function. Fatal error: Call to undefined function colorful_continue_reading_link() in /home/content/42/9357842/html/talentsofautism/wp-content/themes/d5-colorful/functions.php on line 67 A search ...


1

You could use a wrapper for fetch_feed() as a simple shortcode. Very basic example; see the RSS widget code for more options. <?php # -*- coding: utf-8 -*- /** * Plugin Name: T5 Feed Shortcode * Description: Use <code>[feed url="http://wordpress.stackexchange.com/feeds"]</code> to display a list of feed items. */ add_shortcode( 'feed', ...


1

Your question is pretty minimal but I will give it a shot. You would want to add a meta box for your value. On save_post save the data to $wpdb->postmeta Filter your feed using pre_get_posts and/or posts_where as needed. A very basic code outline: function generic_box() { add_meta_box( 'generic_box', // id, used as the html id att ...


1

FYI, you should never hack the WordPress core files. Instead, WordPress provides the handy rss2_item action hook. All we need to do is check if we're on a category feed or not: function wpse_99336_category_feed_item() { if ( is_category() && get_the_post_thumbnail() ) { printf ( '<featured-item>%s</featured-item>', ...


1

For terms and taxonomies use get_term_feed_link: "Returns a link to the feed for all posts in a given term. A specific feed can be requested or left blank to get the default feed." See also get_tag_feed_link and get_category_feed_link. For post types see get_post_type_archive_feed_link. These functions are located in in ...



Only top voted, non community-wiki answers of a minimum length are eligible