WordPress.org

Forums

Events Manager
[resolved] List Events: First with thumbnail (7 posts)

  1. M Szatkowski
    Member
    Posted 2 years ago #

    Hi
    I wonder if it is possible to list events where first contains thumbnail....

    Can I do it with template somehow?

    Thanks

    Regards
    M

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    did you mean only the first event should display the thumbnail/feature image while the rest should not?

    maybe you can try template file at templates/templates/events-list.php

    http://wp-events-plugin.com/documentation/using-template-files/

  3. M Szatkowski
    Member
    Posted 2 years ago #

    yes... I used code like this:
    [events_list category="195"]<div class="eventz #_LOCATIONTOWN"><div class="eventimg"><a href="#_EVENTURL">#_EVENTIMAGE{50,50}</a></div><div class="eventlink">#_EVENTLINK</div> <div class="eventlocation"> #_LOCATIONLINK </div></div>[/events_list]

    I have no idea how to set the thumbnail only at first event...
    If it is impossible - it's not a problem.. I'd accept the current version.

  4. agelonwl
    Member
    Posted 2 years ago #

    I see now; I'm afraid that it's not possible at the moment without coding.

    please see this tutorials - http://wp-events-plugin.com/tutorials/

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    Do you mean the first event in your list would contain the thumbnail?

    If so, you could probably manage this using two shortcodes, with limit="1" for the first shortcode, and offset="2" in the second one, then just add the thumbnail to the first format

    hope that helps!

  6. M Szatkowski
    Member
    Posted 2 years ago #

    Marcus, you're the boss!
    I did not know 'offset' option :)
    :)

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    np! had to use a little creativity there ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.