12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Feb 23, 2020

How to open entry info in a lightbox in Oxygen using Lity

Sridhar Katakam

This members-only tutorial provides the steps to make each entry output by Easy Posts in Oxygen a link that displays that entry's info in a lightbox when clicked using Lity.

This is a simpler version of the earlier Posts Grid Lightboxes in Oxygen tutorial.

Step 1

Let's add a small snippet of code to define a custom excerpt() function which returns the content trimmed to the specified number of words.

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Custom Excerpt


This is a premium members-only content.

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

Already a member? Log in below or here.