Forums

Variables initialized in header.php not available later in footer.php? (3 posts)

  1. erick_paper
    Member
    Posted 10 months ago #

    Hi. I have some variables in the header.php of my theme. I imagine that these will be available in the footer.php of the same theme, given how WP works in a sequence. But they're not available in the footer.php. What am I missing?

    Thanks for any pointers.

  2. erick_paper
    Member
    Posted 10 months ago #

    No thoughts about this? Does this forum work at all? The last three threads for help that I have started are all with "no replies" in many days. Could someone please suggest a better place for WP help? I know it's free and all but I thought it was a big deal that WP's community was educated and helpful. I still have to see it!

  3. enailor
    Member
    Posted 8 months ago #

    Erick,
    You are not alone as I am also finding this problem and it appears this is popping up more and more. The problem is not in the forum, but that for some reason this is either a case by case issue (doubtful) or that few are using variables within their footers.
    I am also having the same issue and it goes beyond the variables I set myself. It also includes WP functions such as is_front_page.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.