-
تعداد ارسالها
75 -
تاریخ عضویت
-
آخرین بازدید
نوشتهها ارسال شده توسط 3001ir
-
-
خب من فکر کردم همین الان رو میگه که هنوز هست
اما فکر کنم هنوز این کد رو نذاشتی تو style چون نیست
.more-link {
text-align: center;
color: #ffffff;
padding:5px;
font-size: 11px;
margin: 3px 0px 12px 6px;
border-radius:10px 0px 10px 0px;
border:2px solid #0560a6;
}- 2
-
سایت شما مگه این نیست http://it30t.ir
سایت مشکل نداره ctrl+f5 رو بزن سایت تو مرورگر دوباره رفرش بشه
- 1
-
منظورتون از ایراد بزرگ کدومه ؟؟
- 1
-
این کدو بزار آخر style
.more-link {
text-align: center;
color: #ffffff;
padding:5px;
font-size: 11px;
margin: 3px 0px 12px 6px;
border-radius:10px 0px 10px 0px;
border:2px solid #0560a6;
}
.more-link a:hover {
text-decoration: none;
color:#ff0000;
padding-right:5px;
} -
مشکل بالا نیومدن از میهن وب هاسته چون اکثر سایتهایی که از اون هاست گرفتن قطع شدن
- 1
-
فکر کنم از قالب WP98 iTheme2 استفاده میکنی اگه اینطوره این کارها رو انجام بده
1 . در صفحه ویرایشگر قالب فایل loop.php رو پیدا کن بعد این کد رو پیدا و پاک کن
<?php else: ?>
<?php the_content(__((themify_check('setting-default_more_text')) ? themify_get('setting-default_more_text') : 'بیشتر →','themify')); ?>
<?php endif; ?>به جاش اینو بزار
<?php else: ?>
<?php the_content(''); ?>
<?php endif; ?>
<div class="post-more-link"><a href="<?php the_permalink() ?>" rel="bookmark">ادامه مطلب</a></div>2. حالا فایل style رو باز کن و در پایین صفحه این کد رو بزار
.post-more-link {
text-align: center;
color: #ffffff;
padding:5px;
font-size: 11px;
margin: 3px 0px 12px 6px;
border-radius:10px 0px 10px 0px;
width:60px;
border:2px solid #0560a6;
}
.post-more-link a:hover {
text-decoration: underline;
color:#ff0000;
padding-right:5px;
}اگه مشکلی بود خبر بده
- 2
-
آقا فعلا خود بخود درست میشه بعدا غیر فعال میشه بعدش درست میشه
حالا تا بعد
ببخشید این افزونه ای که سایت همیار وردپرس استفاده کرده چیه
-
قالب فعلیم color palette
محتوای functions.php
<?php
/**
* colorpalette functions and definitions
*
* @package colorpalette
* @since colorpalette 1.0
*/
/**
* Set the content width based on the theme's design and stylesheet.
*
* @since colorpalette 1.0
*/
if ( ! isset( $content_width ) )
$content_width = 608; /* pixels */
if ( ! function_exists( 'colorpalette_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which runs
* before the init hook. The init hook is too late for some features, such as indicating
* support post thumbnails.
*
* @since colorpalette 1.0
*/
function colorpalette_setup() {
/**
* Custom template tags for this theme.
*/
require( get_template_directory() . '/inc/template-tags.php' );
/**
* Custom functions that act independently of the theme templates
*/
require( get_template_directory() . '/inc/extras.php' );
/**
* Load up our theme options page and related code.
*/
require( get_template_directory() . '/inc/theme-options.php' );
/**
* Make theme available for translation
* Translations can be filed in the /languages/ directory
* If you're building a theme based on colorpalette, use a find and replace
* to change 'colorpalette' to the name of your theme in all the template files
*/
load_theme_textdomain( 'colorpalette', get_template_directory() . '/languages' );
/**
* Add default posts and comments RSS feed links to head
*/
add_theme_support( 'automatic-feed-links' );
/**
* Enable support for Post Thumbnails
*/
add_theme_support( 'post-thumbnails' );
/**
* This theme uses wp_nav_menu() in one location.
*/
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'colorpalette' ),
) );
/**
* Add support for the Aside Post Formats
*/
add_theme_support( 'post-formats', array( 'aside', 'quote' ) );
/**
* Add styling for editor for both LTR and RTL
*/
add_editor_style();
}
endif; // colorpalette_setup
add_action( 'after_setup_theme', 'colorpalette_setup' );
/**
* Register widgetized area and update sidebar with default widgets
*
* @since colorpalette 1.0
*/
function colorpalette_widgets_init() {
register_sidebar( array(
'name' => __( 'Sidebar', 'colorpalette' ),
'id' => 'sidebar-1',
'before_widget' => '<aside id="%1$s" class="widget %2$s"><div class="widget-wrap">',
'after_widget' => '</div></aside>',
'before_title' => '<h1 class="widget-title">',
'after_title' => '</h1>',
) );
register_sidebar( array(
'name' => __( 'First Footer Area', 'colorpalette' ),
'id' => 'footer-left',
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h3>',
'after_title' => '</h3>',
) );
register_sidebar( array(
'name' => __( 'Middle Footer Area', 'colorpalette' ),
'id' => 'footer-center',
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h3>',
'after_title' => '</h3>',
) );
register_sidebar( array(
'name' => __( 'Last Footer Area', 'colorpalette' ),
'id' => 'footer-right',
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h3>',
'after_title' => '</h3>',
) );
}
add_action( 'widgets_init', 'colorpalette_widgets_init' );
/**
* Enqueue scripts and styles
*/
function colorpalette_scripts() {
wp_enqueue_style( 'style', get_stylesheet_uri() );
wp_enqueue_style('googleFonts', 'http://fonts.googleapis.com/css?family=Kameron|Bad+Script');
wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206', true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
if ( is_singular() && wp_attachment_is_image() ) {
wp_enqueue_script( 'keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20120202' );
}
}
add_action( 'wp_enqueue_scripts', 'colorpalette_scripts' ); -
فقط یه دونه هست
wp-includes/js/jquery/jquery.js?ver=1.8.3
-
این اعداد تو پرانتر فقط واسه مدیر سایت نشون داده میشه از وردپرستون لاگ اوت بشین درست میشه
ممنون حله
-
هیچ افزونه ای نمایش داده نمیشه
از تداخل جی کوئری هم اطلاعی ندارم کجا رو باید بررسی کنم
-
این کد رو پیدا کن بعد محتوای اون فایل رو بزار اینجا تا بگیم چکار کنی
<?php the_permalink() ?>اگه این فایل رو داری اونم بررسی کن content.php
- 1
-
در بخش دیداری یا متن
- 1
-
تو فایل index.php این کد رو بزار
<div class="more"><a href="<?php the_permalink() ?>" rel="bookmark" id="more">ادامه مطلب</a></div>بعد تو فایل style.css این کد رو بزار
.more{
border:1px solid #CCC;
border-radius:5px;
height:20px;
width:70px;
background-color:#fff;
padding-right:10px;
}
.more:hover{
background-color:#3cb3f1;
color:#fff;
border:1px #000 solid;
-moz-box-shadow: 0 0 2px 2px #999;
-webkit-box-shadow: 0 0 2px 2px #999;
box-shadow: 0 0 2px 2px #ccc;
}البته از هرجاش که خوشت نیومد میتونی عوض کنی
- 3
-
از راه ویرایش فایل زبان . این دو فایل رو ویرایش کن بعد به ایمیل سازنده بفرست
file.po - file.mo
- 1
-
برای نمایش مطالب مرتبط من از افزونه Related Posts via Categories استفاده میکنم
این افزونه مطالب رو اینجوری نمایش میده
پست 1 (2)
پست 2 (2)
پست 3 (1)
post 4 (1)
حالا اگه امکان داشته باشه میخوام این نوشته داخل پارانتز حذف بشه چون وقتی عنوان مطلب انگلیسی میشه قاطی میکنه
-
یکم تو اینترنت جستجو کنی پیدا میشه
videocloob تو سایت mihangraph.com
-
مشکلی واسه قالب پیش نمیاد فقط اسلایدر یا لود نمیشه یا اصلا بالا نمیاد ولی همون اسلایدر ها تو بعضی از قالبها بدون مشکل هستن
نمیدونم چرا اون قالبی که به درد من میخوره این مشکلات رو داره و اون قالبی که به دردم نمیخوره هیچ مشکلی نداره
-
فکر کنم ویندوزت xp هست چون اکسپلوررت پایینه سعی کن از نسخه بالاتر استفاده کنی . این روزا همه از نسخه های بالاتر استفاده میکنن . واسه نسخه های قدیمی تر هم بزار اساتید کمک کنن چون من مشکلات قالبم رو با Inspect موزیلا برطرف میکنم تا حالا هم موفق بودم و یکم برنامه نویسی قالب یادگرفتم
موفق باشی
- 2
-
فایل استایلت تو فایر فاکس لود نمیشه ولی تو اکسپلرر 10 و 9 و 8 مشکلی نیست فقط تو نسخه های قدیمی مشکل هست
واسه اونا هم این کد رو تو هدر بزار
<!--[if IE 7]>
<p style="text-align:center ; width:200px; border:1px #9000000 solid; padding:1px;background:#bdeaff; font-color: #0560a6; font-family:tahoma; font-size:11px; ">
مرورگر پیشنهادی : <a target="_blank" href="http://www.mozilla.com/fa/firefox/">موزیلا فایرفاکس</a></p>
<![endif]-->اکسپلورر چند استفاده میکنی
- 2
-
با ie که مشکلی نداره با فایر فاکس مشکل داشت الانم که کل سایت پرید
- 1
-
یه مشکلی که در قالب فعلیم دارم اینه که نمی تونم افزونه اسلایدر رو توش نصب کنم . هرگونه اسلایدر که بخاین نصب کردم . اگه امکان داره اساتید یه راهنمایی بکنن
-
.menu ul li {
text-align: center;
position: relative;
overflow: hidden;
float: right;
line-height: 22px;
width: 80px;
padding: 0px 5px;
}ببین چطوره
- 2
-
پس این بخش از کجا اومده
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /soft/jquery-1.6.3.min.js was not found on this server.</p>
<hr>
<address>Apache/2.2.23 (CentOS) Server at www.shigg.com Port 80</address>
</body></html>تو قالب پیدا کن پاکش کن
دکمه ادامه مطلب سایت من
در مشکلات دیگر
ارسال شده در · ویرایش شده توسط 3001.ir
درسته قالب تو رو الان نصب کردم و دارمش علتش هم اینه که قالب تو با یک فایل (loop.php ) هم مطالب صفحه اول و ادامه مطلب رو با هم فراخوانی میکنه کار یکم سخته
ولی این کد رو تو style بزار یکم درست میشه
اگه خوب نبود پاک کن
تا بعد