Juliana
Respostas criadas no fórum
-
Fórum: Temas e templates
Em resposta a: post desconfiguradoOla,
Foi feito da seguinte maneira o post na pagina inicial mudei para div pots e no css também assim parou de interferir na id post…
Obrigado pela sugestão!Att, Juliana Theodoro.
Fórum: Temas e templates
Em resposta a: post desconfiguradoqueria que se mantivesse na pagina inicial assim e nas outras paginas ou quando clicasse nos posts aparecesse normal …
Fórum: Temas e templates
Em resposta a: post desconfiguradoOi, _leandromateus obrigado por responder
se eu tirar ele não fica da maneira que eu quero, em três colunas e uma linha…Fórum: Temas e templates
Em resposta a: enviar dados do formulariolink do formulario: http://aprendiz.url.ph/preencha-o-formulario/
Fórum: Temas e templates
Em resposta a: ajuda com query_postscoloquei o código diretamente na pagina que queria, e funcionou :), mas não precisou do código todo.
Fórum: Plugins e hacks
Em resposta a: Pluguin para formularioeu fiz manualmente o plugin não atendia o que eu precisava.
Fórum: Temas e templates
Em resposta a: mudar logo loginObrigado pela ajuda, deu certo! 🙂
Fórum: Temas e templates
Em resposta a: mudar logo loginola, lucas eu coloquei a imagem do tamanho certo mais ela apareceu menor
css
body.login div#login h1 a {
background-image: url(/wp-content/themes/twentythirteen/images/imglogin.jpg);
padding-bottom: 30px;
width:320px;
height:67px;
position:absolute;Fórum: Temas e templates
Em resposta a: mudar logo loginok, Obrigado, vou criar a imagem no photoshop e tentar novamente
Fórum: Temas e templates
Em resposta a: mudar logo loginOla, Lucas
Obrigado por responder, mais continuou igual a logo:(Fórum: Temas e templates
Em resposta a: ajuda com query_postsOla Carlos, sera que ñ posso implementar esse codigo em outro arquivo como archive.php
Fórum: Temas e templates
Em resposta a: numero de visitas no postObrigado Carlos deu certo 🙂
Fórum: Temas e templates
Em resposta a: ajuda com query_postsnão deu certo pagina em branco ! 🙁
<?php
/**
* The template for displaying Archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Able
* @since Able 1.0
*/get_header(); ?>
<section id=”primary” class=”site-content”>
<div id=”content” role=”main”><?php if ( have_posts() ) : ?>
<header class=”page-header”>
<h1 class=”page-title”>
<?php
if ( is_category() ) :
printf( __( ‘Category Archives: %s’, ‘able’ ), ‘<span>’ . single_cat_title( ”, false ) . ‘</span>’ );elseif ( is_tag() ) :
printf( __( ‘Tag Archives: %s’, ‘able’ ), ‘<span>’ . single_tag_title( ”, false ) . ‘</span>’ );elseif ( is_author() ) :
/* Queue the first post, that way we know
* what author we’re dealing with (if that is the case).
*/
the_post();
printf( __( ‘Author Archives: %s’, ‘able’ ), ‘<span class=”vcard”>‘ . get_the_author() . ‘</span>’ );
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
*/
rewind_posts();elseif ( is_day() ) :
printf( __( ‘Daily Archives: %s’, ‘able’ ), ‘<span>’ . get_the_date() . ‘</span>’ );elseif ( is_month() ) :
printf( __( ‘Monthly Archives: %s’, ‘able’ ), ‘<span>’ . get_the_date( ‘F Y’ ) . ‘</span>’ );elseif ( is_year() ) :
printf( __( ‘Yearly Archives: %s’, ‘able’ ), ‘<span>’ . get_the_date( ‘Y’ ) . ‘</span>’ );elseif ( is_tax( ‘post_format’, ‘post-format-aside’ ) ) :
_e( ‘Asides’, ‘able’ );elseif ( is_tax( ‘post_format’, ‘post-format-image’ ) ) :
_e( ‘Images’, ‘able’);elseif ( is_tax( ‘post_format’, ‘post-format-video’ ) ) :
_e( ‘Videos’, ‘able’ );elseif ( is_tax( ‘post_format’, ‘post-format-quote’ ) ) :
_e( ‘Quotes’, ‘able’ );elseif ( is_tax( ‘post_format’, ‘post-format-link’ ) ) :
_e( ‘Links’, ‘able’ );else :
_e( ‘Archives’, ‘able’ );endif;
?>
</h1>
<?php
if ( is_category() ) :
// show an optional category description
$category_description = category_description();
if ( ! empty( $category_description ) ) :
echo apply_filters( ‘category_archive_meta’, ‘<div class=”taxonomy-description”>’ . $category_description . ‘</div>’ );
endif;elseif ( is_tag() ) :
// show an optional tag description
$tag_description = tag_description();
if ( ! empty( $tag_description ) ) :
echo apply_filters( ‘tag_archive_meta’, ‘<div class=”taxonomy-description”>’ . $tag_description . ‘</div>’ );
endif;endif;
?>
</header><!– .page-header –><?php rewind_posts(); ?>
<?php able_content_nav( ‘nav-above’ ); ?>
<?php /* Start the Loop */ ?>
<?php
if (is_category(‘2’)): ?>
<div id=”primary” class=”site-content”>
<?php
query_posts(‘cat=2&showposts=4&posts_per_page=7’);
while(have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_excerpt();
endwhile;
?>
</div>
<?php endif; ?>
<?php while ( have_posts() ) : the_post(); ?><?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );
?><?php endwhile; ?>
<?php able_content_nav( ‘nav-below’ ); ?>
<?php else : ?>
<?php get_template_part( ‘no-results’, ‘archive’ ); ?>
<?php endif; ?>
</div><!– #content –>
</section><!– #primary .site-content –><?php get_sidebar(); ?>
<?php get_footer(); ?>Fórum: Temas e templates
Em resposta a: ajuda com query_postsEntão Carlos a onde eu devo coloca-la ? obrigado
Fórum: Temas e templates
Em resposta a: ajuda com query_postsQuando eu insiro o código nesse ou no outro da erro 🙁