WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Starting the calendar at a specific month (13 posts)

  1. Herrjensen
    Member
    Posted 5 months ago #

    Hello, excuse me in advance if this is a daft question that has been answered elsewhere.

    But I would like to know if it's possible to start the calendar at another starting point than the current month/date.

    I have events spanning a few weeks, all within one month. My users do not need to be able to see all the other months of the year.

    So my question is this:

    Can I make it so only e.g. June is displayed in a month view?

    https://wordpress.org/plugins/the-events-calendar/

  2. kaniamea
    Member
    Posted 5 months ago #

    Hello,

    if you would like to display your June events only you could change the events link to http://yoursite.com/events/2014-06/ and if you would like to hide previous and next month view, add this to your child style.css or using the Simple Custom CSS Plugin:

    .tribe-events-nav-previous {
        display: none;
    }
    
    .tribe-events-nav-next  {
        display: none;
    }
  3. Herrjensen
    Member
    Posted 5 months ago #

    Hey kaniamea and thanks for your response.

    Again, excuse me if I'm being thick but where do I edit the events link? I don't have a folder in my domain called events.

  4. kaniamea
    Member
    Posted 5 months ago #

    You can go to your admin area - Dashboard => Appearance => Menus and if you already have a link Events in your menu, click on it (where it says Custom) and change the URL there.

  5. Herrjensen
    Member
    Posted 5 months ago #

    Hmm doesn't seem to work. Just get a page not found error.

    I'm working locally and typed in http://localhost/sitename/events/2014-06/

  6. kaniamea
    Member
    Posted 5 months ago #

    Do you already have the events added to your site? If so, go to your main events page http://localhost/sitename/events/ and click on the month links (April, May, etc) until you reach the June page. Does it still show page not found error then?

  7. Herrjensen
    Member
    Posted 5 months ago #

    I do have events added in June and some test dates added for March.

    My link to the page seems to be different: http://localhost/sitename/?post_type=tribe_events is what I get when I'm on the calendar page after clicking on it in the menu.

    I've tried making it like http://localhost/jkf/?post_type=tribe_events/2014-06 and http://localhost/jkf?post_type=tribe_events/events/2014-06

    Am I just targeting the wrong links or what?

  8. kaniamea
    Member
    Posted 5 months ago #

    Check your Permalink Settings in the Dashboard => Settings => Permalink. You can set the URL structure you wish there. For pretty links you can choose: /sample-post/.

  9. Herrjensen
    Member
    Posted 5 months ago #

    You know what? That did the trick :) Thanks a lot!

    Silly me.

  10. kaniamea
    Member
    Posted 5 months ago #

    Great! :)

  11. Herrjensen
    Member
    Posted 4 months ago #

    Hey again, don't know if this thread is still writable after marking it as resolved, but I have a follow up question:

    Is there anyway to just show a couple weeks rather than one whole month?

  12. kaniamea
    Member
    Posted 4 months ago #

    Hmm, I think it is not possible. The PRO version has a feature that allows you to display events weekly.

  13. leahkoerper
    Modern Tribe Support Rep
    Plugin Author

    Posted 4 months ago #

    Hi kaniamea - Thanks for being so helpful on our forum! We'd love to send you a little something as a thank you. Can you email us (pro /at/ tri.be) with your mailing address?

    Best,
    Leah

Reply

You must log in to post.

About this Plugin

About this Topic