استاد اعظم
-
تعداد ارسالها
645 -
تاریخ عضویت
-
آخرین بازدید
-
روز های برد
11
نوشتهها ارسال شده توسط استاد اعظم
-
-
یه عکس از اطلاعاتی که در filezilla وارد کردید بزارید...
-
برای نمایش صفحه اول سایت از کد زیر میتونید استفاده کنید :
<?php bloginfo('url'); ?>
- 2
-
در 2 ساعت قبل، chem گفته است :
سلام
ممنونم از شما الان یه سری تغییر دادم بدون اون افزونه ای که معرفی فرمودید ارسال میشه منتهی به پوشه اسپم ایمیل ها وارد میشه! راه حل وارد نشدن ایمیل ها در پوشه اسپم چیه؟
سرویس دهنده های ایمیل که شما براشون ایمیل ارسال میکنید اینطور تصور دارند که ایمیلی که براشون ارسال میکنید تبلیغاتی هست !
راهی که به ذهن من میرسه استفاده از همون افزونه ای هست که معرفی کردم ، چون تعداد دفعات ارسال ایمیل بیشتر هست و از طریق سرور های گوگل ارسال میشه
- 1
-
برای اضافه کردن اسلاید یا باید افزونه هایی که ابزارک اسلاید را به قالب اضافه میکنند استفاده کنید
یا قالب را مستقیما ادیت کنید و کد هاتون را بهش اضافه کنید
این روشی که شما در پیش گرفتید گنگه
-
یعنی شما دزدی نمیکنید ؟!!! (منظورم کپی رایت آهنگ هاست !)
برای این مورد شما باید به گوگل ریپورت کنید و همچنین سایتتون را در وبمستر ثبت و تنظیماتش رو انجام بدید
-
استفاده کردن از پرتکل SMTP باعث فشار به سرور میشه ، برای همین در پیکربندی سرور تعداد دفعات استفاده از این پرتکل محدود میشه !
توصیه میشه برای ارسال ایمیل از پرتکل smtp جیمیل استفاده کنید که فکر میکنم تعداد دفعات استفاده در روز به 2000 برسه که برای این مورد میتونید افزونه زیر را نصب و استفاده کنید :
- 2
-
نیازی به جاوا اسکریپت نیست ، با css اعمال میشه . این کد css رو تست کن (من ویندوز ندارم که تست کنم) : http://www.w3schools.com/cssref/css3_pr_filter.asp
هیچکی از آی ای استفاده نمکینه که بشه یا نشه ! شما هم بیخیالش
- 1
-
پرمیژن فایل htaccess. رو برسی کنید...
-
سلام
انتقال وردپرس وظیفه هر هاستینگی هست و باید بصورت رایگان انجام بده !
اما اگه خواستید خودتون دستی انتقال بدید چند راه وجود داره که یکیش بصورت زیره :
1- اکسپورت گرفتن از دیتابیس و ایمپورت کردنش در دیتابیس هاست جدید
2- انتقال تمامی فایل ها و فلودر های هاست قبلی به هاست جدید
3- جاگزین کردن اطلاعات اتصال به دیتابیس جدید در فایل wp-config.php
- 1
-
شاید از قالب باشه ، قالب پیشفرض وردپرس را فعال و تست کنید
-
مشکل میتونه ار سمت سرور باشه ، همچنین میتونید افزونه smtp را در وردپرس نصب و استفاده کنید
- 3
-
-
من همین سورس رو تست کردم تمامی فیلد های مورد نباز رو داره ، فقط باید کلاس های بوت استرپ رو به فیلد ها اضافه کنید...
- 1
-
عذر خواهی میکنم ، این یکی رو استفاده کنید :
<?php
// Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?>
<p class="nocomments" ><?php _e('This post is password protected. Enter the password to view comments.'); ?></p>
<?php
return;
}
?>
<?php if ( have_comments() ) : ?>
<h3 id="comments"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number() ),
number_format_i18n( get_comments_number() ), '“' . get_the_title() . '”' ); ?></h3>
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<ol class="commentlist">
<?php wp_list_comments('avatar_size=50'); ?>
</ol>
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ( comments_open() ) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments"><?php _e('Comments are closed.'); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<div id="respond">
<h3><?php comment_form_title( __('Leave a Reply'), __('Leave a Reply to %s' ) ); ?></h3>
<div id="cancel-comment-reply">
<small><?php cancel_comment_reply_link() ?></small>
</div>
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), wp_login_url( get_permalink() )); ?></p>
<?php else : ?>
<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( is_user_logged_in() ) : ?>
<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.'), get_edit_user_link(), $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php esc_attr_e('Log out of this account'); ?>">
<?php _e('Log out »'); ?></a></p>
<?php else : ?>
<p><input type="text" name="author" class="comment-field" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true' required"; ?> />
<label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="email" class="comment-field" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true' required"; ?> />
<label for="email"><small><?php _e('Mail (will not be published)'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="url" class="comment-field" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" />
<label for="url"><small><?php _e('Website'); ?></small></label></p>
<?php endif; ?>
<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>'), allowed_tags()); ?></small></p>
<p><textarea name="comment" class="comment-field textarea" id="comment" cols="58" rows="10" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" class="submit-button" value="<?php esc_attr_e('Submit Comment'); ?>" />
<?php comment_id_fields(); ?>
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
</div>
<?php endif; // if you delete this the sky will fall on your head ?>- 1
-
خواهش میکنم ، لطف دارین
برای سوالات جدید تاپیک جدید ایجاد کنید !
شما باید یک فایل comments.php آماده را را استفاده کنید و کلاس های بوت استرپ را درش پیاده کنید ، نمونه فایل comments.php را در زیر میتونید استفاده کنید :
<?php
// Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?>
<p class="nocomments" ><?php _e('This post is password protected. Enter the password to view comments.'); ?></p>
<?php
return;
}
?>
<?php if ( have_comments() ) : ?>
<h3 id="comments"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number() ),
number_format_i18n( get_comments_number() ), '“' . get_the_title() . '”' ); ?></h3>
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<ol class="commentlist">
<?php wp_list_comments(//"callback=CALLBACK_FUNCTION");?>
</ol>
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ( comments_open() ) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments"><?php _e('Comments are closed.'); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<div id="respond">
<h3><?php comment_form_title( __('Leave a Reply'), __('Leave a Reply to %s' ) ); ?></h3>
<div id="cancel-comment-reply">
<small><?php cancel_comment_reply_link() ?></small>
</div>
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), wp_login_url( get_permalink() )); ?></p>
<?php else : ?>
<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( is_user_logged_in() ) : ?>
<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.'), get_edit_user_link(), $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php esc_attr_e('Log out of this account'); ?>">
<?php _e('Log out »'); ?></a></p>
<?php else : ?>
<p><input type="text" name="author" class="comment-field" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true' required"; ?> />
<label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="email" class="comment-field" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true' required"; ?> />
<label for="email"><small><?php _e('Mail (will not be published)'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="url" class="comment-field" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" />
<label for="url"><small><?php _e('Website'); ?></small></label></p>
<?php endif; ?>
<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>'), allowed_tags()); ?></small></p>
<p><textarea name="comment" class="comment-field textarea" id="comment" cols="58" rows="10" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" class="submit-button" value="<?php esc_attr_e('Submit Comment'); ?>" />
<?php comment_id_fields(); ?>
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
</div>
<?php endif; // if you delete this the sky will fall on your head ?>- 2
-
این کد رو تو فایل functions.php بزارید :
//page navi
function wpbeginner_numeric_posts_nav() {
if( is_singular() )
return;
global $wp_query;
/** Stop execution if there's only 1 page */
if( $wp_query->max_num_pages <= 1 )
return;
$paged = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1;
$max = intval( $wp_query->max_num_pages );
/** Add current page to the array */
if ( $paged >= 1 )
$links[] = $paged;
/** Add the pages around the current page to the array */
if ( $paged >= 3 ) {
$links[] = $paged - 1;
$links[] = $paged - 2;
}
if ( ( $paged + 2 ) <= $max ) {
$links[] = $paged + 2;
$links[] = $paged + 1;
}
echo '<nav><ul class="pagination">' . "\n";
/** Previous Post Link */
if ( get_previous_posts_link() )
printf( '<li>%s</li>' . "\n", get_previous_posts_link() );
/** Link to first page, plus ellipses if necessary */
if ( ! in_array( 1, $links ) ) {
$class = 1 == $paged ? ' class="active"' : '';
printf( '<li%s><a href="%s">%s</a></li>' . "\n", $class, esc_url( get_pagenum_link( 1 ) ), '1' );
if ( ! in_array( 2, $links ) )
echo '<li><a>…</a></li>';
}
/** Link to current page, plus 2 pages in either direction if necessary */
sort( $links );
foreach ( (array) $links as $link ) {
$class = $paged == $link ? ' class="active"' : '';
printf( '<li%s><a href="%s">%s</a></li>' . "\n", $class, esc_url( get_pagenum_link( $link ) ), $link );
}
/** Link to last page, plus ellipses if necessary */
if ( ! in_array( $max, $links ) ) {
if ( ! in_array( $max - 1, $links ) )
echo '<li><a>…</a></li>' . "\n";
$class = $paged == $max ? ' class="active"' : '';
printf( '<li%s><a href="%s">%s</a></li>' . "\n", $class, esc_url( get_pagenum_link( $max ) ), $max );
}
/** Next Post Link */
if ( get_next_posts_link() )
printf( '<li>%s</li>' . "\n", get_next_posts_link() );
echo '</ul></nav>' . "\n";
}
//end page naviکد زیر را در جایی که میخواهید شماره صفحات به نمایش در بیاد بزارید :
<?php wpbeginner_numeric_posts_nav(); ?>- 1
-
احتمال میدم افزونه خاصی نصب کرده باشید که باعث بروز این خطا شده یا تابع خاصی از سمت سرورتون غیر فعال باشه
- 1
-
قبلا بحث شده ، بهتر بود اول سرچ میکردید
بهترین انجمن ساز IPB هست که از لحاظ کاربری ، امنیت ،امکانات و ... از تمامی انجمن ساز ها سر تره که وردپرس پارسی هم از همین سیستم استفاده میکنه
اطلاعات بیشتر : http://community.iripb.com
- 1
-
با پشتیبانی هاستیگتون در تماس باشید
- 1
-
-
لطفا اصولی با بوت استرپ کار کنید ، تو کد ها دست برده شده بود و یک فایل مهم پاک شده بود !
خدمت شما : http://s6.picofile.com/file/8218706000/usbcode.zip.html
-
درود... lamp همون xammp هستش...مگه توی سیستم ویندوزی شما نصب نیست؟
من مدتیه از توزیع گنو استفاده میکنم و اصلا ویندوز تو سیستمم نصب نیست !
تگ ها و کلاس ها رو درست بکار نبرده بودید ، فایل index.html را براتون اصلاح کردم :
- 1
-
درود...اینم لینک پروژه:
لطفا استاتیک بزارید بتونم برسی کنم ، من تو سیستمم lamp نصب ندارم که تو وردپرس تستش کنم
- 1
-
پروژه ای که این مشکل داره را کامل قرا بدید...
- 2
جوملا یا وردپرس
در بحث آزاد
ارسال شده در
تو انجمن وردپرس اومدین چنین بحثی رو پیش کشیدین ! خب معلومه همه میگن وردپرس !