Remove menu link types from the WordPress menu options screen
On a client site, we wanted to restrict menu items to Custom Links, only. Thus remove all other menu types.…
On a client site, we wanted to restrict menu items to Custom Links, only. Thus remove all other menu types.…
Recently, I had an odd scenario where wrapping long text needed either word-wrap, overflow-wrap or word-break to achieve the same…
There are many use-cases where scripts and stylesheets only need to be loaded on certain pages. One such example would…
Schema markup helps search engines understand your content by describing its primary purpose, in a machine-friendly way. The most recent,…
Processing styling rules based on certain criteria, such as viewport width, is achieved using the @media conditional group rules. As of October…
The WordPress RSS feed is great. We use it with third-party services, such as MailChimp. One key datum that isn't…
We recently encountered a scenario where the client wanted to trim the news items titles to a maximum number of…
A number of times over my years developing in WordPress I've needed to extract the post IDs of the posts…
When comparing a variable with multiple values consider using in_array(), instead of complex if expressions. I love clean, easy-to-read code,…
This post is a somewhat off-topic, but for all those of you that are working on Macs, here's a little…
This website uses cookies.