Viewing 11 replies - 16 through 26 (of 26 total)
  • Any ideas here?

    The basics, to start. You are including wp-blog-header.php before using the ec3_get_calendar() function in your page, correct? If so, try displaying a bit of standard WordPress info, like the blog’s name:

    <?php bloginfo('name'); ?>

    Thread Starter incrediblehelp

    (@incrediblehelp)

    “The basics, to start. You are including wp-blog-header.php before using the ec3_get_calendar() function in your page, correct?”

    Yes that is what you described to do from the beginning. I added the include wp-blog-header.php at the very top of the code of the page. Within the page itself I am referencing ec3_get_calendar() function.

    I tried adding the blog name get function and removed the other one and I am still getting this error.

    Thread Starter incrediblehelp

    (@incrediblehelp)

    Remember everything was working fine before and I simply moved the page from:

    https://www.northviewhockey.com/new to https://www.northviewhockey.com/

    Thread Starter incrediblehelp

    (@incrediblehelp)

    Did I do somehitng wrong when moving the file Kafkaesqui?

    And did you change the path to the wp-blog-header.php accordingly?

    Thread Starter incrediblehelp

    (@incrediblehelp)

    <?php include('https://www.northviewhockey.com/blog/wp-blog-header.php'); ?>

    I am using the code above as the include. Is that wrong?

    On a seprate question, what is the wp-blog-header.php page and how does it relate to me being able to run a PHP plugin on other parts of my website? I know I have edited a header.php doc, but not the wp-blog-header.php.

    From what I understand you are not supposed to put FULL PATHS for php like <?php include(‘https://www.northviewhockey.com/blog/wp-blog-header.php&#8217;); ?>

    should be more like:
    <?php include(‘/blog/wp-blog-header.php’); ?>

    right?

    2. Don’t even think about “touching it, LOL – I mean the wp-blog-header. When you call it in a file outside of WP it makes that file “WP aware” (lacking a better description) and makes possible to use ALL the WP functions on that file.

    1. I don’t know. I never use such a full absolute URI, only a path to the file. If you are reaching it from the root and it is in the /blog/ folder, it should be
    <?php include('./blog/wp-blog-header.php'); ?>

    All I can think of after that is when you moved the blog from New to your root server, did you take out the word <New> out of the path?

    https://www.northviewhockey.com/new to

    https://www.northviewhockey.com/

    Good Luck!

    Thread Starter incrediblehelp

    (@incrediblehelp)

    I chnage the path to be relative again to:

    “./blog/wp-blog-header.php”

    and it works now. I was using:

    “…/blog/wp-blog-header.php”.

    I think that is what was wrong.

    Thanks again everyone!

    Still not working.

    Yep, those are two very different lines ??
    One is going “up” and the other is going “down”.

    Edit. Having the better glasses ??
    You cannot have 3 dots, only 1 or 2.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘calendar on website and blog’ is closed to new replies.