Support » Plugin: WP RSS Aggregator » Custom feed

  • Resolved jambalaya44



    I’m using your custom feed URL and it works great so far.

    However, I’d like to know if it’s possible to modify the <link>URL</link> parameter on the top of the custom feed? By default, it’s my blog url (domain/subdirectory/) but I’d like to use only the domain.

    Thanks in advance for your help!

Viewing 1 replies (of 1 total)
  • Plugin Support Eric Gunawan


    Hi @jambalaya44,

    Glad to hear you find the Custom Feed URL works for you.

    The <link>URL</link> is produced from the following script:

    <link><?php echo get_site_url(); ?></link>

    Since it uses the get_site_url() function, you can modify it by using the site_url filter. Here’s a sample on how to implement the filter.

    However, by modifying that filter, it might affect another part of your site which uses and applies those filter. It could cause a side effect that we won’t know for sure.

    Alternatively, you can edit that script directly at the plugin file (see /includes/custom-feed.php line 129). But this is actually not recommended since if the plugin gets an update, you’ll lose your changes and you’re going to need to re-apply it again.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom feed’ is closed to new replies.