1 February

Remove The Events Calendar past events from search in WordPress.

Posted by in Coding, Snippet | No Comments

The Events Calendar is the best events plugin for WordPress in my opinion. It’s very full featured, yet easy to use. One request I’ve got a couple times is removing old events from the site search, without actually removing it from the site. Keeping the page alive, but making it so people don’t accidentally find […]

21 September

Bootstrap Size Marker

Posted by in Coding, Snippet | No Comments

When working with a framework knowing what break-point you’re looking at isn’t always obvious. And it’s really not obvious to the non-technical people reviewing your work. For this reason I created a pure css breakpoint indicator. This one is based off the Bootstrap breakpoints, but the idea can be adapted to work with any framework. […]

11 April

WordPress Page Template Specific Code

Posted by in Coding, Snippet | No Comments

This will only display the code when a specific page template is used. Great for header/footer interjections. <?php if( !is_page_template(‘template-name.php’) ) : ?> //your code here <?php endif; ?>

19 March

Fix Iframes With Wmode

Posted by in Snippet | No Comments

This will fix all issues with iframes overlapping things like lightbox or pop-up navigation. $(“iframe”).each(function(){ var ifr_source = $(this).attr(‘src’); var wmodes = “wmode=transparent”; if(ifr_source.indexOf(‘?’) != -1) { var getQString = ifr_source.split(‘?’); var oldString = getQString[1]; var newString = getQString[0]; $(this).attr(‘src’,newString+’?’+wmodes+’&’+oldString); } else $(this).attr(‘src’,ifr_source+’?’+wmodes); });