• Resolved stuu3270

    (@stuu3270)


    Hi,

    Can you help me to format the events list? There are large spaces between each line or <p> on each event.

    My Events Page

    I just want to condense the event layout down a bit.
    Thanks

    Stuart

Viewing 1 replies (of 1 total)
  • Plugin Author Dave

    (@sourcez)

    Hi Stuart

    At the moment you’ll need to edit the files to change this.

    In wp-admin you can go to Plugins>Editor and change seatt_events_include.php.

    Change:

    <p><strong>Description:</strong> ' . wpautop($event->event_desc) . '</p>
    				<p>Registration opens at ' . date("d-m-Y H:i", $event->event_start) . '</p>
    				<p>Registration closes at ' . date("d-m-Y H:i", $event->event_expire) . '</p>';
    
    				if ($event->event_limit != 100000) {
    					$seatt_output .= '<p>
    					<strong>Max Participants:</strong> ' . intval($event->event_limit) . '</p>';
    			}

    To:

    <p><strong>Description:</strong> ' . wpautop($event->event_desc) . '<br>'
    Registration opens at ' . date("d-m-Y H:i", $event->event_start) . '<br>
    Registration closes at ' . date("d-m-Y H:i", $event->event_expire);
    if ($event->event_limit != 100000) {
    	$seatt_output .= '<br>
    	<strong>Max Participants:</strong> ' . intval($event->event_limit);
    }
    $seatt_output .= '</p>';

    And it’ll probably look a little better. It’s the theme setting the padding on the <p> in each row that’s spacing it out so much.

    • This reply was modified 7 years, 11 months ago by Dave. Reason: Added code tags
Viewing 1 replies (of 1 total)

The topic ‘Event List Format’ is closed to new replies.