1)
burası sitenin indexinde rastgele bir yazının ön gösterimi. Buradaki açıklamanın altında "Etiketler:" diyip etiketlerin gözüıkmesini tıklndığında etikete gitmesini isityorum ana yazı boyutu küçük olmalı nasıl yapabilirim? index.php kodları;
<?php $options = get_option('ribbon'); ?>
<?php get_header(); ?>
<div id="page">
<div class="content">
<article class="article">
<meta name="description" content="Ahmet Çamlı, Seo Blogu, Webmaster Blogu. En Kaliteli Webmaster Kişisel Blogu" />
<div id="content_box" class="home_page">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post excerpt <?php echo (++$j % 2 == 0) ? 'last' : ''; ?>">
<div class="post-date-ribbon"><div class="corner"></div><?php the_time('d M Y'); ?></div>
<header>
<h2 class="title">
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h2>
<div class="post-info">
<div class="author_mt hp_meta"><span class="mt_icon"> </span><?php _e('By ','mythemeshop'); ?><?php the_author_posts_link(); ?></div>
<div class="cat_mt hp_meta"><span class="mt_icon"> </span><?php the_category(', '); ?></div>
<div class="comment_mt hp_meta"><span class="mt_icon"> </span> <a href="<?php comments_link(); ?>"><?php comments_number(' Yorum yapılmamış',' 1 Yorum',' % Yorum'); ?></a></div>
</div>
</header><!--.header-->
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="nofollow" id="featured-thumbnail">
<?php if ( has_post_thumbnail() ) { ?>
<?php echo '<div class="featured-thumbnail">'; the_post_thumbnail('featured',array('title' => '')); echo '</div>'; ?>
<?php } ?>
</a>
<div class="post-content image-caption-format-1">
<?php echo excerpt(56);?>
</div>
<div class="readMore"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php _e('Read More','mythemeshop'); ?></a></div>
</div><!--.post excerpt-->
<?php endwhile; else: ?>
<div class="post excerpt">
<div class="no-results">
<p><strong><?php _e('There has been an error.', 'mythemeshop'); ?></strong></p>
<p><?php _e('We apologize for any inconvenience, please hit back on your browser or use the search form below.', 'mythemeshop'); ?></p>
<?php get_search_form(); ?>
</div><!--noResults-->
</div>
<?php endif; ?>
<?php if ($options['mts_pagenavigation'] == '1') { ?>
<?php pagination($additional_loop->max_num_pages);?>
<?php } else { ?>
<div class="pnavigation2">
<div class="nav-previous"><?php next_posts_link( __( '← '.'Older posts', 'mythemeshop' ) ); ?></div>
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts'.' →', 'mythemeshop' ) ); ?></div>
</div>
<?php } ?>
</div>
</article>
<?php get_sidebar(); ?>
<?php get_footer(); ?>2)
Burada a bir yazının içerisi gösterilmektedir. Burada da paylaşma butonlarının üzerinde aynı şekilde gözükmesini istiyorum.single.php kodları;
<?php get_header(); ?>
<?php $options = get_option('ribbon'); ?>
<div id="page" class="single">
<div class="content">
<article class="article">
<div id="content_box" >
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class('g post'); ?>>
<div class="single_post">
<div class="post-date-ribbon"><div class="corner"></div><?php the_time('d M Y'); ?></div>
<?php if ($options['mts_breadcrumb'] == '1') { ?>
<div class="breadcrumb"><?php the_breadcrumb(); ?></div>
<?php } ?>
<header>
<h1 class="title single-title"><?php the_title(); ?></h1>
<span class="theauthor single-postmeta"><?php _e('Posted in ','mythemeshop'); the_category(', '); ?><?php _e(' By ','mythemeshop'); the_author_posts_link(); ?><?php _e(' On ','mythemeshop'); the_time('F j, Y'); ?></span>
</header><!--.headline_area-->
<div class="post-single-content box mark-links">
<?php the_content(); ?>
<?php wp_link_pages('before=<div class="pagination2">&after=</div>'); ?>
<?php if($options['mts_tags'] == '1') { ?>
<div class="tags"><?php the_tags('<span class="tagtext">Tags:</span>',', ') ?></div>
<?php } ?>
</div>
</div><!--.post-content box mark-links--><!--paylas-->
<center>  <strong>Paylaşmak İçin Sembollere Tıkla :)</strong><br />
<p>  <a title="Facebook'ta Paylaş" href="http://www.facebook.com/share.php?u=<?php the_permalink('') ?>" target="_blank"><img src="http://www.ahmetcamli.org/paylas/fb.png"></a>
  <a title="Twitter'da Paylaş" href="http://twitter.com/home/?status=<?php the_title(''); ?>+<?php the_permalink('') ?>" target="_blank"><img src="http://www.ahmetcamli.org/paylas/tw.png"></a>
  <a title="Google+'da Paylaş" href="https://plus.google.com/share?url=<?php the_permalink('') ?>" target="_blank"><img src="http://www.ahmetcamli.org/paylas/gp.png"></a>
  <a title="Pinterest'te Paylaş"href="http://pinterest.com/pinthis?url=<?php the_permalink('') ?>" target="_blank"><img src="http://www.ahmetcamli.org/paylas/pt.png"></a></p></center>
<!--paylas-->
<?php if($options['mts_author_box'] == '1') { ?>
<div class="postauthor">
<h4><?php _e('About Author', 'mythemeshop'); ?></h4>
<?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '85' ); } ?>
<h5><?php the_author_meta( 'nickname' ); ?></h5>
<p><?php the_author_meta('description') ?></p>
</div>
<?php }?>
<?php if($options['mts_related_posts'] == '1') { ?>
<?php $categories = get_the_category($post->ID); if ($categories) { $category_ids = array(); foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id; $args=array( 'category__in' => $category_ids, 'post__not_in' => array($post->ID), 'showposts'=>3, 'orderby' => rand, 'caller_get_posts'=>1 );
$my_query = new wp_query( $args );
if( $my_query->have_posts() ) {
echo '<div class="related-posts"><div class="postauthor-top"><h3>'.__('Related Posts','mythemeshop').'</h3></div><ul>';
while( $my_query->have_posts() ) { ++$counter; if($counter == 3) { $postclass = 'last'; $counter = 0; } else { $postclass = ''; } $my_query->the_post();?>
<li class="<?php echo $postclass; ?>">
<a rel="nofollow" class="relatedthumb" href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title(); ?>">
<span class="rthumb">
<?php if(has_post_thumbnail()): ?> <?php the_post_thumbnail('related', 'title='); ?>
<?php else: ?> <img src="<?php echo get_template_directory_uri(); ?>/images/relthumb.png" alt="<?php the_title(); ?>" width='200' height='125' class="wp-post-image" /> <?php endif; ?>
</span>
<span class="rp_title"><?php the_title(); ?></span>
</a>
</li>
<?php } echo '</ul></div>'; } } wp_reset_query(); ?><!-- .related-posts -->
<?php }?>
</div>
<!--.g post-->
<?php comments_template( '', true ); ?>
<?php endwhile; /* end loop */ ?>
</div>
</article>
<?php get_sidebar(); ?>
<?php get_footer(); ?>Yardımcı olursanız sevinirim. Nereye hangi kodu eklmeme gerekli bilen söylerse sevinirim. Şimididen teşekkürler verdiğmi bilgiler yetmiyorsa PM ile iletişim bilgilerini verebilirim.--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 14:02:45 -->-> Daha önceki mesaj 13:28:39 --
orunu çözdüm
ileride buraya giripde merak edenler için;
<div class="tags"><?php the_tags('<span class="tagtext">Etiketler:</span>',', ') ?></div>
bu kodu gerekli yerlere yapıştırmak yetiyor.