NEWSBLOG

Display author, category title, date, hits in an override (LIST - PORTAL)

Display author, category title, date, hits in an override (LIST - PORTAL)

LIST

<div class="my-2 pt-0  px-0 pb-0 me-4">
                                                
						<?php if ($params->get('show_author')) : ?>
						<span class="border-top border-bottom border-1  py-1 fs-6">
						<i class="fa fa-user fs-6 mx-1"></i><?php echo $item->displayAuthorName; ?>
						</span>
						<?php endif; ?>
						
						<?php if ($item->displayCategoryTitle) : ?>
						<span class="border-top border-bottom border-1 py-1 fs-6">
					        <i class="fa fa-tag fs-6 mx-1"></i><?php echo $item->displayCategoryTitle; ?>
						</span>
						<?php endif; ?>
						
						<?php if ($item->displayDate) : ?>
						<span class="border-top border-bottom border-1 py-1 fs-6">
						<i class="fa fa-clock fs-6 mx-1"></i><?php echo $item->displayDate; ?>
						</span>
						<?php endif; ?>

                                                <?php if ($item->displayHits) : ?>
						<span class="border-top border-bottom border-1 py-1 fs-6">
						<i class="fa fa-eye fs-6 mx-1"></i><?php echo $item->displayHits; ?>
						</span>
						<?php endif; ?>
</div>

PORTAL

<div class="mb-2 mt-2 pt-0  px-0 pb-0">
                                                
						<?php if ($params->get('show_author')) : ?>
						<span class="border-top border-bottom border-1  py-1 fs-6">
						<i class="fa fa-user fs-6 mx-1"></i><?php echo $list[0]->displayAuthorName; ?>
						</span>
						<?php endif; ?>
						
						<?php if ($item->displayCategoryTitle) : ?>
						<span class="border-top border-bottom border-1 py-1 fs-6">
					        <i class="fa fa-tag fs-6 mx-1"></i><?php echo $list[0]->displayCategoryTitle; ?>
						</span>
						<?php endif; ?>
						
						<?php if ($item->displayDate) : ?>
						<span class="border-top border-bottom border-1 py-1 fs-6">
						<i class="fa fa-clock fs-6 mx-1"></i><?php echo $list[0]->displayDate; ?>
						</span>
						<?php endif; ?>

                                                <?php if ($item->displayHits) : ?>
						<span class="border-top border-bottom border-1 py-1 fs-6">
						<i class="fa fa-eye fs-6 mx-1"></i><?php echo $list[0]->displayHits; ?>
						</span>
						<?php endif; ?>

                                                
</div>			
ARITHMOS.GR - With none  none none From GREECE - Thank you for visiting.