[Plugin: Gigpress] Decription info item has p tags (3 posts)

  1. Simone
    Posted 3 years ago #

    When I put the extra information like "time, admission, age resrticitons, etc" on my show description, it places each on a new line. I looked at the PHP and there is no <p> tags there, but the output html has p tags around each item. I looked at another site with the same plugin and these info items don't have p tags and have one per line. Compare it to my site

    Why does my output put P tags around each gigpress-info-item ?



  2. Simone
    Posted 3 years ago #

    Also - Comparing my city to theirs, my city seems to be 1-2 px too low.

    I added this css:

    td.gigpress-city {
    padding-bottom: 22px; }

    But it pushed everything under it down and that's a problem..

    Here is my PHP:

    <td colspan="<?php echo $cols - 1; ?>" class="description">
    			<?php if($showdata['time']) : ?>
    				<span class="gigpress-info-item"><span class="gigpress-info-label"><?php _e("Time", "gigpress"); ?>:</span> <?php echo $showdata['time']; ?>.</span>
    			<?php endif; ?>
    			<?php if($showdata['price']) : ?>
    				<span class="gigpress-info-item"><span class="gigpress-info-label"><?php _e("Admission", "gigpress"); ?>:</span> <?php echo $showdata['price']; ?>.</span>
    			<?php endif; ?>
    			<?php if($showdata['admittance']) : ?>
    				<span class="gigpress-info-item"><span class="gigpress-info-label"><?php _e("Age restrictions", "gigpress"); ?>:</span> <?php echo $showdata['admittance']; ?>.</span>
    			<?php endif; ?>
    			<?php if($showdata['ticket_phone']) : ?>
    				<span class="gigpress-info-item"><span class="gigpress-info-label"><?php _e("Box office", "gigpress"); ?>:</span> <?php echo $showdata['ticket_phone']; ?>.</span>
    			<?php endif; ?>
    			<?php if($showdata['address']) : ?>
    				<span class="gigpress-info-item"><span class="gigpress-info-label"><?php _e("Address", "gigpress"); ?>:</span> <?php echo $showdata['address']; ?>.</span>
    			<?php endif; ?>
    			<?php if($showdata['venue_phone']) : ?>
    				<span class="gigpress-info-item"><span class="gigpress-info-label"><?php _e("Venue phone", "gigpress"); ?>:</span> <?php echo $showdata['venue_phone']; ?>.</span>
    			<?php endif; ?>				
    			<?php if($showdata['notes']) : ?>
    				<span class="gigpress-info-item"><?php echo $showdata['notes']; ?></span>
    			<?php endif; ?>
    			<?php if($showdata['related_link'] && $gpo['relatedlink_notes'] == 1) : ?>
    				<span class="gigpress-info-item"><?php echo $showdata['related_link']; ?></span>
    			<?php endif; ?>
    			<?php if($showdata['ticket_link']) : ?>
    				<span class="gigpress-info-item"><?php echo $showdata['ticket_link']; ?></span>
    			<?php endif; ?>
    			<?php if($showdata['external_link']) : ?>
    				<span class="gigpress-info-item"><?php echo $showdata['external_link']; ?></span>
    			<?php endif; ?>					

    Any suggestions would be greatly appreciated! ^_^


  3. mrherbivore
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic