-
Get a WordPress menu from a specific menu location
Sometimes you know that you want a WordPress menu associated with a particular menu location, but you don’t know for sure which menu is associated with that location. To find out which menu it is (I typically want to know the slug) you can do something like the following. https://gist.github.com/nickdavis/25d4a733b7c2754ca1e34db31a735bb0
-
Disabling Gutenberg on certain templates – Bill Erickson
https://www.billerickson.net/disabling-gutenberg-certain-templates/
-
Right and left align menu items in a single container
This technique will also preserve the order of your menu items. Whereas if you’d just floated some menu items to the right, the order of the right aligned items (if there were more than one) would now be wrong. Of course, this technique doesn’t just apply to menus but it seems to be the most…
-
Add the optgroup ability to Gravity Forms default select field
Source: Add the optgroup ability to Gravity Forms default select field.
-
Get Post Slug in WordPress
Get Post Slug in WordPress
-
Add a comma after the testimonial name displayed by the Testimonials by WooThemes widget
Depending on the settings you’re using in the widget, by default the widget’s output may read: Nick Davis iamnickdavis.com Instead this adds a comma after the name field and makes it more readable, like so: Nick Davis, iamnickdavis.com [gist id=”95025ffe1662f393f5065308a11b837e”]
-
NoIndex all posts in a WordPress category
https://github.com/Yoast/wordpress-seo/issues/387#issuecomment-48589725
-
How to stop friends repeatedly adding you to Facebook Groups
Stop people from repeatedly adding you to Facebook Groups without un-friending them.
-
WordPress FTP access without login details (via a plugin)
Sometimes I find myself in the situation where I need FTP access to a WordPress website but I don’t have the details.
-
Making viewport units (vh|vw|vmin|vmax) work properly in Mobile Safari
https://github.com/rodneyrehm/viewport-units-buggyfill