IPB

( Zaloguj | Zarejestruj )

 
Reply to this topicStart new topic
> kilka kolumnna stronie z blogiem
pikolo
post 12.12.2009 - 18:41
Post #1


aktywność:


Grupa: +Bloger
Postów: 18

Nr: 6 824



Witam , czy ktoś może orientuje się czy jest gdzieś jakiś tutek w internecie ( może być po angielsku ) , jak zrobić szablon z blogiem w wordpresie który będzie miał kilka kolumn , każda kolumna żeby miałą osobną własną kategorię , tak jak to jest na tej stronie http://www.upstartblogger.com/wpthemes/ ,
Teoretycznie kod szablonu jest w miarę przejrzysty , ale niestety nie orientuje się jakie funkcje są funkcjami wordpresa a jakie php .

<?php $feature_post = get_posts( 'category=1&numberposts=1' ); ?>
<?php foreach( $feature_post as $post ) : setup_postdata( $post ); ?>
<li><h2 class="latest"><?php the_category(' '); ?></h2></li>
<?php endforeach; ?>
<?php $feature_post = get_posts( 'category=1&numberposts=3' ); ?>
<?php foreach( $feature_post as $post ) : setup_postdata( $post ); ?>
<?php if (function_exists('c2c_get_custom')) : ?>
<li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php echo c2c_get_custom('post-image','<img src="','" alt="<?php the_title(); ?>" class="post-image" />',''); ?></a></li>
<?php endif; ?>

<li class="list-time"><?php the_time('d'); ?>.<?php the_time('M'); ?></li>
<li class="list-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
<li class="latest-excerpt"><?php the_excerpt(); ?></li>
<?php endforeach; ?>


dzięki za każdą pomoc , lub krótkie objasnienie kodu
Go to the top of the page
 
+Quote Post
pikolo
post 12.12.2009 - 23:05
Post #2


aktywność:


Grupa: +Bloger
Postów: 18

Nr: 6 824



rozgryzłem zagadnienie , mam pytanie , jak się usuwa własne wątki?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



: 24 05 12 - 08:02