Custom Archive for Organizer and Venue

Home Forums Calendar Products Events Calendar PRO Custom Archive for Organizer and Venue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1083041
    petitmill
    Participant

    Hello!

    I am trying to make a custom archive for organizer and venues. After searching the forum, here found a related topic:

    Archive templates for Venues and Organizes

    Venue and Organizer both has archive now but they are displayed as “list view”. “archive-venue.php” and “archive-organizer.php” cannot be called.
    At “Topics: 3”, I tried the untested code but it seems not working…. May you suggest how I could use custom archive?

    Thank you very much in advance! : )

    #1083151
    George
    Participant

    Hey @petitemill,

    Thank you for reaching out. We unfortunately cannot provide any assistance with custom coding projects like this. Please see the “Product Support” section on this page for more information → http://theeventscalendar.com/terms

    I would still like to help as much as possible regardless, though!

    For example, one thing alone that might be a major factor here is the naming of your files alone. Instead of archive-venue.php, for example, try archive-tribe_venue.php. And instead of archive-organizer.php, try archive-tribe_organizer.php.

    More work will likely be needed, but this simple file name change alone should make an impact!

    Cheers,
    George

    #1083199
    petitmill
    Participant

    Thank you very much George!
    Sorry that I haven’t read the terms before. And thanks again for your kind assistance!
    Unfortunately renaming file is not working on my side. (cannot call the custom archive php ) Will try another work-around instead. : )

    #1083206
    George
    Participant

    No worries @petitmill, thank you for the update here and for being mindful of our terms!

    I’m sorry that there’s not much specific action I can recommend here. If you’re willing to tinker around with code a bit, you might be able to make some progress by modifying the getTemplateHierarchy() function—you can search for this inside your plugin code, it’s in a file at src/Tribe/Templates.php and is where the loading of templates ultimately happens.

    I hope this is a helpful step!

    Sincerely,
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom Archive for Organizer and Venue’ is closed to new replies.