Escolha uma Página

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(),...