Images in an RSS feed
Images in an RSS feed
Images in an RSS feed
URL syntax for searching post titles only (for RSS following)
Get URL parameters with rewrite rules
Scheduled parsing of XML feed into wp_insert_post()
Disabling options for xml feeds
To specifically exclude posts with “2024” in their titles using a code snippet, you can add this to your theme’s functions.php file: function exclude_title_posts( $query ) { if ( $query->is_search && !is_admin() ) { $query->set(‘post_title_not_like’, ‘2024’); } } function modify_search_where( $where, $query ) { global $wpdb; if ( $title_not_like = $query->get( ‘post_title_not_like’ ) ) { … Read more
Hiding posts from main page/archive but not RSS feed [duplicate]
Getting table to format properly in RSS feed emails
SimplePie does not necessarily use the exact feed URL that was passed to fetch_feed() – see SimplePie::get_cache_filename(), but yes, WordPress adds the feed_ prefix to the transient key. So you can instead try using the wp_feed_options hook to get the correct transient key and then delete the existing transient. $bypass = $this->bypass; add_action( ‘wp_feed_options’, function … Read more
fetch_feed() returns a SimplePie object. From a quick glance at its source, it looks like you can use $feed->status_code // on the public API $feed->data[‘headers’] // technically private