• Resolved vilu8

    (@vilu8)


    Hi!

    Is it possible to show categories inside single grid? Now there is:

    1. Thumbnail
    2. Title
    3. Excerpt
    4. Read more -link

    After read more link could be categories?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AddonMaster

    (@addonmaster)

    That’s not available yet.

    Thread Starter vilu8

    (@vilu8)

    Okey, no worries! I manage to create it:

    			<div class="am_grid_col">
    				<div class="am_single_grid">
    					<div class="am_thumb">
    						<?php the_post_thumbnail('full'); ?>
    					</div>
    					<div class="am_cont">
    						<a href="<?php echo get_the_permalink(); ?>"><h2 class="am__title"><?php echo get_the_title(); ?></h2></a>
    						<div class="am__excerpt">
    							<?php echo wp_trim_words( get_the_excerpt(), 20, null ); ?>
    						</div>
    						<a href="<?php echo get_the_permalink(); ?>" class="am__readmore"><?php echo esc_html__('Read more','ajax-filter-posts');?></a>
    						<div class="tags-custom">
    						<?php $posttags = get_the_tags(); if ($posttags) { foreach($posttags as $tag) { echo $tag->name . '. '; } } ?>
    						</div>
    					</div>
    				</div>
    			</div>

    • This reply was modified 2 years ago by vilu8.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show categories inside post’ is closed to new replies.