Adding Automatic Serial Numbers in GeneratePress & GenerateBlocks (Without PHP)
When working with GeneratePress and GenerateBlocks, one common requirement is adding a serial number (1, 2, 3…) to each item inside a Query Loop — for example, before post titles, images, or feature cards. Many developers immediately look for PHP solutions, but in reality, CSS Counters can solve this problem in a much cleaner and … Read more

