thumbnail support on twentyten

// Add theme support for post thumbnails add_theme_support(‘post-thumbnails’); add_image_size( ‘custom_thumb’, 150, 150, true);   // Add thumbnail to excerpt add_filter( ‘the_excerpt’, ‘excerpt_thumbnail’ ); function excerpt_thumbnail($excerpt){ if(is_single()) return $excerpt; global $post; if ( has_post_thumbnail() ) { $img .= ”.get_the_post_thumbnail($post->ID, ‘custom_thumb’).”; } else { $img = ”; } return $img.$excerpt; }

Read more

company logo on twentyten

http://www.blog.web6.org/add-logo-to-twenty-ten-wordpress/ 7. Look for header.php and copy paste the content to html editor (notepad or notepad++). 8. Look for this code on line 49 until line 52, and delete it. (i said 57 instead of 47 lol!) <<?php echo $heading_tag; ?> id=”site-title”> <span> <a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, […]

Read more

fieldset form inline

Styling The Form There is a very important reason this tutorial far has been very (HTML) source code oriented. CSS applies style rules to tags. Without understanding the tags that make up a document it is impossible to effectively style it. CSS can be used to customize the default formatting of tags such as to […]

Read more

accedere cpanel con blocco porta 2082

Il pannello di controllo cPanel è accessibile su una porta differente da quella standard di navigazione. Questa impostazione può provocare alcuni problemi agli utenti che si trovano dietro un firewall, come avviene ad esempio negli alberghi, negli aeroporti o negli uffici. Quando l’accesso al cPanel risulta impossibile, e la pagina di login non viene caricata, […]

Read more

top