'php include' in Header Messes Up Theme (2 posts)

  1. fattpacman
    Posted 4 years ago #


    I'm trying to use the php include function in my header, as seen on my site [it's the Now: xxx] in the header on the right].

    Anyway, it works fine, however any pages that list blog posts etc show up as "No Results Found"

    Could there be a solution to this, as this script is pretty vital to my site as a radio station, but I cannot find a way around this at all!

  2. fattpacman
    Posted 4 years ago #


    Just some more info:

    It's showing the 404 page
    I'm running Delicate News from Elegant Themes
    And here's the code I'm using: ?php include(ABSPATH."/scripts/now/now.php"); ?>
    And I've also tried using include_once

Topic Closed

This topic has been closed to new replies.

About this Topic