JavaScript Modals Recipe
The simplest way I found to implement modals. This snippet will allow you to add multiple modals onto a page.
The simplest way I found to implement modals. This snippet will allow you to add multiple modals onto a page.
Basic ACF loop used for groups and repeaters. Simply edit the field string and add ...
A simple CSS one-liner for responsive grid columns.
Simple way to list all existing categories and adding an active class on the active category.
An easy way to get the post author meta data.
A useful code snippet to display a post's categories on a single page or within a loop.
Vanilla JavaScript code snippet that will read all words in a container and create an estimated reading time.
This code creates a set of social media sharing links that allow users to share the current page or post on social media.
How to create a WordPress custom loop. Useful when needing to query specific data.
A basic AJAX implementation that can easily be expanded upon. This article shows how to add AJAX sorting.
An extensive snippet that allows for various useful functionalities.
An easy way to add scrolling animations to a project using the sal.js library.
A super easy way to add parallax effects to your project using the Rellax JavaScript library.
Some code to get a basic search functionality going for your project.
An example of how to loop through an ACF relationship field using a custom post type.
A function that will strip out any unwanted tags from a string.
HTML and CSS code to create a custom checkmark input. Easy to customize.
How to use an SVG in pseudo elements like ::before and ::after.
How to use the line-clamp CSS property to limit text to a specific number of lines.
How to position absolutely positioned elements vertically and horizontally.
Trick to extend the "hoverable" area of an element using a pseudo element.
A simple script that will check if the user is using a Safari browser.
Basic example of how to create a JavaScript cookie.
A handy git command you can run if you ever need to change the remote repository URL.
A compilation of useful SSH commands.
A list of handy Git commands
Code snippet that will add a chevron icon after menu items that have a submenu.
How to leverage the WP-PageNavi plugin to create a simple, ajax-free pagination.
How to convert a custom property into a negative value
How to add a slider to a page using the swiper.js library
How to load a random image from an ACF gallery field and bypass caching issues.
PHP snippet to change the WordPress template dropdown to default to another template.
How to use CSS to create an infinite horizontal scrolling effect.
A straightforward way to move elements around with jQuery.
How to use CSS to create a simple arrow icon.
Handy snippet that will force refresh all posts on save. Useful after adding an ACF field and needing to update every post.
PHP function that will stop all spam from contact form submissions via honeypot, pattern matching and timestamp checking.
Fetches a WordPress menu, filters for top-level items that contain children, and renders them as a structured menu. Useful for footer menus.