• I have tried the following two codes as described in the link…

    add_filter( 'wprss_ftp_link_post_title', 'link_my_post_titles' );
    function link_my_post_titles() {
        // Return an array of feed source IDs. Replace 23, 49, 11 with your own feed source IDs.
        return array( 23, 49, 11 );
    }
    add_filter( 'wprss_ftp_link_post_title', function ( $link ) { 
        return get_query_var( 'seopress_cpt' ) === '';
    } );

    The first one works. The second one also works like it is supposed to for the sitemap… but then it redirected all of the posts in the entire site to the original website too?

    Is there a way to get the second snippet to only run for SEOpress? Or only for the sitemaps?

    • This topic was modified 5 years, 2 months ago by Justin.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Sorry, but I am not familiar enough with WP RSS Aggregator to answer this. The code you provide is all specific to that plugin, and not to WordPress in general.

    You would definitely get a better answer asking somewhere that is more familiar with the WP RSS Aggregator plugin.

Viewing 1 replies (of 1 total)

The topic ‘Help WP RSS Aggregator & Sitemaps’ is closed to new replies.