Merhaba arkadaşlar,
Arthemia temasındaki Browse Category bölümünü başka bir temaya entegre edebilir miyim ?
Arthemia: http://michaelhutagalung.com/arthemia/
Kullandığım Tema: http://demo.themesboutique.com/?themedemo=celadon
Arthemia Temasında Browse Category bölümü
3
●362
- 11-08-2009, 22:21:57Üyeliği durduruldu
- 11-08-2009, 22:26:05Edersin tabiki, yapman gereken index.php den browser dediğin alanın hangi divlerler çalıştığını öğrenmek, daha sonra ise oraları admin panelinden düzenlemek zor olacağı için, style.css dosyasından kullandığı renk, şekil, yazı tipi gibi özellikleri, kullanacağın temaya entegre etmek. sonrasında orayı manuel çalıştırmak için, index.php dosyanda her yazacağın yazı için o div'i vermek. Sonrasında çıkacaktır orada.
- 11-08-2009, 22:29:25Üyeliği durduruldu
<div id="middle" class="clearfloat"> <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/category.png" class="clearfloat" alt="" /> <?php $display_categories = array(5,6,7,8,11); $i = 1; foreach ($display_categories as $category) { ?> <div id="cat-<?php echo $i; ?>" class="category"> <?php query_posts("showposts=1&cat=$category")?> <span class="cat_title"><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?></a></span> <a href="<?php echo get_category_link($category);?>"><?php echo category_description($category); ?></a> </div> <?php $i++; ?> <?php } ?> </div> <?php } ?> <div id="bottom" class="clearfloat"> <div id="front-list"> <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-27,-28&paged=$page&posts_per_page=5"); ?> <?php while (have_posts()) : the_post(); ?> <div class="clearfloat"> <h3 class=cat_title><?php the_category(', '); ?> »</h3> <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> <div class="spoiler"> <?php $values = get_post_custom_values("Image"); if (isset($values[0])) { ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100" alt="<?php the_title(); ?>" class="left" width="150px" height="150px" /></a> <?php } ?> <?php the_excerpt(); ?> </div> </div>Farklı olan alan burası sanırım. Bu bölümü kendi temamın index.php dosyasına mı yapıştırıcam ?