por Anselmo Battisti | dez 23, 2017 | Sem categoria
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...
por Anselmo Battisti | dez 15, 2017 | Wordpress
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 ) {...
por Anselmo Battisti | nov 17, 2017 | 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(),...
por Anselmo Battisti | set 28, 2017 | Laravel
$db = DB::table(‘obras as ob’); $db->select(DB::raw(“ob.*, DATE_FORMAT(ob.created_at, ‘%d/%m/%Y %h:%i’) as created_at”));
por Anselmo Battisti | set 22, 2017 | Sem categoria
To access you laravel’s project running in a virtual machine you can do this trick, run de php artisan serve using the local ip address as the address os the server. Like: php artisan serve –host my_local_ip –port 80 To find your local IP use...