Snippets
A growing collection of practical and useful WordPress snippets designed to enhance your website, improve functionality, simplify development, and create a better experience for both visitors and administrators.
Beacon — Load Interactive Content on Demand Without Sacrificing Performance
When performance matters (and it always does), the goal is simple…
Solving Plugin Translation in WordPress 6.7
With the release of WordPress 6.7, developers were introduced to some changes regarding how translations…
The Need to Remove and Restore WordPress Filters
WordPress filters are a powerful tool for customizing and extending the functionality of your…
How to Accurately Determine an Element’s Top Position in JavaScript
In web development, determining the precise top position of an element…
How to Implement a Custom Card Output for LPS
Here is a small snippet that allows you to use the Latest Post Shortcode plugin framework while…
How to fix the missing captions from the gallery without re-selecting each image
Have you noticed that after the most recent WordPress upgrades…
Free CSS and HTML Grid Generator – Demo and Code Snippet
This is a useful online tool for both designers and programmers that are looking…
How to Automatically Set a Specific Template to New WordPress Posts – Snippet Included
Applying by default a specific template to new posts…