Home › Forums › Calendar Products › Events Calendar PRO › How do I hide End Date & Time?
- This topic has 17 replies, 3 voices, and was last updated 12 years, 1 month ago by Jonah.
-
AuthorPosts
-
March 9, 2012 at 8:07 am #16506Dave MeyerParticipant
I’m working on an Event Calendar for a concert venue. They don’t want to display end Dates & Times for their events.
http://img713.imageshack.us/img713/2469/enddate.pngI tried the steps listed in https://theeventscalendar.com/support/forums/topic/how-to-delete-end-date-end-time/#post-12353 , but that didn’t seem to work.
March 9, 2012 at 10:55 am #16521RobMemberHey Dave. I can get Jonah to take a look at why that other solution wouldn’t be working. Can you post the code you’ve used so we can take a look at it directly?
March 9, 2012 at 1:53 pm #16547JonahParticipantHi Dave,
The same instructions should apply as in that thread. Make a copy of /wp-content/plugins/the-events-calendar/views/list.php and place in an ‘events’ folder in your theme. And then find lines 53-56 and remove them. That should do it. If it’s not working for you can you please http://pastie.org your list.php code so I can see what you’ve got.
March 9, 2012 at 2:07 pm #16551Dave MeyerParticipantHere is my list.php
March 12, 2012 at 8:27 pm #16641JonahParticipantHey Dave, the code for the end date is still in your list.php so you must not have followed the instructions. Did you make a copy of list.php and place it in an ‘events’ folder in your active theme? Then you’ll want to remove lines 53-56 in the new copy of list.php that looks like this: http://pastie.org/private/43xpla03gyxjxxvjp3eow
March 16, 2012 at 9:39 am #16844Dave MeyerParticipantJohah, Thanks for the help.
If you look through my list.php line 53-56 it does not look like the code you listed.
That code doesn’t show up until line 107 & 108 in my code. That’s where the confusion came in.
I’ll try what you posted and reply to this thread.
March 16, 2012 at 10:01 am #16845JonahParticipantSounds good Dave, keep me posted.
March 16, 2012 at 11:10 am #16857Dave MeyerParticipantJonah,
I removed the code as you recommended, but the end date is still showing up:
March 16, 2012 at 11:13 am #16858Dave MeyerParticipantI cleared my browser cache. There is no caching plugin on the site.
March 16, 2012 at 11:25 am #16860JonahParticipantIs this a copy of list.php in an ‘events’ folder you’re working with? Can you paste what you’ve got again?
March 16, 2012 at 11:31 am #16862Dave MeyerParticipantHere is a copy of the current code: http://pastie.org/3609915
The line you recommended were deleted.
The list.php file is located here: /wp-content/themes/medina_entertainment/events/list.php
March 16, 2012 at 11:33 am #16863JonahParticipantHi Dave, the code you provided works for me when I put it in my themes list.php override. Not sure why it’s not working for you. Have you tried another browser?
March 16, 2012 at 12:16 pm #16865Dave MeyerParticipantI’ve tried different browsers on different computers.
http://medinaentertainment.com/event/bellamy-brothers/ still shows the end date.
I do have Events Calendar Pro install. The server is a VPS.
I can’t figure it out…. It’s maddening!
March 18, 2012 at 9:32 am #16897JonahParticipantWanna email me FTP details and I’ll take a look at what you’ve got? Email to jonah [at] tri [dot] be
Thanks,
JonahMarch 19, 2012 at 11:49 am #16927Dave MeyerParticipantemail with FTP sent.
-
AuthorPosts
- The topic ‘How do I hide End Date & Time?’ is closed to new replies.