AleBueno
Respostas no Fórum
-
Fórum: Temas
Em resposta a: Problemas com o Jquery.easing.1.3Ah! Ele funciona em partes, mas não sai pra fora com o texto como no modelo.
Fórum: Temas
Em resposta a: Página de posts no tema AutofocusA outra forma que consegui fazer isso foi usando esse código abaixo. Nessa eu consegui os elementos que queria, mas a imagem não fica ao lado do texto e o título do post fica enorme. Alguém sabe alguma alternativa para resolver isso?
E desculpa qualquer erro, sou iniciante.<?php
/**
* The template for displaying music page.
*/
get_header();global $posts, $shortname;
?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<nav id=”nav-above” class=”navigation”>
<div class=”nav-previous”><?php next_posts_link( __( ‘<span class=”meta-nav”>←</span>’, ‘autofocus’ ) ); ?></div>
<div class=”nav-next”><?php previous_posts_link( __( ‘<span class=”meta-nav”>→</span>’, ‘autofocus’ ) ); ?></div>
</nav><!– #nav-above –>
<?php endif; ?><?php /* If there are no posts to display, such as an empty archive page */ ?>
<?php if ( ! have_posts() ) : ?>
<article id=”post-0″ class=”post error404 not-found”>
<header>
<h1 class=”entry-title”><?php _e( ‘Not Found’, ‘autofocus’ ); ?></h1>
</header><div class=”entry-content”>
<p><?php _e( ‘Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.’, ‘autofocus’ ); ?></p>
<?php get_search_form(); ?>
</div><!– .entry-content –>
</article><!– #post-0 –>
<?php endif; ?><?php /* Start the Loop. */ ?>
<div id=”container”>
<div id=”content” role=”main”>
<?php query_posts(‘cat=5’);?><?php while ( have_posts() ) : the_post(); ?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<?php af_entry_image(‘archive-thumbnail’); ?><header>
<h2 class=”entry-title”>” title=”<?php printf( esc_attr__( ‘Permalink to %s’, ‘autofocus’ ), the_title_attribute( ‘echo=0’ ) ); ?>” rel=”bookmark”><?php the_title(); ?></h2>
<?php af_posted_on(); ?>
</header><footer class=”entry-utility”>
<?php af_post_meta(); ?><?php comments_popup_link( ‘<span class=”comments-link”>’ . __( ‘Leave a comment’, ‘autofocus’ ) . ‘</span>’, ‘<span class=”comments-link”>’ . __( ‘1 Comment’, ‘autofocus’ ) . ‘</span>’, ‘<span class=”comments-link”>’ . __( ‘% Comments’, ‘autofocus’ ) . ‘</span>’, ”, ” ); ?>
<?php edit_post_link( __( ‘Edit’, ‘autofocus’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
</footer><!– .entry-utility –><div class=”entry-content”>
<?php the_excerpt(); ?>
</div><!– .entry-content –></article><!– #post-## –>
<?php endwhile; // End the loop. Whew. ?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<nav id=”nav-below” class=”navigation”>
<div class=”nav-previous”><?php next_posts_link( __( ‘<span class=”meta-nav”>←</span> Older posts’, ‘autofocus’ ) ); ?></div>
<div class=”nav-next”><?php previous_posts_link( __( ‘Newer posts <span class=”meta-nav”>→</span>’, ‘autofocus’ ) ); ?></div>
<?php get_template_part( ‘content’ ); ?></nav><!– #nav-below –>
<?php endif; ?>
<?php get_footer(); ?>Fórum: Temas
Em resposta a: Edição do tema AutofocusMuito obrigada Pedro ;D
Deu certo aqui. Qualquer coisa entro em contato se tiver mais dúvidas!