Insert content below calendar

Home Forums Calendar Products Events Calendar PRO Insert content below calendar

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #108189
    nikolajmogensen
    Participant

    Hi

    I’m setting up an event site but would love to be able insert content below the calendar. The content is supposed to be unique for each category of events.

    Is this possible and how?

    I can’t seem to find anything in the support and tutorials as well as in the forum.

    Thanks alot
    Nikolaj Mogensen

    #108906
    Julie Kuehl
    Participant

    Hey Nikolaj,

    I can’t do this customization for you, but the information in this tutorial is probably the most relevant: https://theeventscalendar.com/altering-or-removing-headings-on-calendar-views/ Rather than making changes to the headings though, you’ll want to make the changes after the calendar. You might also find some useful information in our Documentation (http://docs.tri.be/) that can help you find the hooks you’re looking for.

    Does that give you enough information to go on? If you need more information or if we can point you in the right direction, please let us know.

    – Julie

    #109768
    nikolajmogensen
    Participant

    Hi julie

    Great – i now know in which file to put in the description – I just cant find the code in the documentation.

    can you point me as to what to insert in the file in order to put in the description of the category below the calendar?

    best regards

    #110049
    Julie Kuehl
    Participant

    Hey nikolajmogensen,

    You should just be able to put it at the end of the month.php file like this: https://cloudup.com/cBA0WOpnwg7 to have it show up like this: https://cloudup.com/cxbpMgXtPyn

    Is that what you need to keep going?

    – Julie

    #111363
    nikolajmogensen
    Participant

    Hi Julie

    Thx for the answer – however the solution will put in the same content on all category pages. What I would like is the category description to be shown. The one you edit under the categories like this: http://screencast.com/t/txuj7CyP

    What should i write to put that into the month.php ?

    best regards

    #112157
    Casey
    Participant

    nikolajmogensen,
    Hello! Hopefully I can jump in and help you out here. I believe this function will do what you’re needing: http://codex.wordpress.org/Function_Reference/term_description. You’ll just need to pass the ‘term_id’ (aka event category id) and the taxonomy name. Something like this should do the trick: https://gist.github.com/ckpicker/9346705

    Hopefully that gets you started in the right direction, but let me know if you have further questions or if this answers your questions. Thanks! 🙂

    -Casey-

    #116578
    nikolajmogensen
    Participant

    Great!

    Putting in
    <?php echo term_description( $term_id, $taxonomy ) ?>
    In the month php made it for me

    #116746
    Casey
    Participant

    Excellent! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5

    Thanks in advance. 🙂

    Cheers,
    Casey

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Insert content below calendar’ is closed to new replies.