Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript WordPress php include issue.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40520
    John
    Participant

    I have this line on another site that isn’t using wordpress and it works fine. I just need to know how to get this working in wordpress. This is going into the header area.

    #112893
    SgtLegend
    Member

    Where is your `news.php` file located in your theme?

    #112897
    kgscott284
    Participant

    In fact it does when dealing with wordpress…

    You can not simply call it relatively, you need to call it absolutely using the WordPress constant “TEMPLATEPATH” like this:



    #112946
    TheDoc
    Member
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.