Shortcode in a page, switching views uses the wrong link

Home Forums Calendar Products Events Calendar PRO Shortcode in a page, switching views uses the wrong link

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1531132
    Daniel Morduchowicz
    Participant

    Hi, I’m trying to put a calendar in a page using the tribe-events shortcode. I specifcally would like for it to start in the month view. However if I don’t turn off the tribe-bar, the user can click on other views. When doing so the link is wrong.
    The original link is https://thefoodery.la/index.php/calendar-test.
    The new click takes you to:
    https://thefoodery.la/calendar-test?tribe_event_display=list.
    This page does not exist as it is missing “index.php”.
    This is the shortcode I’m using:
    [tribe_events category=”DISCOUNTED” view=”month”]
    And I’m attaching screen shots.

    #1531447
    Andras
    Keymaster

    Hi Daniel,

    Thanks for reaching out!

    Is there a specific reason you are using ‘index.php’ in your permalink structure?

    Btw, if you would like to still use the bar but don’t want users to be able to look at other views, then you can switch off the views under Events > Settings > Display tab (screenshot)

    Does this help?

    Cheers,
    Andras

    #1531623
    Daniel Morduchowicz
    Participant

    Hi, András.
    Thanks for replying.
    I wasn’t aware you can change the permalink structure.
    When I create a new page or post, and I publish it, WordPress automatically assigns the permalink, which includes the php.
    How do you change the permalink so it does not include a php link?
    Thank you
    Daniel

    #1531631
    Daniel Morduchowicz
    Participant

    Hi, Andras.
    I found the solution. I wasn’t aware that you could change Permalinks in the settings.
    Thanks so much for your help.
    Best

    #1532535
    Andras
    Keymaster

    You’re welcome Daniel, happy I could help!

    Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.

    Cheers,
    Andras

    PS: We’d be grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Thanks!

    PS2: If you like our plugins, and you didn’t yet do so 🙂 we would also be happy to receive a review in the wordpress.org repository. Much appreciated!
    https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
    https://wordpress.org/support/view/plugin-reviews/event-tickets/

     

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Shortcode in a page, switching views uses the wrong link’ is closed to new replies.