Home › Forums › Calendar Products › Events Calendar PRO › Moving ‘Upcoming events’ location
- This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
November 19, 2013 at 6:11 am #77284
aurelio
ParticipantHi Everyone 🙂
I have recently made some changes to my theme to move the h1 heading of every page/post to my bannercontainer. the code is here: http://pastebin.com/LmiYGCh8My problem is that on my events views (i am using photo/map/month) the first event in every view shows up as my H1 heading in my banner.
I have followed Kelly’s videos on how to edit/delete the ‘upcoming events’ heading but ideally i would like to move it to my bannercontainer (located in ) and remove the event name 🙂
Any help would be greatly appreciated 🙂
November 20, 2013 at 6:10 am #77598Barry
MemberHi Aurelio,
One approach could be to add an extra set of checks (within the custom piece of code you pasted) to detect if you are on an event-related page and then output something different in those cases:
if ( tribe_is_event_query() ) echo 'Upcoming events';Something like that should broadly do what you need, of course you may need to tweak it slightly to add it to your current code and to get the exact result you are after. Hope that helps!
November 25, 2013 at 7:04 am #78434aurelio
Participantthanks barry.. i would like to be able to set tribe-events-page-title and tribe-events-single-event-title summary to appear in the banner instead of only ‘upcoming events’
my if/else/elseif knowledge is a bit limited… could you point me in the right direction using the code snip above?
much appreciated
November 25, 2013 at 1:57 pm #78481Barry
MemberUnfortunately I don’t have quite enough information here to give you a solution you can just drop in place … and this is really a customization which, though we’re happy to offer some pointers, is something you’d need to drive forward by yourself or with the assistance of a developer if necessary.
With that in mind I’ll close this thread – but there are plenty of fantastic resources out there to learn the basics of if/then/else etc.
Thanks – and good luck!
July 7, 2015 at 6:30 am #982409Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Moving ‘Upcoming events’ location’ is closed to new replies.
