Viewing 15 replies - 1 through 15 (of 26 total)
  • If “new” is a PHP document (i.e. index.php), all you need do is:

    1. include wp-blog-header.php in the page. You do this by, at the very top of the document, adding:

    <?php include('../blog/wp-blog-header.php'); ?>

    Just make sure the path to wp-blog-header.php is correct.

    2. Insert this where you want the calendar to display:

    <?php get_calendar(); ?>

    how did you get the post to display by clicking the date? when i had this plugin, when i clicked the date, it showed the whole archieve page for the events catagory, and not simply the one entry for the day….

    It’s not a plugin…. what plugin were you using? Maybe need to start your own topic?

    Thread Starter incrediblehelp

    (@incrediblehelp)

    It is a PHP document. Here is the code that I tried:


    <li>
    <?php ec3_get_calendar(); ?>
    </li>
    <li><?php _e('Events'); ?><br />
    <?php ec3_get_events(5); ?>
    </li>

    Sorry on the ticks

    -tick-

    hi

    Thread Starter incrediblehelp

    (@incrediblehelp)

    Kafkaesqui any ideas?

    incredible help, you need to start your own topic about this plugin problem (even better, contact the plugin author!) rather than hijack this topic.

    lookin_mahi, if you have something to add to the discussion, great. If you have a problem OTHER than the sort that’s under discussion here, please start your own topic.

    Thread Starter incrediblehelp

    (@incrediblehelp)

    I started the thread vkaryl. How is that a hijack?

    vkaryl, you may want to check the original poster.

    incrediblehelp, whether calling an internal function or one in a WordPress plugin, my suggestion above should allow you to access any WordPress-related features in a non-WordPress PHP document. Step #2 just needs to be modified to whatever you’re attempting to call.

    *rolls eyes at own silliness* Sorry…. I was reading threads on three other tabs, and that should have been addressed to Tony Wright.

    Not a hijack obviously.

    Thread Starter incrediblehelp

    (@incrediblehelp)

    NP vkaryl!

    It worked, thanks Kafkaesqui

    Everyone here is great!

    Now to get rid of those damn bullet li points!

    what anal people.

    Thread Starter incrediblehelp

    (@incrediblehelp)

    OK I moned my home page to the live website and the calendar option is not working now:

    https://www.northviewhockey.com/

    What am I doing wrong?

    Thread Starter incrediblehelp

    (@incrediblehelp)

    Any ideas here? I am sure it is something dumb I am missing.

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