Felipe Vogel
Respostas no Fórum
-
Fórum: Temas
Em resposta a: CATEGORIAS NA HOMEEu colo este dentro do loop?
Fórum: Temas
Em resposta a: CATEGORIAS NA HOMEBoa tarde, Júlio.
Primeiramente obrigado pela ajuda, mas na verdade relendo o que escrevi acho que não fui claro como deveria
O título abaixo da imagem eu preciso colocar, mas antes disso preciso criar um codigo para inserir na home para chamar os posts da categoria entende, essa é a minha dificuldade já que não tenho muito conhecimento em php, se puder me ajudar neste parte eu agradeceria muito, Obrigado.
Fórum: Temas
Em resposta a: Link do Facebook na imagemAgora sim, ficou perfeito, muito obrigado.
Fórum: Temas
Em resposta a: INSERIR LINK EXTERNOValeu meu amigo, deu certo sim, uma última pergunta, se eu quiser que esse link abra em outra janela? Abs.
Fórum: Temas
Em resposta a: Link do Facebook na imagemValeu meu amigo, deu certo sim, uma última pergunta, se eu quiser que esse link abra em outra janela? Abs.
Fórum: Temas
Em resposta a: Retirar Informações de post (template Artisteer)Olá, voce tinha razão, meu tema possui alguns contents-*****, sendo eles:
content-aside.php
content-attachment.php
content-gallery.php
content-page.php
content-single.php
content.phpSegue abaixo os últimos 3 desta lista, que são os que eu acredito que sejam o correto, caso seja algum outro que não esses me peça aqui que eu posto novamente, dese já agradeço.
Content-page.php
“<?php
/**
*
* content*.php
*
* The post format template. You can change the structure of your posts or add/remove post elements here.
*
* ‘id’ – post id
* ‘class’ – post class
* ‘thumbnail’ – post icon
* ‘title’ – post title
* ‘before’ – post header metadata
* ‘content’ – post content
* ‘after’ – post footer metadata
*
* To create a new custom post format template you must create a file “content-YourTemplateName.php”
* Then copy the contents of the existing content.php into your file and edit it the way you want.
*
* Change an existing get_template_part() function as follows:
* get_template_part(‘content’, ‘YourTemplateName’);
*
*/global $post;
theme_post_wrapper(
array(
‘id’ => theme_get_post_id(),
‘class’ => theme_get_post_class(),
‘title’ => theme_get_meta_option($post->ID, ‘theme_show_page_title’) ? get_the_title() : ”,
‘heading’ => theme_get_option(‘theme_single_article_title_tag’),
‘before’ => theme_get_metadata_icons(‘edit’, ‘header’),
‘content’ => theme_get_content()
)
);
?>”Content-single.php
“
<?php/**
*
* content*.php
*
* The post format template. You can change the structure of your posts or add/remove post elements here.
*
* ‘id’ – post id
* ‘class’ – post class
* ‘thumbnail’ – post icon
* ‘title’ – post title
* ‘before’ – post header metadata
* ‘content’ – post content
* ‘after’ – post footer metadata
*
* To create a new custom post format template you must create a file “content-YourTemplateName.php”
* Then copy the contents of the existing content.php into your file and edit it the way you want.
*
* Change an existing get_template_part() function as follows:
* get_template_part(‘content’, ‘YourTemplateName’);
*
*/global $post;
theme_post_wrapper(
array(
‘id’ => theme_get_post_id(),
‘class’ => theme_get_post_class(),
‘title’ => theme_get_meta_option($post->ID, ‘theme_show_post_title’) ? get_the_title() : ”,
‘heading’ => theme_get_option(‘theme_single_article_title_tag’),
‘before’ => theme_get_metadata_icons(‘date,author,edit’, ‘header’),
‘content’ => theme_get_content(),
‘after’ => theme_get_metadata_icons(‘category,tag’, ‘footer’)
)
);
?>”Content.php
“
<?php/**
*
* content*.php
*
* The post format template. You can change the structure of your posts or add/remove post elements here.
*
* ‘id’ – post id
* ‘class’ – post class
* ‘thumbnail’ – post icon
* ‘title’ – post title
* ‘before’ – post header metadata
* ‘content’ – post content
* ‘after’ – post footer metadata
*
* To create a new custom post format template you must create a file “content-YourTemplateName.php”
* Then copy the contents of the existing content.php into your file and edit it the way you want.
*
* Change an existing get_template_part() function as follows:
* get_template_part(‘content’, ‘YourTemplateName’);
*
*/global $post;
theme_post_wrapper(
array(
‘id’ => theme_get_post_id(),
‘class’ => theme_get_post_class(),
‘thumbnail’ => theme_get_post_thumbnail(),
‘title’ => ‘ID ) . ‘” rel=”bookmark” title=”‘ . strip_tags(get_the_title()) . ‘”>’ . get_the_title() . ‘‘,
‘heading’ => theme_get_option(‘theme_’.(is_single()?’single’:’posts’).’_article_title_tag’),
‘before’ => theme_get_metadata_icons( ‘date,author,edit’, ‘header’ ),
‘content’ => theme_get_excerpt(),
‘after’ => theme_get_metadata_icons( ‘category,tag,comments’, ‘footer’ )
)
);
?>
”