lanche86

PHP / WordPress Developer / To Front-end and beyond!

Absolute Centering in CSS

We’ve all seen margin: 0 auto; for horizontal centering, but margin: auto; has refused to work for vertical centering… until now! [CodePen height=800 show=result href=gEiDt user=shshaw ]   See full documentation  

Ahain Group

While I was employed by Razor Communications, we have developed ahaingroup.com Features WordPress Developed by Custom-made in-da-house design by Andrej Matić Fully responsive Clean and lightweight code Semantic HTML5 markup Asset file minification and compression Supports touch gestures for mobile devices Uses hardware accelerated CSS3 animations Built with HTML5, CSS3, PHP 5.2+, latest jQuery version   …

Ahain Group Read More »

Dublin Bay Cruises

While I was employed by Razor Communications, we have developed dublinbaycruises.com Features WordPress Developed by Custom-made in-da-house design by Andrej Matić Fully responsive Clean and lightweight code Semantic HTML5 markup Asset file minification and compression Supports touch gestures for mobile devices Uses hardware accelerated CSS3 animations Built with HTML5, CSS3, PHP 5.2+, latest jQuery version   …

Dublin Bay Cruises Read More »

Disable autocomplete on the front-end for Gravity Forms

Super awesome gist written by my colleague Ronald Huereca. You wanna disable autocomplete on front-end for Gravity Forms, this is just right code snippet for you. <?php add_filter( ‘gform_form_tag’, ‘gform_form_tag_autocomplete’, 11, 2 ); function gform_form_tag_autocomplete( $form_tag, $form ) { if ( is_admin() ) return $form_tag; if ( GFFormsModel::is_html5_enabled() ) { $form_tag = str_replace( ‘>’, ‘ …

Disable autocomplete on the front-end for Gravity Forms Read More »

Edward Snowden, we thank you!

Inspired by this tweet of my fellow colleague Bjørn Johansen I have decided that is time for me to start blogging. I am also recommending you to start following Bjørn, the most of my retweets are his tweets :) Edward Snowden risked everything to tell the truth about the NSA. Here's an easy way to say "thanks!" …

Edward Snowden, we thank you! Read More »

Coverbrands

While I was working for Vaimo, I have worked on some final front-end touches on www.coverbrands.no Features Magento Developed by Custom-made in-da-house design Fully responsive Clean and lightweight code Semantic HTML5 markup Asset file minification and compression Uses hardware accelerated CSS3 animations Built with HTML5, CSS3, PHP 5.2+, latest jQuery version   Visit Website

The forth post, different classname

<?php while ( have_posts() ) : the_post(); ?> <?php if ($i % 4 == 3 ) $classname = ‘large’; else $classname = ‘small’; ?> <div class=”program-<?php echo $classname; ?>”> <?php the_post_thumbnail( “program-size-$classname”, array( “class” => “program-size” ) ); ?> <h3><?php the_title(); ?></h3> <p><?php the_content(); ?></p> <?php $i++; ?> </div> <?php endwhile; ?>   Or check …

The forth post, different classname Read More »

Scroll to Top