Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter HumbleThinker

    (@humblethinker)

    ETA: Did a bit of a hack to get the URL of a page to match the page the index title was trying to redirect to, but clearly I am unsure how this API creates single events pages, so I will leave it alone for now until I can discuss things with you guys.

    Plugin Author Automattic

    (@automattic)

    Hi HumbleThinker,

    The piece of the puzzle you’re missing is that the single view is generated by the plugin; it doesn’t exist as a real post. It’s just rewrite rules and template hackery to display the event as if it was a real post. It should all just work automatically if you’ve properly given a page the Eventbrite Events page template, and you’re using permalinks (under Settings > Permalinks). That may not have been working for you if your events page wasn’t published.

    Secondly, how can I change the size of the iframe showing my tickets? I would like to not have a scroll bar present.

    Yeah, the iframes are tricky. Being iframes, we have no idea how tall they should be (and the height varies each event according to the contents of the iframe, like number of ticket categories, status of event, etc). It’s pretty much black magic, so we’ve gone with some common sane defaults.

    You have two options; you can filter the height using eventbrite_ticket_form_widget_height, or you can replace the eventbrite_ticket_form_widget_height() function (which is pluggable).

    Lastly, can I have the description show up on the index page as opposed to (presumably) on the single pages?

    Sure, you always have the option of doing custom templates for your theme (so you can add the_content() to your index template as you’re suggesting). See this article for details.

    Thread Starter HumbleThinker

    (@humblethinker)

    That was exactly the case. After publishing the Everbrite index page, I stopped receiving the 404 errors. Didn’t occur to me that that would be an issue because of the way the API was programmed.

    Tweaking the iframe and adding the_content were very easy, so that was nice. Thanks for the help.

    ETA: By the way, I really like how you commented out your code so thoroughly; it makes it very easy to know exactly what everything is doing and to edit it when I’m trying to tweak things.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting Permalinks to Match Index & Other Questions’ is closed to new replies.