Vertical Align Content Without Using Display Table

The following code will allow you to vertically center content in a box, without having to use the css display properties of table and table-cell. reference: http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/

Get URL Parameters in Javascript

A simple function that will allow you to get the URL parameters in javascript. http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html

Get the Shopp Featured Products

This function will return the shopp objects that are tagged as featured in an array.  Once the objects are returned you can use the shopp() function, when looping through the array, to return the tag for the product (see https://shopplugin.net/api/shopp/).  This will be faster than looping through all the products looking for ones that are …

Get the Shopp Featured Products Read More »

Adding ACF Pro support to Shopp Categories

The ACF Pro plugin apparently does not work any longer with the shopp plugin product categories. I found this code to add that support to ACF Pro. https://gist.github.com/WazzaJB/f7c75e05a325c86dd421

Add WordPress Admin Account via FTP

Create yourself a wordpress admin user account if you only have ftp access to a site. Add this snippet to the theme’s functions.php file, or in a file in ~/wp-content/mu-plugins/ folder. Create New Admin Account in WordPress via FTP

Working With Taxonomy’s

I recently needed to work with a taxonomy that was created for a custom post type, where I needed to access the parent taxonomy.  I came across this same code in the wordpress support forums.  It should be useful when working with taxonomy’s in the future. reference: https://wordpress.org/support/topic/if-current-taxonomy-has-child-andor-parent

Unorder List Navigation with Separator

Occasional I need to add a top navigation list or navigation list in the footer, and want to add a separator like the pipe symbol to make it obvious the separation of titles for each of the links. A simple solution to this is adding some css to automatically append them for you. reference: http://stackoverflow.com/questions/9171699/add-a-pipe-separator-after-items-in-an-unordered-list-unless-that-item-is-the-la

Disable Large Breakpoint in Bootstrap 3 for LESS

Removing the large desktop layout in less can be achieved by commenting out a few lines in the grid.less file.  Comment out these two sections in the grid.less file, and the medium grid will become the largest size for your site layout. reference: http://milos.gavrilovic.rs/how-to-disable-certain-breakpoints-in-bootstrap-3/

Scroll to Top