Escolha uma Página

Postagens do @battisti!

The basics of emment

You can do a lot of things using emment, but, the very basics like: id, class, id, repetition, nesting and child you can see in the below line. div#nome>p^ul>li*5>a[href='http://teste'].link{clique aqui $} this line should create a html code like this:...

Change WordPress Thumbnail Size in wp-admin

Put thie code in the function.php file of your template. post_type is the name yout your post type 🙂 An important information is, the SIZE of the image returned in should be exist in your thumbs. function custom_admin_thumb_size( $thumb_size, $thumbnail_id, $post ) {...

Search By Id WordPress

To modify your sercrh system to find a post_id in a wp_query consult you need to this! $args = array( 'p' => (int) $_GET['s'], 'post_type' => 'download', 'posts_per_page' => getNumImages(), 'paged' => $paged, ); It's important to cast the String type to...

Displaing erros php7 and apache

By default after installation of php7 the display_erros is setting to off. How to modifi it in php.ini configuration? If you are using linux probably in /etc/php/7.0/apache2/php.ini (if you are using php directly from terminal you need to change...