Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author robertostrabelli

    (@robertostrabelli)

    Olá Marco

    Entendi. Mas é estranho acontecer isso. Aqui no modelo você pode ver que isso não acontece: http://coffeetime.betinho.org/

    Também encontrei esse blog com a mesma configuração e o título está normal: http://www.tonyfellas.com/

    Penso que seja alguma configuração no seu painel de controle, mas não faço ideia de qual seja.

    Theme Author robertostrabelli

    (@robertostrabelli)

    Olá

    Você fala português, não?

    Não entendi a pergunta. Você não quer mostrar os excertos dos posts na primeira página? Dê uma olhada na página de opções do tema (Coffee Time options).

    Theme Author robertostrabelli

    (@robertostrabelli)

    É possível transferir essa sidebar com o avatar para a direita, por exemplo, mantendo a coluna da esquerda com a foto?

    Isso seria bastante difícil, precisaria alterar muito o arquivo single.php e sidebar.php, além de várias coisas no css.

    Theme Author robertostrabelli

    (@robertostrabelli)

    Theme Author robertostrabelli

    (@robertostrabelli)

    Hello

    Sorry for the delay in responding.
    It is not perfect but works,
    Replace the entire content of single.php for this:

    <?php get_header(); ?>
    
    <div class="conteudoindex">
    
    <article class="conteudo2">
    
    <?php if( have_posts() ): ?>
                <?php the_post();?>
    
    <?php get_template_part( 'content', get_post_format() ); ?>
    
    <?php else: ?>
    <h2><?php _e( '404 - Nothing Found', 'coffeetime' ); ?></h2>
    <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'coffeetime' ); ?></p>
    <?php get_search_form(); ?>
    <?php endif; ?>
    </article>
    
    <p style="text-align:right"><small><?php the_author_posts_link(); ?></small><br/>
    
    <span><?php
    echo str_replace("<img ", "<img title='' ", get_avatar( get_the_author_meta('user_email'), $size = '48', '', ''));
    ?></span></p>
    
    <div class="previusnext">
    <?php previous_post_link('<span class="pn">%link</span>'); ?> <?php next_post_link('<span class="pn">%link</span>'); ?>
    </div>
    
    <?php comments_template(); ?>
    
    </div>
    
    <?php get_footer(); ?>
    Theme Author robertostrabelli

    (@robertostrabelli)

    Hi

    My english is poor, so I don’t understand exactly what are you talking about. Can you be more clear?

    Theme Author robertostrabelli

    (@robertostrabelli)

    My mistake. the code to be replaced is:

    <article class="chamada">
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h3><a href="<?php the_permalink();?>"><?php the_title() ; ?></a></h3>
    <?php edit_post_link(); ?>
    <p><small><?php
    echo str_replace("<img ", "<img title='' ", get_avatar( get_the_author_meta('user_email'), $size = '20', '', ''));
    ?> <?php the_author_posts_link(); ?> - <?php the_category(', ');?> - <a href="<?php the_permalink();?>"><?php the_date(); ?></a></small></p>
    <?php the_excerpt(); ?>
    </div>
    </article>
    Theme Author robertostrabelli

    (@robertostrabelli)

    Hi

    In the index.php file, replace this code:

    <?php
    if ( has_post_thumbnail()) {
    get_template_part( 'content', 'cha1' );
    } else {
    get_template_part( 'content', 'cha2' );
    }
    ?>

    For this:

    <article class="chamada">
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h3><a href="<?php the_permalink();?>"><?php the_title() ; ?></a></h3>
    <?php edit_post_link(); ?>
    <p><small><?php
    echo str_replace("<img ", "<img title='' ", get_avatar( get_the_author_meta('user_email'), $size = '20', '', ''));
    ?> <?php the_author_posts_link(); ?> - <?php the_category(', ');?> - <a href="<?php the_permalink();?>"><?php the_date(); ?></a></small></p>
    <div class="entry-content">
    <?php the_content(); ?>
    <?php wp_link_pages(); ?>
    </div>
    </div>
    </article>

    In the coming days I will update the theme and you can show entire posts on the frontpage choosing the option in Appearance -> Customize.

Viewing 8 replies - 1 through 8 (of 8 total)