• 07-06-2014, 08:42:11
    #1
    Benim tema'da yazar adı, kategorisi, okuma sayısı falan gibi yazının üst kısmında bir alan var hemen herkeste olduğu gibi. Kodu aşağıdaki

     * Displays entry meta.
     */
    function minty_entry_meta() {
    
    	printf( '<time class="entry-date" datetime="%1$s" pubdate itemprop="datePublished">%2$s</time>',
    		esc_attr( get_the_date( 'c' ) ),
    		esc_html( get_the_date( has_post_format( 'status' ) ? 'Y-m-d H:i' : 'Y-m-d') )
    	);
    
    	if ( ! has_post_format( 'status' ) ) {
    		$categories_list = get_the_category_list( '、' );
    		if ( $categories_list ) {
    			echo ' <span class="dot">&bull;</span> <span class="categories-links" itemprop="keywords">' . $categories_list . '</span>';
    		}
    	}
    
    	echo ' <span class="dot">&bull;</span> ';
    
    	comments_popup_link('0 Yorum', '1 Yorum', '% Yorum', 'comments-link', 'Yorumlara Kapalı');
    	
    	if (get_option( 'minty_show_post_author' )) echo ' <span class="dot">&bull;</span> <a class="author vcard" itemprop="author" itemscope itemtype="http://schema.org/Person" rel="author" href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '"><span itemprop="name" class="fn">' . get_the_author() . '</span></a>';
    
    	if (function_exists('the_views')) {
    		echo ' <span class="dot">&bull;</span>';
    		the_views();
    	};
    
    	edit_post_link(__('Edit This'), ' <span class="dot">&bull;</span> ');
    
    [B][COLOR="Red"]kod buraya gelecek ama diğerlerine nazaran sağa yaslanması lazım[/COLOR][/B]
    }

    kod buraya gelecek kısmına aşağıdaki paylaşım kodunu eklemek istiyorum, kodlama bilgim zayıf o yüzden düz haliyle koyunca çalışmıyor tema. Sizlerden bu noktada yardım bekliyorum. Şimdiden emekleriniz için teşekkür ederim.

    paylaşım kodu

    <a href="https://www.facebook.com/sharer/sharer.php?u={{link}}&{{title}}" alt="Bu yazıyı Facebook da paylaş" title="Bu yazıyı Facebook da paylaş">facebook</a>
    <a href="http://twitter.com/home?status=&quot;{link}}&{{title}}" alt="Bu yazıyı Twitter da paylaş" title="Bu yazıyı Twitter da paylaş">twitter</a>
    <a href="https://plusone.google.com/_/+1/confirm?hl=tr&amp;url=&quot;{link}}&{{title}}" alt="Bu yazıyı Google Plus da paylaş" title="Bu yazıyı Google Plus da paylaş">Google+</a>
  • 07-06-2014, 15:16:58
    #2
    güncel........