← WordPress

Duvida Urgente

Lida 2441 vezes

Offline

zemann 
Membro
Mensagens 6 Gostos 0
Troféus totais: 15
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 First Post Karma Seventh year Anniversary Sixth year Anniversary

Boas, comprei um template e gosto dele, o unico problema é que os posst apenas se vêm um bocado e para se ver mais tem de se clicar neles, eu gostava que as noticias dessem para ver logo todas ao mesmo tempo se alguem souber como tirar ou um codigo que se altere para ficar bom agradecia...
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Olá bem vindo ao +t,

Vai ao ficheiro index.php ou home.php da theme e procura por:

Código: [Seleccione]
the_excerpt()(ou algo muito parecido)

e substitui por:
Código: [Seleccione]
the_content()
Offline

zemann 
Membro
Mensagens 6 Gostos 0
Troféus totais: 15
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 First Post Karma Seventh year Anniversary Sixth year Anniversary

<?php get_header();  ?>

<div id="column1">

   <?php if (have_posts()) : ?>

   <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=".get_theme_mod('home_cat')."&paged=$page"); while ( have_posts() ) : the_post() ?>

      <div class="post">
         
         <div id="post-<?php the_ID(); ?>" class="postbox">
            
               <div class="post-thumb">
                  <?php tj_show_thumb('boxthumbw', 'boxthumbh'); ?>
               </div> <!--end .post-thumb-->
                  
            <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
               
             <div class="post-date">
                <em><?php _e('Posted by', 'themejunkie'); ?> <?php the_author_posts_link(); ?> <?php _e('on', 'themejunkie'); ?> <?php the_time('F j, Y'); ?></em>
             </div> <!--end .post-date-->
   
               <div class="post-exerpt">
               <?php tj_content_limit(get_theme_mod('limit_char')); ?>   
               </div> <!--end .post-excerpt-->
                  
               <div class="clear"></div>
                  
         </div> <!--end .postbox-->
            
         <div class="post-bottom">
            
            <div class="filedin">
               <?php _e('Filed in', 'themejunkie'); ?>: <?php the_category(', ')?>
            </div> <!--end .filedin-->
                  
            <div class="small-comment-cloud">
               <?php comments_popup_link('0', '1', '%', 'comments-link', ''); ?>
            </div> <!--end .small-comment-cloud-->
                   
             <div class="clear"></div>
            
         </div> <!--end .post-bottom-->
            
         <div class="clear"></div>   
         
      </div> <!--end .post-->

   <?php endwhile; ?>
      
      <div class="clear"></div>

      <div class="pagination">
          <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
          <div class="left"><?php previous_posts_link(__('Newer Entries', 'themejunkie')) ?></div>
          <div class="right"><?php next_posts_link(__('Older Entries', 'themejunkie')) ?></div>
          <div class="clear"></div>
          <?php } ?>
      </div> <!--end .pagination-->   

   <?php else : ?>

   <?php endif; ?>
   
</div> <!--end #column1-->

<?php get_sidebar(); ?>

<?php get_footer(); ?>

nao tenho aqui, pelo menos acho que nao me escapou
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

As vezes está diferente. São gajos que têm a mania de ligar o complicómetro.

Encontrar:
Código: (php) [Seleccione]
<?php tj_content_limit(get_theme_mod('limit_char')); ?>   
Substituir por:
Código: (php) [Seleccione]
<?php the_content(); ?>   
Offline

zemann 
Membro
Mensagens 6 Gostos 0
Troféus totais: 15
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 First Post Karma Seventh year Anniversary Sixth year Anniversary

feito so mais uma coisa nuno neste temple não consigo mudar o background.. é branco não devem ter nenhuma imagem..
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

Troféus totais: 30
Trófeus: (Ver todos)
Windows User Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

As vezes está diferente. São gajos que têm a mania de ligar o complicómetro.

Acredita, ainda esta semana mexi num theme que aquilo em termos de código enfim...nem um único comentário no código...

feito so mais uma coisa nuno neste temple não consigo mudar o background.. é branco não devem ter nenhuma imagem..

Podes colocar aqui o teu CSS? Ou por MP se preferires.
Offline

zemann 
Membro
Mensagens 6 Gostos 0
Troféus totais: 15
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 First Post Karma Seventh year Anniversary Sixth year Anniversary

boas
o tema é gratis e pus-te aqui
http://www.megaupload.com/?d=S4SO8L1T

queria duas coisas, a HOME da para ver o conteudo todo das noticias mas nas categorias já não
queria que desse para ver tambem nas categorias
e onde diz Read more queria por comentarios e quantos comentarios ja tinha.
se me puderes ajudar obrigado desde já e bom natal.
Offline

Nelson de Sousa 
Membro
Mensagens 833 Gostos 0
Feedback +5

Troféus totais: 27
Trófeus: (Ver todos)
Windows User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

"...comprei um theme e gosto dele..."
(...)
"...o theme é grátis..."
Offline

zemann 
Membro
Mensagens 6 Gostos 0
Troféus totais: 15
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 First Post Karma Seventh year Anniversary Sixth year Anniversary

sim, mas mudei visto o outro não consegui fazer nada dele, cumps