This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <pre> | |
| <?php | |
| // Exibindo o conteúdo da variável global $wp_query | |
| global $wp_query; | |
| var_dump( $wp_query ); | |
| ?> | |
| </pre> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html <?php language_attributes(); ?> > | |
| <head> | |
| <meta charset="<?php bloginfo( 'charset' ); ?>"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="profile" href="http://gmpg.org/xfn/11"> | |
| <title><?php bloginfo( 'name' ); ?></title> | |
| <?php wp_head(); ?> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Theme Name: Tema Exemplo | |
| Theme URI: https://dominio.com/tema-exemplo | |
| Author: GaragemWP | |
| Author URI: https://garagemwp.com.br/ | |
| Description: Tema para estudos da hierarquia de templates de um tema para WordPress. | |
| Version: 1.0 | |
| License: GNU General Public License v2 or later | |
| License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| Text Domain: tema-exemplo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Template Name: Full-width layout | |
| */ | |
| // … your code here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Template Name: Full-width layout | |
| Template Post Type: post, page, product | |
| */ | |
| // … your code here |
NewerOlder