Published on Feb 26, 2021

How to show category links in Easy Posts’ image overlay

Sridhar Katakam

This members-only tutorial provides the steps to replace the date image overlay for the default Easy Posts preset in Oxygen with comma-separated category links (linking to corresponding category archives) image overlay.

Here's How

Add an Easy Posts component.

In the Template PHP replace

<a class='oxy-post-image' href='<?php the_permalink(); ?>'>
<div class='oxy-post-image-fixed-ratio' style='background-image: url(<?php echo get_the_post_thumbnail_url(); ?>);'>
</div>
<div class='oxy-post-image-date-overlay'>
<?php the_time(get_option('date_format')); ?>
</div>
</a>

with

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right