WordPress.org

Forums

The Events Calendar
Category View of Upcoming Events: Broken Links (10 posts)

  1. John Peden
    Member
    Posted 2 years ago #

    Hi folks,

    On the events view of my upcoming events, the author link is generated but with no anchor text or link to a specific author. As such, its a broken link. You can see the page here: http://www.britishcouncil.or.tz/events/category/teaching-centre. Note the problematic line:

    "By on October 2, 1900"

    Evidently, this is a bug as its looking for the date/author of the page (which doesn't exist) rather than the actual event. How can I customise it/get it working?

    Thanks

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. jonahcoyote
    Member
    Posted 2 years ago #

    Hi John,

    This is handled via your theme's single.php template file. You'll need to either hide this info or figure out how to get it displaying the correct info.

  3. John Peden
    Member
    Posted 2 years ago #

    Managed to remove the post_info stuff but I'm getting a lot of notices. Repeatedly seeing this:

    Notice: Undefined property: stdClass::$post_title in /media/sf_sites/solas-lite/wp-includes/query.php on line 3387

    Notice: Undefined property: stdClass::$post_name in /media/sf_sites/solas-lite/wp-includes/query.php on line 3389

    Notice: Undefined property: stdClass::$ID in /media/sf_sites/solas-lite/wp-includes/query.php on line 3385

  4. John Peden
    Member
    Posted 2 years ago #

    I'm using Genesis theme; not something that has been poorly coded or is particularly obscure.

  5. jonahcoyote
    Member
    Posted 2 years ago #

    Hi John,

    Those errors are not related to our plugin. You'll need to track down what's triggering them yourself.

  6. John Peden
    Member
    Posted 2 years ago #

    Hi Jonah,

    How does TEC use the theme's single template to generate this page? If I can figure that out, I'll be able to define these values and make the errors go away.

    Thanks

  7. John Peden
    Member
    Posted 2 years ago #

    Sure it isn't the archive template?

  8. John Peden
    Member
    Posted 2 years ago #

    It is the archive template, not single.

  9. John Peden
    Member
    Posted 2 years ago #

    The notices are caused by the is_page() function, while this is identified as an archive page, my theme loads the single.php template. It proceeds to call for a number of object variables that TEC does not define. As they are just notices appearing under wp_debug, I'm going to shelve this for now.

  10. jonahcoyote
    Member
    Posted 2 years ago #

    Sounds good John, let us know if there's anything else we can do for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic