WordPress.org

Ready to get started?Download WordPress

Forums

Event Category not displaying (12 posts)

  1. shareski
    Member
    Posted 8 years ago #

    I've installed the Event Calendar 3.0 and since then my Events Category does not display in the sidebar with the other categories. The creator said it's not an issue with the plugin but something I've done. he mentioned a nested category.

    Not sure what he means and if that is the culprit.

    http://hillcrest-church.net

    Any ideas?

  2. schulte
    Member
    Posted 8 years ago #

    Options > EventCalendar

    Flip to "Show events as blog entries: Events are Normal Posts" and see if it shows up.

  3. shareski
    Member
    Posted 8 years ago #

    Thanks but it doesn't make a difference.

  4. schulte
    Member
    Posted 8 years ago #

    Have you altered your sidebar at all with respect to category listings?

  5. allotherplaces
    Member
    Posted 8 years ago #

    I noticed that shareski has the same problem Ive had with this plugin, the weird formatting of the words: events, the date, and the title of cal post.

    See the big dot overlapping the right column?
    http://www.hillcrestchurch.ca/

    Anyway to get rid of this?

    thx

  6. nearlythere
    Member
    Posted 8 years ago #

    the div id="wp-calendar"... is nested in a <li> ... and that needs to be inside a <ul>

    you know what i mean?

  7. shareski
    Member
    Posted 8 years ago #

    I assume you me the sidebar template. Here's the code:
    <h2>Pages</h2>

      <?php wp_list_pages('title_li=' ); ?>

    <h2><?php _e('Categories:'); ?></h2>

      <?php wp_list_cats('optioncount=1'); ?>

    <h2><label for="s"><?php _e('Search:'); ?></label></h2>

    • <form id="searchform" method="get" action="<?php echo $_SERVER['/blog/wp-content/themes/connections/PHP_SELF']; ?>">
      <div style="text-align:center">
      <input type="text" name="s" id="s" size="15" />
      <input type="submit" name="submit" value="<?php _e('Search'); ?>" />
      </div>
      </form>
  8. <?php ec3_get_calendar(); ?>
  9. <?php _e('Events'); ?>
    <?php ec3_get_events(5); ?>
  10. <h2><?php _e('Monthly:'); ?></h2>

      <?php wp_get_archives('type=monthly&show_post_count=true'); ?>

    <h2><?php _e('RSS Feeds:'); ?></h2>

    Not exactly sure what to move.
    Thanks.

  • nearlythere
    Member
    Posted 8 years ago #

    a-ha...

    the documentation says you need to put the events into a list format, like this

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

    but since you removed the
    ul and li tags, i guess you're getting strange behaviour? try wrapping ul around the calls for events:

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

    </ul>

    see does that fix it?

  • nearlythere
    Member
    Posted 8 years ago #

    PART 2:

    i looked again at your code, and realized i can't read it... (you know about the backticks, right? i know, it's hard)

    i think i'm wrong in my above post... that won't work.

    the main problem is, you're outputting li's with no wrappping ul tags.

    to demonstrate: a normal list structure needs to be:

    <ul>
    <li>
    something here
    </li>
    </ul>

    so you have apparently got

    <li>
    something here
    </li>

    with no
    <ul>

    </ul>

    around it! does that help?

  • shareski
    Member
    Posted 8 years ago #

    Thanks for your help.

    Your first post does use the

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

    I did change it to this. But it's still not working. In fact, now even though I have other events, they aren't even showing up on the calendar. i posted to the plugins site but haven't had a reponse.

    Do you think reinstalling the plugin would help?

    Also, since you are apparently a very helpful person, would you mind looking at my other posting about my search feature issues and see if you have any ideas? I'm guessin it's another simple thing I'm doing wrong. My html/php skills are very limited as you can see.

    thanks once again.

  • nearlythere
    Member
    Posted 8 years ago #

    darn, i have to go get a train, but i will look at this on monday, in case anyone else can't help you today!

  • nearlythere
    Member
    Posted 8 years ago #

    it looks like everything is working ok on your site now, and i checked the search tool, and all looks OK. good!

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags