Can html before calendar show on main page only?

Home Forums Calendar Products Events Calendar PRO Can html before calendar show on main page only?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #72229
    elementalhealing
    Participant

    I have some text I’d like on the main calendar page on the website but not on the individual events pages. Is it possible to put text in on only the main calendar view? Currently, I have it in the html before area.

    #72294
    Barry
    Member

    Hi elementalhealing – you could try adding something like this (which should hide the before HTML field contents on all views except month view) to your theme’s functions.php file.

    If you have something other than the month/calendar grid as your main events view or have other requirements then of course you might need to tweak it slightly 🙂

    Hope that helps!

    #72398
    elementalhealing
    Participant

    Thank you, Barry! That did work, however, now the calendar won’t load the next month. Any idea why that would be?

    #72582
    Barry
    Member

    Hi elementalhealing. Does the second problem resolve itself if you remove that code?

    #72758
    elementalhealing
    Participant

    Barry, all is well, thank you! I found what was conflicting in my theme. Thank you for your help!

    #72766
    Barry
    Member

    Great!

    #981548
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Can html before calendar show on main page only?’ is closed to new replies.