(Solved) Supress Event Description or Excerpt from /events

Home Forums Calendar Products Events Calendar PRO (Solved) Supress Event Description or Excerpt from /events

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #102013
    efromdc
    Participant

    How can I remove the description or excerpt from being displayed at /events/<<any view>>?
    Of course I want them displayed when you click the link and see the individual page…but on http://url/events I want no description or excerpt. JUST the photo

    Thanks

    #102388
    efromdc
    Participant

    This is a high priority for me…can someone hold my hand please on this one?

    #103396
    Brook
    Participant

    Howdy efromdc,

    I am very sorry for this late response. For some reason we were not notified of this topic when you posted it.

    This snippet should do exactly what you want. Paste it at the top of your theme’s functions.php file, underneath the first line “<?php”. If your theme does not have a functions.php file, go to your theme folder, create a new text document file called “functions.php”, and paste this text in the first line of the file “<?php”. On line 2 or 3, paste that snippet.

    Did that work for you? Can I help you further? Please let me know. Cheers!

    – Brook

    #104486
    efromdc
    Participant

    You know…I thought about this a bit more. You answer was perfect, but I think I want a slightly different approach: YOu code snippet implies that “$excerpt” is defined SOMEWHERE. I’d like to change the output from $excerpt = ” to $excerpt = substr($excerpt, 0, 50); so as to just display the first 50 characters.

    Would that achieve the new desired outcome?

    #104500
    efromdc
    Participant

    Never mind. I tried it and it works pretty well…

    #105444
    Brook
    Participant

    I am glad to hear that worked efromdc. I hope the site development goes smooth. Cheers! – Brook

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘(Solved) Supress Event Description or Excerpt from /events’ is closed to new replies.