• Resolved Modifiedcontent

    (@modifiedcontent)


    I’m trying to use SimplePie RSS. It has lots of annoying picky behavior. To include more than one set of RSS feeds on a page I have to use a URL for one of them – don’t ask me why…

    This works:

    <? include 'https://hardcodedurl.com/feeds/feeds.php'; ?>

    To avoid hardcoded URLs I’d like to use this, but this doesn’t work:

    <? include WP_SITEURL.'/feeds/feeds.php'; ?>

    Also tried it with WP_HOME. Nothing works. Why not? Anything else I could try?

    What are the WP_THINGS called? They’re not template tags, are they? Is there a reference list of them somewhere?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP_SITEURL, WP_HOME confusion’ is closed to new replies.