events customi

Home Forums Calendar Products Event Aggregator events customi

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #51423
    pandology
    Participant

    first off, well done for your plugins. have a couple of questions, which hopefully shouldn’t be a problem to resolve for you …
    1. in the events list http://tal-ostja.com/events/ how can i limit the event description to a maximum number of words? at the moment i’m using the manual excerpt but i’d like to have it automatic
    2. in the single events view … how can i display the full cover image of the facebook event? i.e. the 851×315 image at the top of a facebook event

    #51526
    Jonah
    Participant

    Hi pandology,

    For #1, my suggestion would be to use something like http://wordpress.org/plugins/advanced-excerpt/ – in order to use that plugin in the events list you’ll need to make an override of the list template by making a copy of /wp-content/plugins/the-events-calendar/views/list.php and placing in an ‘events’ folder in your theme. Then replace the_content() on line 45 with the the_advanced_excerpt() function and the options you would like.

    On #2, you should just need to change the post thumbnail size that’s being displayed. You can do this by making an override of /wp-content/plugins/the-events-calendar/views/single.php – again, make a copy and place in the same ‘events’ folder you created for #1. Then, find line 97 where the_post_thumbnail() function is called and add ‘full’ in between the parentheses like this:

    the_post_thumbnail('full');

    That should do it but let me know if you need any other assistance.

    – Jonah

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘events customi’ is closed to new replies.