Plugin per gestione temi mobile

Un plugin che permette di usare un tema ad-hoc per i dispositivi mobili facendo override sul tema di default: http://wordpress.org/plugins/any-mobile-theme-switcher/ con possibilità di usare volendo anche un tema diverso per ogni browser mobile. questo invece separa smartphone e tablet e […]

Continue reading »

Lista su due colonne

Per creare una lista HTML su due colonne esiste una regola CSS3, indicata qui http://www.w3schools.com/cssref/css3_pr_columns.asp ul { columns: 2; -webkit-columns: 2; -mox-columns: 2; } Purtroppo su IE non funziona, ma può essere usato un JavaScript che lo simula: http://jsfiddle.net/HP85j/19/ HTML: […]

Continue reading »

Come attivare il paging su un Loop custom

<?php $args = array( ‘post_type’ => ‘diconodinoi’, ‘orderby’ => ‘meta_value’, ‘meta_key’ => ‘wpcf-data’, ‘order’ => ‘DESC’, ‘showposts’ => 3, ‘paged’ => 1 ); $old_wpq = $wp_query; $wp_query = null; $wp_query = new WP_Query( $args ); while ($wp_query->have_posts()): ?> <?php $wp_query->the_post() […]

Continue reading »
1 14 15 16 17 18 19