WordPress.org

Support

Support » Plugins and Hacks » The Events Calendar » [Resolved] Custom link to internal page for each event (calendar and list view)

[Resolved] Custom link to internal page for each event (calendar and list view)

Viewing 4 replies - 1 through 4 (of 4 total)
  • TEC Events are a custom post type as well… I think your options are to create a template for a TEC single event display that is the same as your existing template, and switch to using it, or a redirect

    If you want to redirect the URL try the Redirection plugin but be aware there are a couple of bugs with it and, depending how you use it, it may not play nice with TEC

    You should be able to define a simple rule to redirect from a TEC calendar listing to your custom post type

    Nick Froome

    Plugin Author Rob La Gatta

    @roblagatta

    I’m a bit late to this party, but thanks – as always – for the assistance, Nick.

    Crbarnett: that help? Still got any questions here, or can we assume you got this sorted?

    Yes, I have found a work around for this.

    Basically, created a custom field event_url with a custom field plugin.

    Around line 133 of table.php I replaced this code:
    <a>"><?php the_title(); ?></a>

    With the new:
    <a>ID, 'event_url', true); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>

    Plugin Author Rob La Gatta

    @roblagatta

    Ah, fantastic to hear you got this sorted. Thank you for confirming as much, and for providing the fix that worked (it should add value for other users in the same boat down the road).

    Thanks for your support and for using The Events Calendar. If you need anything else down the road just give us a shout. Going to mark this one RESOLVED for now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Custom link to internal page for each event (calendar and list view)’ is closed to new replies.
Skip to toolbar