All-in-One Event Calendar
Event details on bottom of post (8 posts)

  1. borisj
    Posted 4 years ago #

    How can I make it happen that the event details in an event post appear at the end of the post, i.e. the text I write in the post should appear before the details.

    CSS, php, etc?

    The best would be to have the opportunity to write text before and after the event details.

    Maybe a shortcode?


  2. Yani Iliev
    Plugin Contributor

    Posted 4 years ago #

    We are building a theme system for the plugin meaning that later this year you will be able to choose from different theme for the plugin that can do exactly what you want. For now, you will have to edit the plugin. The file of interest is: app/view/event-single.php

  3. borisj
    Posted 4 years ago #

    Great1 Thanks for the speed response :-)

  4. TribalDancer
    Posted 4 years ago #

    This is excellent news, as I was wondering the same thing. Thanks for the reply, Yani!

  5. borisj
    Posted 4 years ago #

    Yes, thank you for the hint. It is a simple float-style to add to the table tag of the event details. But this does not work if you use aligned images in the post. These will remain at the bottom. For this you need to adjust the width of the table with the event details, in that way that they have "space" to jump at the top (e.g. image size=40% then table size < 60%).

    Is there an other way to fix this issue by changing the order in the post somewhere else?

    i.e. post text first, event detail table second


  6. emilysparkle
    Posted 4 years ago #

    i would like to know this too!

  7. shrmn
    Posted 4 years ago #

    Yes it is possible.

    Edit file /all-in-one-event-calendar/app/controller/class-ai1ec-events-controller.php

    Under the function get_view, move the line echo $content; (should be line 570 for ai1ec v1.5) to directly under ob_start();.

    Developers, you could add this as part of a Setting for the next release! (:

  8. borisj
    Posted 4 years ago #

    Great, thxs!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic