Events Widget

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 10 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11167

    I hope I did not purchase the wrong plugin…

    I was doing considerable research about a week ago for an event manager plugin and had decided that this is the plugin I needed; however, I was sure that I saw a demo that showed in the events widget like a thumbnail of the date in front of each event.

    am I wrong about that?

    Thanks

    Tim Thompson
    #11172

    Hi Tim,

    There’s no demo with thumbnails in the event list widget, however, this is possible. There are two ways of doing this:

    1. Use the template field in the widget settings to provide a “placeholder” for each event
    2. Edit the widget-event-list.php template file

    E.g for (1), you set the template setting to the following:

    <div style="float:right; margin:0px 0px 0px 5px;">
        %event_thumbnail{[ENTER REGISTERED SIZE]}%
    </div>
    <a href="%event_url%" title="%event_title_attr%">%event_title%</a> <br>
    %start%

    and replace [ENTER REGISTERED SIZE] with any (registered) size your theme supports. Your theme may not have an image szie that’s a good fit for this, so you might want to add the following to your theme’s style.css:

    .eo-events-widget img {
    height: 50px;
    width: 50px;
    }

    Alternatively you can edit the template file (but first copy it your theme!).

    If you want more details, both of these methods are discussed here: http://docs.wp-event-organiser.com/widgets/events-list/. In both cases, mileage will vary themes, as it’s down to the themes to provide the “form”, but any problems can invariably can be corrected by making appropriate edits your theme’s style.css.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.