Help Code Snippets & Sitemaps
-
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?
How do I get this to work?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help Code Snippets & Sitemaps’ is closed to new replies.