Search snippet
Results
-
Page wider than content on IOS
April 2, 2019
If you can swipe the page beyond the content.
Cat: CSS, Beaver -
Output a Custom Taxonomy Loop in WordPress
April 2, 2019
Here is a custom taxonomy loop code snippet, which allows you to output a set of custom taxonomy terms using the get_terms object and a foreach loop. In the above, a custom taxonomy named custom_taxonomy_name is assigned to the variable $terms a…
Cat: PHP -
Awesome image hover
April 2, 2019
awesome image hover in pure css
Cat: CSS, HTML -
Grab featured image and place it on page/post
March 19, 2019
Use a shortcode [thumbnail] to insert the existing thumbnail in a post. Yes, it is a simple one, but could be useful in some (conditional) cases…..
Cat: PHP, Shortcode -
Add a CSS class on a current active menu item
March 15, 2019
With manual menus you may need to add a CSS class to the current menu item that is active, below is a jQuery solution, that utilizes the URL of the page to match the link and add the CSS. Enqueue the script to where you need it to go.
Cat: jQuery, PHP