Wordpress

Show me the Errors

Add this snippet of code at the top of the page to display any errors that may be thrown. Be sure to remove this code before pushing out to a production environment. For wordpress specific sites, the following code is useful in the wp-config.php file if you are trouble shooting a live site, and don’t […]

Show me the Errors Read More »

Add .last class to menus

Adding this code to the functions.php file will append the class “last” to the last li tag outputed by wp_nav_menu. Very useful for when you need to style the last link in a drop down menu different from the others, or to remove that a separate after the last link in a horizontal menu.

Add .last class to menus Read More »

Scroll to Top