انجمن


مشکل به هم ریختن ابزارک در قالب rhea  (۱۸ نوشته)

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۰ مهر ۱۳۸۷ - ۰۹:۵۹

    سلام
    وقتی ابزارک رو توی وردپرس اضافه میکنم , برای نمایش میریزه به هم ؟؟؟ :?
    یه عکس ازش گرفتم ببینید : :D
    <img src="http://i37.tinypic.com/316u9a0.jpg" alt="senter" />

    من ورود پرس رو روی localhost نصب کردم , به نظر شما مشکل از اینه ؟؟؟ :-?
    @},- @},- @},-

  • مهدی

    آفلاین
    ناظم
    تعداد نوشته‌ها: ۱۱۰۰
    تشکر شده: ۳۴۳ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۰ مهر ۱۳۸۷ - ۱۱:۳۱

    ربطی به لوکال هاست نداره شما کدهاي فايل sidebar.php رو بازبيني کنيد.

  • بهرنگ

    آفلاین
    ناظم
    تعداد نوشته‌ها: ۱۳۹۹
    تشکر شده: ۴۵۱ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۰ مهر ۱۳۸۷ - ۱۱:۵۹

    ابزارک جستجو رو اضافه نکن ببین درست میشه؟

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۰ مهر ۱۳۸۷ - ۱۲:۵۷

    ممنون @},- @},-

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۲ مهر ۱۳۸۷ - ۰۰:۳۵

    سلام
    هرکاری میکنم ستون کناری 2 مشکل داره
    وقتی ابزارک بهش اضافه میکنم میره ترتیبش میریزه به هم اما ستون کناری 1 درسته
    توی این آدرس ببینید
    http://bia2arak.com/

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۲ مهر ۱۳۸۷ - ۰۸:۵۴

    توی قالب های دیگه هم تست کردم ابزارک ها بازم به هم میریزه , فقط ستون راست خراب میشه !!! وقتی توی ادامه مطلب میروم ابزارک ها درست میشن ؟؟؟ به نظر شما چکار کنم ؟ توی لوکال هاست و توی هاست هم برای من اینطوری شده ؟ :-( :((

  • مهدی

    آفلاین
    ناظم
    تعداد نوشته‌ها: ۱۱۰۰
    تشکر شده: ۳۴۳ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۲ مهر ۱۳۸۷ - ۲۱:۲۰

    احتمالا پست های شما حاوی کد DIV هست چک کنید اگر بود حذف کنید.

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۲ مهر ۱۳۸۷ - ۲۳:۰۳

    سلام
    فهمیدم از کجاست
    وقتی پست میدهم و بقیه رو در ادامه مطلب قرار میدم ابزارک میریزه به هم , وقتی ادامه مطلب نمیدم ابزارک درست میشه
    خوب تا اینجاشو ما فهمیدیم بقیشو شما بگید چکار کنیم :[[ :-(

  • مهدی

    آفلاین
    ناظم
    تعداد نوشته‌ها: ۱۱۰۰
    تشکر شده: ۳۴۳ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۳ مهر ۱۳۸۷ - ۰۰:۰۱

    کدهای فایل index.php رو بزار اینجا

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۳ مهر ۱۳۸۷ - ۰۰:۵۱

    اینم کد index.php

    <?php get_header(); ?>
    <div id="lsidebar"><?php include (TEMPLATEPATH . '/lsidebar.php'); ?></div>
    <div class="entry">
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2><a>" rel="bookmark" title="<?php _e('Permanent Link to ','rhea'); ?><?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php _e('Written by','rhea'); ?> <?php the_author() ?> <?php _e('on','rhea'); ?> "><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?> - <?php if(function_exists('the_views')) { the_views(); } ?> </small>
    
    					<?php the_content(__('Read more &raquo;','rhea')); ?>
    
    <?php the_tags(__('Tags: ','rhea'), __(', ','rhea'), __('','rhea')); ?><?php _e('Posted in','rhea'); ?> <?php the_category(__(', ','rhea')); ?> | <?php edit_post_link(__('Edit','rhea'), '', __(' | ','rhea')); ?> <?php comments_popup_link(__('No Comments »','rhea'), __('1 Comment »','rhea'), __('% Comments »','rhea')); ?>
    <div class="line"></div>
    			</div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','rhea')) ?></div>
    			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','rhea')) ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center"><?php _e('Not Found','rhea'); ?></h2>
    		<p class="center"><?php _e('Sorry, but you are looking for something that isnt here.','rhea'); ?></p>
    
    	<?php endif; ?>
    
    	</div></div>
    <div id="sidebar"><?php include (TEMPLATEPATH . '/rsidebar.php'); ?></div>
    <?php get_footer(); ?>
  • مهدی

    آفلاین
    ناظم
    تعداد نوشته‌ها: ۱۱۰۰
    تشکر شده: ۳۴۳ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۳ مهر ۱۳۸۷ - ۱۲:۰۸

    اون چیزی رو که می‌خواستم پیدا نکردم . کل پوستت رو بزار

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۳ مهر ۱۳۸۷ - ۱۳:۳۹

    سلام
    باشه همرو اینجا میزارم @},-

    sitemaps.php

    <?php
    /*
    Template Name: Sitemap
    */
    ?>
    
    <?php get_header(); ?>
    
    <div id="lsidebar"><?php include (TEMPLATEPATH . '/lsidebar.php'); ?></div>
    <div class="entry">
    <h2><?php the_title(); ?></h2><br />
    
    <h3><?php _e('All internal pages:','rhea'); ?></h3>
    <ul>
    	<?php wp_list_pages('title_li='); ?>
    </ul>
    
    <br /><h3><?php _e('All internal blog posts:','rhea'); ?></h3><br />
    <ul>
    	<?php $archive_query = new WP_Query('showposts=1000');
    		while ($archive_query->have_posts()) : $archive_query->the_post(); ?>
    	<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to ','rhea'); ?><?php the_title(); ?>"><?php the_title(); ?></a> <strong><?php comments_number('0', '1', '%'); ?></strong></li>
    	<?php endwhile; ?>
    </ul>
    
    <br /><h3><?php _e('Monthly archive pages:','rhea'); ?></h3><br />
    <ul>
    	<?php wp_get_archives('type=monthly'); ?>
    </ul>
    
    <br /><h3><?php _e('Topical archive pages:','rhea'); ?></h3><br />
    <ul>
    	<?php wp_list_categories('title_li=0'); ?>
    </ul>
    
    <br /><h3><?php _e('Available RSS Feeds:','rhea'); ?></h3><br />
    <ul>
    	<li><a href="<?php bloginfo('rdf_url'); ?>" title="RDF/RSS 1.0 feed"><acronym title="Resource Description Framework">RDF</acronym>/<acronym title="Really Simple Syndication">RSS</acronym> 1.0 feed</a></li>
    	<li><a href="<?php bloginfo('rss_url'); ?>" title="RSS 0.92 feed"><acronym title="Really Simple Syndication">RSS</acronym> 0.92 feed</a></li>
    	<li><a href="<?php bloginfo('rss2_url'); ?>" title="RSS 2.0 feed"><acronym title="Really Simple Syndication">RSS</acronym> 2.0 feed</a></li>
    	<li><a href="<?php bloginfo('atom_url'); ?>" title="Atom feed">Atom feed</a></li>
    </ul>
    </div></div>
    <div id="sidebar"><?php include (TEMPLATEPATH . '/rsidebar.php'); ?></div>
    <?php get_footer(); ?>

    دیدگاه‌ها (comments.php)

    <?php // Do not delete these lines
    	if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    		die (__('Please do not load this page directly. Thanks!','rhea'));
    
            if (!empty($post->post_password)) { // if there's a password
                if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    				?>
    
    				<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.','rhea'); ?><p>
    
    				<?php
    				return;
                }
            }
    
    		/* This variable is for alternating comment background */
    		$oddcomment = 'odd';
    ?>
    
    <!-- You can start editing here. -->
    
    <div id="commentsbox">
    
    <?php if ($comments) : ?>
    
    <?php 
    
    	/* Count the totals */
    	$numPingBacks = 0;
    	$numComments  = 0;
    
    	/* Loop through comments to count these totals */
    	foreach ($comments as $comment) {
    		if (get_comment_type() != "comment") { $numPingBacks++; }
    		else { $numComments++; }
    	}
    
    ?>
    
    <?php 
    
    	/* This is a loop for printing comments */
    	if ($numComments != 0) : ?>
    <h2 id="comments">
    	 <br /> <?php comments_number(__('No Responses','rhea'), __('One Response','rhea'), __('% Responses','rhea')); ?>
    	  <?php _e('to','rhea'); ?> “<?php the_title(); ?>”</h2>
    
    	<ol class="commentlist">
    	<?php foreach ($comments as $comment) : ?>
    	<?php if (get_comment_type()=="comment") : ?>
    
    <li class="<?php if ($comment->comment_author_email == "") echo 'mycomment'; else echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
    
    		<p style="margin-bottom:5px; border-bottom:1px #fff dotted; padding-bottom:5px;"><?php _e('By','rhea'); ?> <strong><?php comment_author_link() ?></strong> <?php _e('on','rhea'); ?> <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('M j, Y') ?></a> | <a href="#respond"><?php _e('Reply','rhea'); ?></a><?php edit_comment_link(__('Edit','rhea'), __(' | ','rhea'), ''); ?></p>
    		<?php if ($comment->comment_approved == '0') : ?>
    		<em><?php _e('Your comment is awaiting moderation.','rhea'); ?></em>
    		<?php endif; ?>
    		<?php comment_text() ?>
    	</li>
    
    	<?php /* Changes every other comment to a different class */
    	if ('alt' == $oddcomment) $oddcomment = '';
    	else $oddcomment = 'odd';
    	?>
    
    	<?php endif; endforeach; ?>
    	</ol>
    
    	<?php endif; ?>
    
    <?php
    
    	/* This is a loop for printing trackbacks if there are any */
    	if ($numPingBacks != 0) : ?>
    
    	<ol class="tblist">
    
    <li><h2><?php _e($numPingBacks); ?> Trackback(s)</h2></li>
    
    <?php foreach ($comments as $comment) : ?>
    <?php if (get_comment_type()!="comment") : ?>
    
    	<li id="comment-<?php comment_ID() ?>">
    		<?php comment_date('M j, Y') ?>: <?php comment_author_link() ?>
    		<?php if ($comment->comment_approved == '0') : ?>
    		<em><?php _e('Your comment is awaiting moderation.','rhea'); ?></em>
    		<?php endif; ?>
    	</li>
    
    	<?php if('odd'==$thiscomment) { $thiscomment = 'even'; } else { $thiscomment = 'odd'; } ?>
    
    <?php endif; endforeach; ?>
    
    	</ol>
    
    <?php endif; ?>
    
    <?php else : 
    
    	/* No comments at all means a simple message instead */
    ?>
    
    <?php endif; ?>
    
    <?php if (comments_open()) : ?>
    
    	<?php if (get_option('comment_registration') && !$user_ID ) : ?>
    		<p id="comments-blocked"><?php _e('You must be','rhea'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=
    		<?php the_permalink(); ?>"><?php _e('logged in','rhea'); ?></a> <?php _e('to post a comment.','rhea'); ?></p>
    	<?php else : ?>
    
    	<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    
    	<h2><?php _e('Post a Comment','rhea'); ?></h2>
    
    	<?php if ($user_ID) : ?>
    
    	<p><?php _e('You are logged in as','rhea'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php">
    		<?php echo $user_identity; ?></a><?php _e('. To logout,','rhea'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account','rhea'); ?>"><?php _e('click here','rhea'); ?></a>.
    	</p>
    
    <?php else : ?>	
    
    		<p><label for="author"><?php _e('Name','rhea'); ?><?php if ($req) _e(__(' (required)','rhea')); ?></label>
    		<input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /></p>
    
    		<p><label for="email"><?php _e('E-mail (will not be published)','rhea'); ?><?php if ($req) _e(__(' (required)','rhea')); ?></label>
    		<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" size="22" /></p>		
    
    		<p><label for="url"><?php _e('Website','rhea'); ?></label>
    		<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /></p>
    	<?php
    /****** Math Comment Spam Protection Plugin ******/
    if ( function_exists('math_comment_spam_protection') ) {
    	$mcsp_info = math_comment_spam_protection();
    ?> 	<p><input type="text" name="mcspvalue" id="mcspvalue" value="" size="22" tabindex="4" />
    	<label for="mcspvalue"><small><?php _e('Spam protection: Sum of','rhea'); ?> <?php echo $mcsp_info['operand1'] . ' + ' . $mcsp_info['operand2'] . ' ?' ?></small></label>
    	<input type="hidden" name="mcspinfo" value="<?php echo $mcsp_info['result']; ?>" />
    </p>
    <?php } // if function_exists... ?>
    	<?php endif; ?>
    
    		<p><textarea name="comment" id="comment" cols="5" rows="10" tabindex="4"></textarea></p>
    
    		<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment','rhea'); ?>" />
    		<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></p>
    
    	<?php do_action('comment_form', $post->ID); ?>
    
    	</form>
    
    <?php endif; // If registration required and not logged in ?>
    
    <?php else : // Comments are closed ?>
    	<p id="comments-closed"><?php _e('Sorry, comments for this entry are closed at this time.','rhea'); ?></p>
    <?php endif; ?></div>

    پانوشت (footer.php)

    <br clear="all" />
    </div>
    <div id="footer">
    <div class="footer">Copyright &copy; 2007 <?php bloginfo('name'); ?> | Designed by - <a href="http://www.blogohblog.com/">Jai</a> and Localized by <a href="http://www.cusoon.ir/" class="fpc">	<b>SiaVash </b></a> <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --></div>
    <div class="top"><a href="#top"><?php _e('Top','rhea'); ?></a></div>
    </div>
    </div>
    <div id="wrapper_"></div>
    </body>
    </html>

    نتایج جست‌وجو (search.php)

    <?php get_header(); ?>
    <div id="themes"><?php include (TEMPLATEPATH . '/lsidebar.php'); ?></div>
    <div class="entry">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to ','rhea'); ?><?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php _e('Written by','rhea'); ?> <?php the_author() ?> <?php _e('on','rhea'); ?> <abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> - <?php if(function_exists('the_views')) { the_views(); } ?> </small><br /><br />
    
    					<?php the_content(__('Read more &raquo;','rhea')); ?>
    
    <br />
    <?php the_tags(__('Tags: ','rhea'), __(', ','rhea'), __('<br />','rhea')); ?><?php _e('Posted in','rhea'); ?> <?php the_category(__(', ','rhea')); ?> | <?php edit_post_link(__('Edit','rhea'), '', __(' | ','rhea')); ?> <?php comments_popup_link(__('No Comments »','rhea'), __('1 Comment »','rhea'), __('% Comments »','rhea')); ?><br />
    <div class="line"></div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','rhea')) ?></div>
    			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','rhea')) ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center"><?php _e('No posts found. Try a different search?','rhea'); ?></h2>
    
    	<?php endif; ?>
    
    	</div></div>
    
    <div id="sidebar"><?php include (TEMPLATEPATH . '/rsidebar.php'); ?></div>
    
    <?php get_footer(); ?>

    ستون‌کناری (sidebar.php)

    <div id="sidebar">
    <?php include (TEMPLATEPATH . '/sidebarhome.php'); ?>
    </div>

    rsidebar.php

    <div class="rsidebar">
    	<ul>
    	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
    	<?php endif; ?>
    	</ul>
    </div>

    سربرگ (header.php)

    <?php load_theme_textdomain('rhea'); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="wrapper">
    <div id="top">
    <div id="header"><h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1></div>
    <div id="title"></div>
    </div>
    <div id="navbar">
    <div id="menu">
    <ul class="menu">
    <li class="<?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home','rhea'); ?><?php echo $langblog;?></a></li>
    		<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    </ul>
    </div>
    <div id="searchrss">
    <div id="rss"><a href="?feed=rss2"><?php _e('Feed','rhea'); ?></a> | <a href="<?php _e('#','rhea'); ?>"><?php _e('Subscribe via Email','rhea'); ?></a></div>
    <div id="topsearch">
    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
    <input type="text" name="s" id="ls" onfocus="if (this.value == '<?php _e('Search...','rhea'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search...','rhea'); ?>';}" class="swap_value" />
    <input type="image" src="<?php bloginfo('template_url'); ?>/images/btn_search_box.gif" id="go" alt="Search" title="Search" />
    </form>
    </div>
    </div>
    </div>
    <br clear="all" />
    <div id="main">
    <div id="content">

    پوسته‌ی اصلی (index.php)

    <?php get_header(); ?>
    <div id="lsidebar"><?php include (TEMPLATEPATH . '/lsidebar.php'); ?></div>
    <div class="entry">
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to ','rhea'); ?><?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php _e('Written by','rhea'); ?> <?php the_author() ?> <?php _e('on','rhea'); ?> <abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> - <?php if(function_exists('the_views')) { the_views(); } ?> </small><br /><br />
    
    					<?php the_content(__('Read more &raquo;','rhea')); ?>
    
    <br />
    <?php the_tags(__('Tags: ','rhea'), __(', ','rhea'), __('<br />','rhea')); ?><?php _e('Posted in','rhea'); ?> <?php the_category(__(', ','rhea')); ?> | <?php edit_post_link(__('Edit','rhea'), '', __(' | ','rhea')); ?> <?php comments_popup_link(__('No Comments »','rhea'), __('1 Comment »','rhea'), __('% Comments »','rhea')); ?><br />
    <div class="line"></div>
    			</div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','rhea')) ?></div>
    			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','rhea')) ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center"><?php _e('Not Found','rhea'); ?></h2>
    		<p class="center"><?php _e('Sorry, but you are looking for something that isnt here.','rhea'); ?></p>
    
    	<?php endif; ?>
    
    	</div></div>
    <div id="sidebar"><?php include (TEMPLATEPATH . '/rsidebar.php'); ?></div>
    <?php get_footer(); ?>

    lsidebar.php

    <div class="lsidebar">
    <ul>
    	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
    		<?php endif; ?>
    		</ul>
    
    </div>

    تابع‌های پوسته (functions.php)

    <?php
    if ( function_exists('register_sidebars') )
        register_sidebars(2);
    ?>

    تک نوشته (single.php)

    <?php get_header(); ?>
    <div id="lsidebar"><?php include (TEMPLATEPATH . '/lsidebar.php'); ?></div>
    <div class="entry">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to ','rhea'); ?><?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php _e('Written by','rhea'); ?> <?php the_author() ?> <?php _e('on','rhea'); ?> <abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> - <?php if(function_exists('the_views')) { the_views(); } ?> </small><br /><br />
    
    					<?php the_content(__('Read more &raquo;','rhea')); ?>
    
    <br />
    <?php the_tags(__('Tags: ','rhea'), __(', ','rhea'), __('<br />','rhea')); ?><?php _e('Posted in','rhea'); ?> <?php the_category(__(', ','rhea')); ?> | <?php edit_post_link(__('Edit','rhea'), '', __(' | ','rhea')); ?> <?php comments_popup_link(__('No Comments »','rhea'), __('1 Comment »','rhea'), __('% Comments »','rhea')); ?><br />
    <div class="line"></div>
    			</div>
    <?php comments_template(); ?>
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','rhea')) ?></div>
    			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','rhea')) ?></div>
    		</div>
    	<?php endwhile; else: ?>
    
    		<p><?php _e('Sorry, no posts matched your criteria.','rhea'); ?></p>
    
    <?php endif; ?>
    	</div></div>
    <div id="sidebar"><?php include (TEMPLATEPATH . '/rsidebar.php'); ?></div>
    <?php get_footer(); ?>

    پوسته برگه (page.php)

    <?php get_header(); ?>
    <div id="lsidebar"><?php include (TEMPLATEPATH . '/lsidebar.php'); ?></div>
    <div class="entry">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2><?php the_title(); ?></h2>
    
    					<?php the_content(__('Read more &raquo;','rhea')); ?>
    
    <br />
    <?php edit_post_link(__('Edit','rhea'), ''); ?> <br />
    <div class="line"></div>
    			</div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','rhea')) ?></div>
    			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','rhea')) ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center"><?php _e('Not Found','rhea'); ?></h2>
    		<p class="center"><?php _e('Sorry, but you are looking for something that isnt here.','rhea'); ?></p>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    	<?php endif; ?>
    
    	</div></div>
    <div id="sidebar"><?php include (TEMPLATEPATH . '/rsidebar.php'); ?></div>
    <?php get_footer(); ?>
  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۳ مهر ۱۳۸۷ - ۲۰:۴۶

    سلام
    ببخشید نتونستید مشکل مارو حل کنید ما هم اکنون منطظریم :-)

  • مهدی

    آفلاین
    ناظم
    تعداد نوشته‌ها: ۱۱۰۰
    تشکر شده: ۳۴۳ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۳ مهر ۱۳۸۷ - ۲۰:۵۳

    چرا اینطوری گذاشتی ! پوستت رو داخل یه فایل زیپ بذار !

  • 2lesag

    آفلاین
    بلوکه شده
    تعداد نوشته‌ها: ۳۶۶
    تشکر شده: ۶۹ بار
    # نوشته شده: ۱۵ سال پیش
    ۲۳ مهر ۱۳۸۷ - ۲۱:۲۹

    چشم
    لینک دانلود : http://dl-bia2arak.persiangig.com/other/rhea.zip

    توی جیمیلت هم میفرستم

  • Austiran

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱
    # نوشته شده: ۱۴ سال پیش
    ۱۸ خرداد ۱۳۸۸ - ۱۴:۱۶

    salam
    man har ghalebi mizanam menuye samte rastam fontesh bozorgtare, 100 bar hame plugin haro pak kardam vali nashod,age mishe rahnamayiim konid

  • ashk

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱
    # نوشته شده: ۱۰ سال پیش
    ۲۴ بهمن ۱۳۹۲ - ۱۵:۲۹

    سلام خسته نباشین خواهشا مشکل سایت منو برطرف کنید یک قالب جید برام درست کردن گذاشتم که ازش استفاده نکردم قالب قبلیمو گذاشتم الان ابزارکا بهم ریخه فکر کم غیر فعال هستن چکار کنم خواشا سریع کمکم کنید

  • کارتن اینفو

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱۸۸
    تشکر شده: ۵۲ بار
    # نوشته شده: ۱۰ سال پیش
    ۲۴ بهمن ۱۳۹۲ - ۲۰:۰۰

    سعنی چی خب لطفاً بیشتر توضیح بدید یا آدرس سایت رو برای بررسی اینجا بگذارید

درباره‌ی این موضوع



برچسب‌ها

هیچ برچسبی نیست.