رفتن به مطلب

ict universe

عضو سایت
  • تعداد ارسال‌ها

    65
  • تاریخ عضویت

  • آخرین بازدید

نوشته‌ها ارسال شده توسط ict universe

  1. با سلام من یه اسلایدر جدید در این قالب قرار دادم که منو ]ای آبشاری وقتی باز می شوند به زیر اسلایدر می افتند آیا راهی داره که اینطور نشه

    کد هدر


    <?php
    /**
    * common header template
    */
    global $zAlive_options;
    ?><!DOCTYPE html>
    <!--[if IE 8]>
    <html class="ie ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if !(IE 8) ]><!-->
    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php wp_head(); ?>
    </head>
    <body <?php body_class( ( is_front_page() && $zAlive_options['hide_posts_and_primary_sidebar'] == true ) ? 'hide_posts_and_primary_sidebar' : '' ); ?>>
    <div id="header">
    <div class="navbar container">
    <div class="navbar-inner">
    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    <<?php echo $heading_tag; ?> class="brand">
    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    </<?php echo $heading_tag; ?>>
    <ul class="nav">
    <?php
    if ( has_nav_menu( 'top_nav_menu' ) ) {
    wp_nav_menu( array('theme_location' => 'top_nav_menu', 'container' => '','depth' => 2 ,'items_wrap' => '%3$s' ) );
    } else {
    wp_list_categories('depth=0&title_li=0&orderby=id&show_count=0&number=0');
    }
    ?>
    </ul>
    <?php if( $zAlive_options['header_searchbox_enabled'] == true ) : ?>
    <form class="pull-right input-append" id="searchbox" method="get" action="<?php echo esc_url( home_url() ); ?>/">
    <input name="s" id="s" type="text" placeholder="<?php _e('Type and search...','zAlive'); ?>">
    <button type="submit" class="btn"><?php _e('Search','zAlive'); ?></button>
    </form>
    <?php endif; ?>
    </div>
    </div>
    <?php if( $zAlive_options['show_tagline_directly'] == true ) : ?>
    <div id="site-description" class="tagline tagline-shown-directly container visible-desktop">
    <p><?php bloginfo('description'); ?></p>
    </div>
    <?php else : ?>
    <div id="site-description" class="tagline tagline-hidden container visible-desktop">
    <p><?php bloginfo('description'); ?></p>
    </div>
    <?php endif; ?>
    </div>
    <?php //slider
    if( $zAlive_options['slider_enabled'] == 1 || ( $zAlive_options['slider_enabled'] == 2 && is_front_page() ) ){
    get_template_part( 'template/slider' );
    }
    ?>
    <?php putRevSlider("slider","homepage") ?>

    کد اسلایدر


    <?php putRevSlider("slider","homepage") ?>

  2. با سلا من یه قالب فارسی گرفتم ولی وقتی که بهش فهرست اضافه می کنم از سمت چپ شروع میشه

    بعدا یه مشکل دیگه هم داشتم اینکه وقتی لوگو گروه فنی مهندسی آریانا که با زرد نوشته شده هرچی عرضش رو بیشتر کنم از این بزرگتر نمیشه می خوام تمام عرض باشه

    یادم رفته بود آدرس آنلاین : areg.ir

    اگه میشه کمکم کنید

    کد فایل style و rtl رو قرار دادم

    کد فایل style

    /*

    Theme Name: iFeature

    Theme URI: http://themes.mandegarweb.com/theme-demo/179

    Author: CyberChimps

    Author URI: http://www.cyberchimps.com/

    Description: ترجمه شده برای وردپرس توسط <a title="گروه ماندگار وب" href="http://mandegarweb.com/">ماندگار وب</a>

    Version: 5.1.8

    License: GNU General Public License

    License URI: http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)

    */

    /********************************************************************************************************************/

    /******************************************** MAIN HTML STYLES ******************************************************/

    /********************************************************************************************************************/

    body {

    color:#555;

    }

    @font-face {

    font-family: 'yekan';

    src: url('font/yekan.eot?#') format('eot'), /* IE6–8 */

    url('font/yekan.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/

    url('font/yekan.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */

    }

    h1, h2, h3, h4, h5, h6 {

    margin-bottom: 15px;

    font-weight: 400;

    }

    table .label {

    background: none;

    padding: 7px;

    line-height: normal;

    text-shadow: none;

    }

    tr {

    border-bottom: 1px solid #ccc;

    }

    td {

    padding: 5px;

    }

    dt {

    font-weight: bold;

    margin-top: 5px;

    margin-bottom: 5px;

    margin-left: 26px;

    }

    dd {

    margin-bottom: 15px;

    margin-left: 26px;

    }

    ul, ol {

    margin: 0 0 10px 0;

    }

    ol, ul {

    list-style-position: inside;

    margin-left: 21px;

    }

    pre {

    -moz-border-radius: 0;

    border-radius: 0;

    }

    code {

    white-space: pre-wrap;

    }

    .clear{

    clear: both;

    }

    .clear-right {

    clear: right;

    }

    .clear-left {

    clear: left;

    }

    /********************************************************************************************************************/

    /******************************************** HEADER ****************************************************************/

    /********************************************************************************************************************/

    header#cc-header {

    margin-bottom: 20px;

    }

    /*======================================= TOP BAR =============================================*/

    .container-full {

    width: 100%;

    background-image: url('images/topbarbg.jpg');

    margin-bottom: 15px;

    }

    .container-full .top-head-description {

    color: #bababa;

    margin: 8px 0 6px 20px;

    font-size: 14px;

    }

    .container-full .top-head-social .icons {

    float: right;

    margin-top: 5px;

    margin-right: 20px;

    margin-bottom: 6px;

    }

    .container-full .top-head-social .icons a {

    float: right;

    height: 20px;

    width: 20px;

    margin-left: 5px;

    }

    .container-full .top-head-social .icons a img {

    height: 20px;

    width: 20px;

    }

    header #social .icons a {

    float: right;

    margin-left: 5px;

    }

    .icons {

    margin-top: 15px;

    }

    /*======================================= DETAILS =============================================*/

    header#cc-header h1.site-title {

    margin-bottom: 15px;

    font-size: 32px;

    font-weight: 600;

    }

    header#cc-header h2.site-description {

    font-size: 14px;

    margin: 0;

    }

    header#cc-header .contact_details {

    color: #888;

    float: right;

    margin-top: 15px;

    }

    header#cc-header .contact_details .cc-telephone-number {

    text-align: right;

    }

    header#cc-header .contact_details .cc-telephone-number img {

    margin-top: -3px;

    margin-left: 10px;

    }

    header#cc-header .contact_details .cc-email {

    text-align: right;

    }

    header#cc-header .contact_details .cc-email img {

    margin-top: -2px;

    margin-left: 10px;

    }

    header#cc-header .register {

    float: right;

    }

    header#cc-header .blog_description {

    float: right;

    }

    header#cc-header p {

    font-size: 1.2em;

    }

    /*======================================= SEARCH ===============================================*/

    header #search #searchform {

    float: right;

    margin-top: 20px;

    }

    /********************************************************************************************************************/

    /******************************************** MENU ******************************************************************/

    /********************************************************************************************************************/

    #navigation {

    margin-bottom: 30px;

    }

    .main-navigation.navbar {

    margin-bottom: 0;

    }

    .main-navigation .navbar-inner {

    padding: 0;

    min-height: 20px;

    background: #b6b6b6;

    background: -moz-linear-gradient(top, #b6b6b6 0%, #a4a4a4 1%, #919191 51%, #858585 52%, #717171 100%);

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b6b6b6), color-stop(2%,#a4a4a4), color-stop(51%,#919191), color-stop(52%,#858585), color-stop(100%,#717171));

    background: -webkit-linear-gradient(top, #b6b6b6 0%,#a4a4a4 2%,#919191 51%,#858585 52%,#717171 100%);

    background: -o-linear-gradient(top, #b6b6b6 0%,#a4a4a4 1%,#919191 51%,#858585 52%,#717171 100%);

    background: -ms-linear-gradient(top, #b6b6b6 0%,#a4a4a4 1%,#919191 51%,#858585 52%,#717171 100%);

    background: linear-gradient(to bottom, #b6b6b6 0%,#a4a4a4 1%,#919191 51%,#858585 52%,#717171 100%);

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4a4a4', endColorstr='#717171',GradientType=0 );

    box-shadow: none;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    border: 1px solid;

    border-color: #888 #666 #666 #666;

    }

    .main-navigation .nav > li {

    border-right: 1px solid #b6b6b6;

    -webkit-box-shadow: 1px 0px 0px 0px rgba(0,0,0,0.3);

    box-shadow: 1px 0px 0px 0px rgba(0,0,0,0.3);

    }

    .main-navigation .nav > li > a {

    display: block;

    color: #fff;

    font-size: 1.1em;

    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.5);

    }

    .main-navigation .nav > li.dropdown > a.dropdown-toggle .caret {

    border-top-color: #fff;

    border-bottom-color: #fff;

    margin-top: 10px;

    }

    .main-navigation .nav > li > a:hover {

    color: #f6f6f6;

    background: #666;

    }

    .main-navigation .nav .active > a, .main-navigation .nav .current_page_item > a, .current-menu-ancestor.dropdown {

    color: #FFFFFF;

    background: #717171;

    }

    .main-navigation .nav li ul li a:hover, .main-navigation .nav .current_page_item > a:hover {

    color: #c5c5c5;

    background: #717171;

    }

    .main-navigation .nav li ul li a {

    color: #f6f6f6;

    }

    .main-navigation .nav li ul li ul {

    list-style: none;

    margin-left: 0;

    }

    .main-navigation .nav li ul li ul li a{

    padding-left: 24px;

    }

    .main-navigation .nav li ul li ul li ul li a {

    padding-left: 30px;

    }

    .main-navigation .nav li.dropdown:hover ul.dropdown-menu {

    display: block;

    background: #666;

    border-radius: 0;

    margin-top: 0;

    }

    .navbar .nav > li > .dropdown-menu::before {

    position: absolute;

    top: -7px;

    left: 9px;

    display: inline-block;

    border-right: 7px solid transparent;

    border-bottom: 7px solid #666;

    border-left: 7px solid transparent;

    border-bottom-color: rgba(0, 0, 0, 0.2);

    content: '';

    }

    .navbar .nav > li > .dropdown-menu::after {

    position: absolute;

    top: -6px;

    left: 10px;

    display: inline-block;

    border-right: 6px solid transparent;

    border-bottom: 6px solid #666;

    border-left: 6px solid transparent;

    content: '';

    }

    #navigation #searchform {

    margin-right: 15px;

    }

    .navbar .btn-navbar {

    margin-bottom: 5px;

    }

    /* 3rd tier */

    .main-navigation .nav > li > ul > li {

    position: relative;

    }

    .main-navigation .nav > li > ul > li > ul {

    display: none;

    position: absolute;

    top: 0;

    left: 100%;

    background: #666;

    border-radius: 0;

    margin-top: 0;

    padding: 0;

    border: 1px solid rgba(0, 0, 0, 0.2);

    z-index: 1001;

    }

    .main-navigation .nav > li > ul > li:hover > ul {

    display: block;

    }

    .main-navigation .nav > li > ul > li > ul::before {

    position: absolute;

    top: 7px;

    left: -7px;

    display: inline-block;

    border-top: 7px solid transparent;

    border-right: 7px solid #666;

    border-bottom: 7px solid transparent;

    border-right-color: rgba(0, 0, 0, 0.2);

    content: '';

    }

    .main-navigation .nav > li > ul > li > ul::after {

    position: absolute;

    top: 8px;

    left: -6px;

    display: inline-block;

    border-top: 6px solid transparent;

    border-right: 6px solid #666;

    border-bottom: 6px solid transparent;

    content: '';

    }

    @media (max-width: 979px) {

    .main-navigation .nav > li > ul > li > ul::after, .main-navigation .nav > li > ul > li > ul::before {

    border: none;

    }

    .main-navigation .nav > li > ul > li > ul {

    display: block;

    position: static;

    border: none;

    }

    .nav-collapse .dropdown-menu li + li a {

    margin-bottom: 0px;

    }

    .nav-collapse.in {

    background-image: none;

    background-color: #747474;

    }

    .nav-collapse.in .nav li {

    background-color: #747474;

    }

    .nav-collapse.in .nav ul {

    background: #747474;

    }

    .navbar .nav > li > .dropdown-menu::before, .navbar .nav > li > .dropdown-menu::after {

    display: none;

    }

    .navbar-inverse .nav-collapse.in .nav > li > a:hover, .navbar-inverse .nav-collapse.in .dropdown-menu a:hover {

    color: #fff;

    background-color: #666;

    }

    .navbar-inverse .nav-collapse.in .nav li a, .nav-collapse.in .dropdown-menu a {

    color: #fff;

    font-weight: normal;

    text-shadow: none;

    }

    .navbar-inverse .nav-collapse.in .nav > li.current-menu-item > a, .navbar-inverse .nav-collapse.in .nav > li.current-menu-ancestor > a {

    color: #fff;

    box-shadow: none;

    background: #666;

    }

    .nav-collapse.in .dropdown .caret {

    display: none;

    }

    .nav-collapse.in .dropdown-menu {

    display: block;

    }

    .navbar-inverse .nav-collapse.in .dropdown-menu .active > a, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle {

    color: #fff;

    background-image: none;

    background-color: #666;

    }

    }

    /********************************************************************************************************************/

    /******************************************** MAIN CONTENT **********************************************************/

    /********************************************************************************************************************/

    .container {

    background: transparent;

    }

    article.post, article.page, article.attachment {

    margin-bottom: 30px;

    padding: 0;

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    overflow: hidden;

    -webkit-box-shadow: 0px 1px 0px 0px #adadad;

    box-shadow: 0px 1px 0px 0px #adadad;

    }

    .entry-content {

    margin: 0;

    }

    .page-header {

    margin-top: 0;

    padding: 0;

    border: none;

    }

    /*==================================== POST AND PAGE CONTENT ===========================================*/

    article {

    background: #fff;

    }

    .entry-header {

    margin: 0;

    padding: 0 20px;

    }

    .entry-summary {

    margin: 0;

    padding: 20px;

    }

    .entry-content {

    padding: 20px;

    }

    .postformats {

    float: right;

    height: 38px;

    width: 40px;

    margin-left: 20px;

    background: #6fb7d6;

    background: -moz-linear-gradient(top, #6fb7d6 0%, #4fadd8 1%, #4fadd8 50%, #399cca 51%, #3599c7 100%);

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6fb7d6), color-stop(1%,#4fadd8), color-stop(50%,#4fadd8), color-stop(51%,#399cca), color-stop(100%,#3599c7));

    background: -webkit-linear-gradient(top, #6fb7d6 0%,#4fadd8 1%,#4fadd8 50%,#399cca 51%,#3599c7 100%);

    background: -o-linear-gradient(top, #6fb7d6 0%,#4fadd8 1%,#4fadd8 50%,#399cca 51%,#3599c7 100%);

    background: -ms-linear-gradient(top, #6fb7d6 0%,#4fadd8 1%,#4fadd8 50%,#399cca 51%,#3599c7 100%);

    background: linear-gradient(to bottom, #6fb7d6 0%,#4fadd8 1%,#4fadd8 50%,#399cca 51%,#3599c7 100%);

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4fadd8', endColorstr='#3599c7',GradientType=0 );

    border: 1px solid #2b7a9f;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    }

    blockquote {

    background-color: #ccc;

    margin: 10px;

    padding: 3px;

    }

    blockquote p {

    margin: 10px;

    }

    blockquote cite {

    font-size: 0.9em;

    }

    blockquote cite:before {

    content: ' ̶ ';

    position: relative;

    top: -2px;

    margin: 0 5px;

    }

    .page-links {

    clear: both;

    }

    .more-content {

    margin-bottom: 15px;

    padding: 10px 20px 5px 20px;

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    overflow: hidden;

    -webkit-box-shadow: 0px 1px 0px 0px #adadad;

    box-shadow: 0px 1px 0px 0px #adadad;

    }

    .previous-post {

    text-align: left;

    margin-top: 5px;

    margin-bottom: 0;

    padding-bottom: 0;

    }

    .next-post {

    text-align: right;

    margin-top: 5px;

    margin-bottom: 0;

    padding-bottom: 0;

    }

    /*==================================== TAXONOMY ========================================================*/

    h2.entry-title {

    font-weight: 400;

    line-height: 1.2em;

    margin-bottom: 2px;

    }

    h2.entry-title a {

    color: #333333;

    }

    h2.entry-title a:hover {

    color: #0088CC;

    text-decoration: none;

    }

    article.post p, article.page p {

    font-size: 1.1em;

    line-height: 1.5em;

    }

    /*==================================== IMAGES ==========================================================*/

    .alignnone {

    display: block;

    margin: 5px 20px 20px 0;

    }

    .aligncenter, div.aligncenter {

    display:block;

    margin: 5px auto 5px auto;

    }

    .alignright {

    float:right;

    margin: 5px 0 20px 20px;

    }

    .alignleft {

    float:left;

    margin: 5px 20px 20px 0;

    }

    .aligncenter {

    display: block;

    margin: 5px auto 5px auto;

    }

    a img.alignright {

    float:right;

    margin: 5px 0 20px 20px;

    }

    a img.alignnone {

    margin: 5px 20px 20px 0;

    }

    a img.alignleft {

    float:left;

    margin: 5px 20px 20px 0;

    }

    a img.aligncenter {

    display: block;

    margin-left: auto;

    margin-right: auto

    }

    img.size-full {

    max-width: 100%;

    height: auto;

    }

    .wp-caption {

    background: #fff;

    border: 1px solid #f0f0f0;

    max-width: 96%; /* Image does not overflow the content area */

    padding: 15px 3px 10px;

    text-align: center;

    }

    .wp-caption.alignnone {

    margin: 5px 20px 20px 0;

    }

    .wp-caption.alignleft {

    margin: 5px 20px 20px 0;

    }

    .wp-caption.alignright {

    margin: 5px 0 20px 20px;

    }

    .wp-caption img {

    border: 0 none;

    height: auto;

    margin:0;

    max-width: 95%;

    padding:0;

    width: auto;

    }

    .wp-caption p.wp-caption-text {

    font-size:11px;

    line-height:17px;

    margin:0;

    padding:0 4px 5px;

    }

    .caption_title {

    font-size:16px;

    }

    .gallery-pagination {

    margin: 20px 0;

    }

    .gallery-pagination .previous-image a {

    float: left;

    }

    .gallery-pagination .next-image a {

    float: right;

    }

    /*==================================== META ============================================================*/

    .entry-meta {

    color: #afaeae;

    font-size: 0.9em;

    line-height: 1em;

    }

    footer.entry-meta {

    clear: both;

    padding: 0px 20px 15px 20px;

    }

    .byline:before {

    content: '\2022';

    margin-left: 5px;

    }

    .cat-links {

    clear: left;

    margin-top: 10px;

    line-height: 1.2em;

    }

    .taglinks {

    display: inline-block;

    margin-left: 0;

    }

    .taglinks a {

    float: left;

    position: relative;

    font-size: 1em;

    line-height: 15px;

    padding: 4px 10px;

    margin: 0 30px 10px 0;

    border-top: 1px solid #e7e7e7;

    border-bottom: 1px solid #c6c6c6;

    border-left: 1px solid #e7e7e7;

    background: #ffffff;

    background: -moz-linear-gradient(top, #ffffff 0%, #e7e7e7 100%);

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e7e7e7));

    background: -webkit-linear-gradient(top, #ffffff 0%,#e7e7e7 100%);

    background: -o-linear-gradient(top, #ffffff 0%,#e7e7e7 100%);

    background: -ms-linear-gradient(top, #ffffff 0%,#e7e7e7 100%);

    background: linear-gradient(to bottom, #ffffff 0%,#e7e7e7 100%);

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e7e7e7',GradientType=0 );

    }

    .taglinks a:after {

    position: absolute;

    top: -1px;

    left: 100%;

    content: '';

    height: 25px;

    width: 20px;

    background: url( 'images/tag.png' ) no-repeat 0 0 transparent;

    }

    .comments-link:before {

    content: '\2022';

    margin-right: 5px;

    }

    .edit-link {

    clear: both;

    display: block;

    margin: 10px 0;

    }

    .edit-link a {

    color: #fff;

    background: #888;

    padding: 2px 4px;

    -webkit-border-radius: 2px;

    border-radius: 2px;

    }

    .edit-link a:visited {

    color: #fff;

    }

    .edit-link a:hover {

    text-decoration: none;

    color: #ccc;

    }

    .cyberchimps_article_share {

    float: right;

    }

    /*==================================== COMMENTS ========================================================*/

    .comments-area {

    margin-bottom: 30px;

    padding: 20px;

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    overflow: hidden;

    -webkit-box-shadow: 0px 1px 0px 0px #adadad;

    box-shadow: 0px 1px 0px 0px #adadad;

    }

    #comments .navigation {

    padding: 0 0 18px 0;

    }

    label[for=comment] {

    display: block;

    }

    ol.commentlist {

    list-style: none;

    }

    ol.commentlist p {

    margin-left: 8px;

    clear: left;

    }

    ol.commentlist li.comment {

    padding: 10px;

    }

    ol.commentlist li.comment div.vcard cite.fn {

    font-style: normal;

    }

    ol.commentlist li.comment div.vcard img.avatar {

    margin: 0 10px 10px 10px;

    }

    ol.commentlist li.comment div.comment-meta {

    font-size: 11px;

    }

    ol.commentlist li.comment div.comment-meta a {

    color: #888;

    }

    ol.commentlist li.comment div.reply {

    font-size: 11px;

    margin-left: 8px;

    }

    ol.commentlist li.comment div.reply a {

    font-weight: bold;

    }

    ol.commentlist li.comment ul.children {

    list-style: none;

    margin: 10px 0 0;

    }

    ol.commentlist li.comment ul.children li.depth-2 {

    margin: 0 0 10px 10px;

    }

    ol.commentlist li.comment ul.children li.depth-3 {

    margin: 0 0 10px 10px;

    }

    ol.commentlist li.comment ul.children li.depth-4 {

    margin: 0 0 10px 10px;

    }

    ol.commentlist li.even {

    background: #fafafa;

    border: 1px solid #ccc;

    border-radius: 4px;

    -moz-border-radius: 4px;

    }

    ol.commentlist li.odd {

    background: #fff;

    border: 1px solid #ccc;

    border-radius: 4px;

    -moz-border-radius: 4px;

    }

    .comment, .trackback, .pingback {

    padding:10px;

    margin:10px 0 10px 0;

    }

    .odd {

    background:#f8f8f8;

    }

    #form-allowed-tags code {

    font-size:12px;

    }

    #respond input, #respond textarea {

    margin:0 5px 5px 0;

    overflow:auto;

    }

    #respond textarea {

    width:99%;

    height:150px;

    }

    .avatar {

    float:left;

    }

    /********************************************************************************************************************/

    /******************************************** SIDEBAR & WIDGETS *****************************************************/

    /********************************************************************************************************************/

    #sidebar .widget-container {

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    overflow: hidden;

    -webkit-box-shadow: 0px 1px 0px 0px #adadad;

    box-shadow: 0px 1px 0px 0px #adadad;

    padding: 0 0 15px 0;

    margin-bottom: 30px;

    }

    #sidebar h3.widget-title {

    color: #ffffff;

    font-weight: 100;

    font-size: 1.3em;

    text-shadow: 0px -1px 0px rgba(0,0,0,0.5);

    margin-top: 0;

    padding: 5px 10px 5px 23px;

    background: #b6b6b6;

    background: -moz-linear-gradient(top, #b6b6b6 0%, #a4a4a4 2%, #717171 100%);

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b6b6b6), color-stop(2%,#a4a4a4), color-stop(100%,#717171));

    background: -webkit-linear-gradient(top, #b6b6b6 0%,#a4a4a4 2%,#717171 100%);

    background: -o-linear-gradient(top, #b6b6b6 0%,#a4a4a4 2%,#717171 100%);

    background: -ms-linear-gradient(top, #b6b6b6 0%,#a4a4a4 2%,#717171 100%);

    background: linear-gradient(to bottom, #b6b6b6 0%,#a4a4a4 2%,#717171 100%);

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4a4a4', endColorstr='#717171',GradientType=0 );

    box-shadow: none;

    -webkit-border-radius: 3px 3px 0 0;

    border-radius: 3px 3px 0 0;

    border: 1px solid;

    border-color: #888 #666 #666 #666;

    }

    #sidebar .widget-container ul, #sidebar .widget ul {

    margin: 0;

    padding: 0 20px;

    }

    #sidebar .widget-container ul li, #sidebar .widget ul li {

    font-size: 14px;

    line-height: 1.2em;

    list-style: none;

    padding: 10px 0 15px 0;

    border-bottom: 1px solid #ededed;

    }

    #sidebar .widget-container > ul > li ul {

    margin: 5px 0 5px 5px;

    }

    #sidebar .widget-container ul li:last-child {

    margin-bottom: 0;

    border-bottom: none;

    }

    #sidebar .widget-container > ul > li li {

    list-style: none;

    margin: 0 0 3px 0;

    padding: 0;

    }

    #sidebar .widget-container ul li a {

    border-bottom: 1px dotted #c5e5f4;

    }

    #sidebar .widget-container p {

    padding: 0 20px;

    }

    #sidebar .widget-container .tagcloud {

    padding: 0 20px;

    }

    table#wp-calendar {

    width: 100%;

    }

    table#wp-calendar th {

    font-size: 14px;

    }

    table#wp-calendar td {

    font-size: 14px;

    width: 14.28571428571429%;

    padding: 5px 0;

    text-align: center;

    }

    #sidebar .widget_search, .widget_search {

    padding: 15px;

    }

    .widget-container #searchform.pull-right {

    float: none;

    margin-right: 30px;

    }

    .widget-container #searchform input.input-medium {

    float: none;

    display: inline-block;

    width: 100%;

    }

    /*==================================== SEARCH FORM ====================================================*/

    #searchform {

    margin-bottom: 5px;

    }

    /********************************************************************************************************************/

    /******************************************** FOOTER ****************************************************************/

    /********************************************************************************************************************/

    #footer-widgets-wrapper {

    background-color: #303030;

    }

    #footer-widgets {

    margin-bottom: 30px;

    }

    #footer-widgets .widget-container {

    border: none;

    }

    #footer-widget-container {

    background: transparent;

    }

    #footer-widgets .widget-container {

    color: #fff;

    background: transparent;

    }

    #footer-widgets .widget-container h3 {

    color: #fff;

    font-size: 1.3em;

    }

    #footer-widgets .widget-container ul {

    margin: 0;

    }

    #footer-widgets .widget-container a {

    color: #fff;

    border-bottom: 1px dotted #ccc;

    }

    #footer-widgets .widget-container p {

    color: #ccc;

    }

    #footer-main-wrapper {

    background-color: #171717;

    }

    .site-footer {

    margin-top: 20px;

    margin-bottom: 20px;

    }

    .site-footer #copyright {

    text-align: right;

    }

    /********************************************************************************************************************/

    /******************************************** WORDPRESS DEFAULTS ****************************************************/

    /********************************************************************************************************************/

    .sticky{}

    .gallery-caption{}

    .bypostauthor{}

    /********************************************************************************************************************/

    /******************************************** ELEMENTS **************************************************************/

    /********************************************************************************************************************/

    /*==================================== BOXES ======================================================*/

    .box {

    margin-bottom: 30px;

    padding: 20px;

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    overflow: hidden;

    -webkit-box-shadow: 0px 1px 0px 0px #adadad;

    box-shadow: 0px 1px 0px 0px #adadad;

    }

    h2.box-widget-title {

    margin-top: 0;

    font-size: 1.6em;

    line-height: 1em;

    text-align: center;

    }

    .box p {

    font-size: 1.1em;

    line-height: 1.2em;

    }

    #boxes-container .box a {

    display: block;

    width: 100%;

    text-align: center;

    }

    #boxes-container .box-no-url {

    cursor: default;

    }

    /*==================================== PORTFOLIO ===================================================*/

    #portfolio {

    margin-bottom: 30px;

    }

    #gallery {

    background: #fff;

    padding: 20px;

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    overflow: hidden;

    -webkit-box-shadow: 0px 1px 0px 0px #adadad;

    box-shadow: 0px 1px 0px 0px #adadad;

    }

    #gallery ul.row-fluid {

    margin: 0;

    padding: 0;

    }

    #gallery h2 {

    font-size: 1.6em;

    font-weight: 400;

    margin-top: 0;

    line-height: 1em;

    }

    #gallery ul.row-fluid li#portfolio_wrap {

    text-align: center;

    }

    #gallery ul.row-fluid li#portfolio_wrap .portfolio_item {

    padding: 20px;

    }

    /*==================================== TWITTER =====================================================*/

    #twitter-container {

    margin-bottom: 30px;

    }

    #twitter-bar {

    padding: 20px;

    background: #fdfdfd;

    border: 1px solid #eaeaea;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    overflow: hidden;

    -webkit-box-shadow: 0px 1px 0px 0px #adadad;

    box-shadow: 0px 1px 0px 0px #adadad;

    }

    #twitter-bar #twitter-text img {

    float: left;

    margin-top: -5px;

    }

    #twitter-bar #twitter-text p {

    padding-left: 75px;

    margin-bottom: 0;

    }

    @media (max-width: 480px) {

    #twitter-bar #twitter-text img {

    width: 30px;

    height: 21px;

    margin-top: 0;

    }

    #twitter-bar #twitter-text p {

    padding-left: 40px;

    }

    }

    /*==================================== SLIDER ====================================================*/

    #slider {

    margin-bottom: 30px;

    }

    #slider .carousel-control {

    top: 100%;

    margin-top: -45px;

    background: rgba( 0, 0, 0, 0.25 );

    border: none;

    opacity: 1;

    }

    #slider .carousel-caption {

    padding: 5px 60px;

    min-height: 40px;

    }

    /********************************************************************************************************************/

    /****************************************** MEDIA QUERIES ***********************************************************/

    /********************************************************************************************************************/

    /*==================================== TABLETS ===================================================*/

    @media (max-width: 767px) {

    .container-full {

    width: 100%;

    margin-left: -20px;

    padding-right: 20px;

    padding-left: 20px;

    }

    }

    /*==================================== PHONES ====================================================*/

    @media (max-width: 480px) {

    header#cc-header .span7 {

    text-align: center;

    }

    header#cc-header .span5 {

    text-align: center;

    }

    header#cc-header .span5 div.icons a {

    float: none;

    }

    header#cc-header .span5 div.blog-description {

    float: none;

    }

    header#cc-header .span5 div.register {

    float: none;

    }

    header#cc-header .span5 #searchform {

    float: none;

    }

    .container-full .top-head-social .icons {

    margin-bottom: 10px;

    }

    }

    کد فایل rtl

    /*

    rtl created by <a href="http://mandegarweb.com/">Mandegar Web Group</a>

    */

    body {font-family:Tahoma;font-size:12px;}

    a{text-decoration: none;}

    ol, ul {font:12px Tahoma;margin-right: 15px;}

    h1, h2, h3, h4, h5, h6 {font-family:yekan,Tahoma;font-weight: normal;}

    h2.page-title{font-size:18px;}

    .container-full .top-head-description {font-family:yekan,Tahoma;margin: 8px -505px 6px 0;font-size: 12px;}

    .container-full .top-head-social .icons {float: left;margin-left: -509px;}

    .container-full .top-head-social .icons a {float: left;margin-right: 5px;}

    header #social .icons a {float: left;margin-right: 5px;}

    header#cc-header h1.site-title {font-size: 22px;font-weight: normal;}

    header #search #searchform {float: left;}

    #searchform input[name=s]{font-family:yekan,Tahoma;}

    #navigation {font-size:12px;}

    .main-navigation .nav > li {border-left: 1px solid #b6b6b6;float: right;font-family:yekan,Tahoma;}

    #navigation #searchform {float: left;margin-left: 15px;}

    ul#menu-menu.nav {float: right;left:10px;}

    .main-navigation .nav > li > ul > li > ul {right: 100%;margin-right: 0;}

    .main-navigation .nav > li > ul > li > ul::before {left: 154.5px;}

    .main-navigation .nav > li > ul > li > ul::after {left: 153.5px;}

    ul.dropdown-menu li {font-family:yekan,Tahoma;}

    ul.dropdown-menu li ul li{float:right;width: auto;}

    ul.dropdown-menu li ul {width: 100%;border: none;background-color: #666;margin-right: 0;}

    ul.dropdown-menu li ul li {width: 100%;display: block;}

    #slider-lite{direction:ltr;}

    h2.box-widget-title{font-weight:normal;font-size:18px;}

    .boxes p{font:12px Tahoma;text-align:right;}

    h2.entry-title {padding-bottom:10px;font-weight: normal;font-size:18px;}

    article.post p, article.page p {font-size: 12px;font-family:Tahoma;}

    .entry-meta {font-size: 11px;font-family:Tahoma;}

    .entry-meta a{text-decoration: none;}

    .postformats {float: left;margin-left: -9px;}

    .attachment-thumbnail{float:left;padding-right:10px;}

    .edit-link {float:left;}

    .edit-link a {font:11px Tahoma;}

    .cat-links {clear: right;}

    .taglinks {margin-right: 0;}

    .taglinks a {text-decoration: none;float: left;font-size: 11px;margin: -6px 5px 10px 30px ;border-right: 1px solid #e7e7e7;}

    .taglinks a:after {right: 100%;background: url( 'images/tag-fa.png' ) no-repeat 100% 0 transparent;}

    #sidebar .widget-container ul li, #sidebar .widget ul li {font-size: 12px;}

    #sidebar .widget-container > ul > li ul {margin: 5px 5px 5px 0;}

    #sidebar .widget-container ul li a {text-decoration: none;}

    .more-content {font:12.5px yekan,Tahoma;}

    h2.comments-title{font-size:18px;}

    ol.commentlist li.comment div.reply a {font-weight: normal;}

    a#cancel-comment-reply-link{font-size: 12.9px;}

    h3#reply-title{font-size:18px;}

    p.form-allowed-tags{display:none;}

    label[for=comment],p.comment-notes,ol.commentlist li.comment div.reply {font:12px yekan,Tahoma;}

    #respond label {margin:0 8px 5px 0;font:12px yekan,Tahoma;}

    #respond input,p.logged-in-as,#respond textarea {font:12px Tahoma;}

    #footer-widgets .widget-container a {text-decoration: none;border-bottom:none;}

    #credit{float:left;padding-top:5px;}

    #copyright{font:12.9px yekan,Tahoma;padding-top:5px;}

  3. با تشکر از پاسختون

    من وقتی کد قبلی رو پاک می کنم و اسلایدر قبلی رو اضافه می کنم یا اینکه اسلایدر فعلی رو غیر فعال می کنم این مشکل پیش میاد

    این کد هدرمه بدون اسلایدر جدید من برای حذف اسلایدر این کدرو حذف می کنم

    <?php //slider

    if( $zAlive_options['slider_enabled'] == 1 || ( $zAlive_options['slider_enabled'] == 2 && is_front_page() ) ){

    get_template_part( 'template/slider' );

    }

    ?>

    آیا درست عمل می کنم


    <?php
    /**
    * common header template
    */
    global $zAlive_options;
    ?><!DOCTYPE html>
    <!--[if IE 8]>
    <html class="ie ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if !(IE 8) ]><!-->
    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php wp_head(); ?>
    </head>
    <body <?php body_class( ( is_front_page() && $zAlive_options['hide_posts_and_primary_sidebar'] == true ) ? 'hide_posts_and_primary_sidebar' : '' ); ?>>
    <div id="header">
    <div class="navbar container">
    <div class="navbar-inner">
    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    <<?php echo $heading_tag; ?> class="brand">
    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    </<?php echo $heading_tag; ?>>
    <ul class="nav">
    <?php
    if ( has_nav_menu( 'top_nav_menu' ) ) {
    wp_nav_menu( array('theme_location' => 'top_nav_menu', 'container' => '','depth' => 2 ,'items_wrap' => '%3$s' ) );
    } else {
    wp_list_categories('depth=2&title_li=0&orderby=id&show_count=0&number=6');
    }
    ?>
    </ul>
    <?php if( $zAlive_options['header_searchbox_enabled'] == true ) : ?>
    <form class="pull-right input-append" id="searchbox" method="get" action="<?php echo esc_url( home_url() ); ?>/">
    <input name="s" id="s" type="text" placeholder="<?php _e('Type and search...','zAlive'); ?>">
    <button type="submit" class="btn"><?php _e('Search','zAlive'); ?></button>
    </form>
    <?php endif; ?>
    </div>
    </div>
    <?php if( $zAlive_options['show_tagline_directly'] == true ) : ?>
    <div id="site-description" class="tagline tagline-shown-directly container visible-desktop">
    <p><?php bloginfo('description'); ?></p>
    </div>
    <?php else : ?>
    <div id="site-description" class="tagline tagline-hidden container visible-desktop">
    <p><?php bloginfo('description'); ?></p>
    </div>
    <?php endif; ?>
    </div>
    <?php //slider
    if( $zAlive_options['slider_enabled'] == 1 || ( $zAlive_options['slider_enabled'] == 2 && is_front_page() ) ){
    get_template_part( 'template/slider' );
    }
    ?>

  4. با سلام من قالب فارسروید رو گرفتم

    پوسته ی قبلی فارسروید با سئوی 100 درصد و شیک

    یه چندتا مشکل دارم

    چطور می تونم از تب های بالای سایت

    • جدیدترین بازیها
    • جدیدترین تمها
    • جدیدترین برنامه ها
    • جدیدتـرین های بخش بازی
    • مطالب اتفاقی

    استفاده کنم و مطالب خودم رو بذارم

    چطور می تونم در سمت راست که موضوعات سایت وجود داره تنظیم کنم که از موضوعات مطالب داخل وردپرس بخونه

    چطور می تونم جدید ترین بازی ها رو حذف کنم و جاش ابزارک بذارم

    با تشکر

  5. نمایش دادن زیر دسته ها بصورت محدودن پس از غیر فعال کردن اسلایدر یا حذف آن

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

    قبلا هم در این تاپیک یه مشکل همانند این رو داشتم

    http://forum.wp-pars...-در-منو-آبشاری/

    اگه میه کمکم کنید

    آدرس آنلاین: pardisautomation.ir

  6. با سلام

    من یه قالب فارسی گرفتم ولی یک کلمه هست که فارسی نمیشه میشه یه توضیح بدید که باید چیکار کنم

    این آدرس جایی که فارسی نمیشه

    http://shop.areg.ir/?page_id=16

    وقتی یه مخصول رو به سبد اضافه می کنید و به قسمت تسویه حساب میرید این کلمه فارسی نیست

    Billing Details

    میشه راهنمایی کنید که چجوری فارسی اش کنم

  7. با سلام

    سایت من یه اسلایدر داره که تو صفحه اصلی هستش و در ادامه مطلب نشون نمیده

    می خواستم اگه میشه یه راهنمایی کنید که در ادامه مطلب هم اسلایدر نمایش داده بشه

    فکر می کنم کد اسلایدر در header باشه وباید اونرو به single اضافه کرد

    آدرس آنلاین:areg.ir

    من کد هردو رو پیوست کردم

    با تشکر

    header.txt

    single.txt

  8. با سلام من می خواستم در قالب سایت به جای نوشته گروه فنی مهندسی آریانا یه لوگو قرار بدم

    اینم آدرس آنلاین

    areg.ir

    اینم هدر سایتم


    <!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 wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?>‬</title>
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/favicon.png">
    <?php // برای تغییر آیکون کنار نشانی سایت از پوشه تصاویر آیکون مورد نظر خود را با فرمت آیکو جایگزین کنید ?>
    <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="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php
    wp_enqueue_script('jquery');
    wp_enqueue_script('superfish', get_stylesheet_directory_uri() .'/js/superfish.js');
    wp_enqueue_script('cycle', get_stylesheet_directory_uri() .'/js/cycle.js');
    wp_enqueue_script('effects', get_stylesheet_directory_uri() .'/js/effects.js');
    ?>
    <?php wp_get_archives('type=monthly&format=link'); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <div id="wrapper"> <!-- wrapper begin -->
    <div id="masthead"><!-- masthead begin -->
    <div id="head">
    <div id="top">
    <div id="blogname">
    <h1><a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></a></h1>
    </div>
    </div>
    <div id="botmenu">
    <?php wp_nav_menu( array( 'container_id' => 'submenu', 'theme_location' => 'primary','menu_class'=>'sfmenu','fallback_cb'=> 'fallbackmenu' ) ); ?>
    </div>
    </div><!--end masthead-->
    </div>
    <?php if ( is_front_page() ) { ?>
    <div id="slide">
    <?php include (TEMPLATEPATH . '/cycle.php'); ?>
    </div>
    <?php } elseif ( is_single() ){ ?>
    <div id="subhead" class="clearfix">
    <div class="insub clearfix">
    <div class="alignleft"> <?php previous_post_link(__('%link', 'Previous','mandegarweb')) ?> </div>
    <div class="alignright"> <?php next_post_link(__('%link', 'Next','mandegarweb')) ?> </div>
    </div>
    </div>
    <?php } elseif ( is_page() ){ ?>
    <div id="subhead" class="clearfix">
    <div class="insub clearfix">
    <div class="alignleft"><?php the_title(); ?></div>
    </div>
    </div>
    <?php } elseif ( is_archive() ){ ?>
    <div id="subhead" class="clearfix">
    <div class="insub clearfix">
    <div class="alignleft"> <?php _e('Archive','mandegarweb'); ?></div>
    </div>
    </div>
    <?php } elseif ( is_search() ){ ?>
    <div id="subhead" class="clearfix">
    <div class="insub clearfix">
    <div class="alignleft"> <?php
    $mySearch =& new WP_Query("s=$s & showposts=-1");
    $num = $mySearch->post_count;
    echo $num.' ' . __('search results for','mandegarweb') . ' '; the_search_query();
    ?> <?php _e('in','mandegarweb'); ?> <?php get_num_queries(); ?> <?php timer_stop(1); ?> <?php _e('seconds.','mandegarweb'); ?></div>
    </div>
    </div>
    <?php } ?>

    <div id="casing" class="<?php if ( is_front_page() ) { echo homepad; } else { echo otpad;} ?>">

    چطور می تونم نوشته حامیان در ساید بار وقتی که وارد ادامه نوشتی می شیم رو حذف کنم

    چطور می تونم اسلایدر رو در ادامه مطلب نشون بدم

    با تشکر

  9. با سلام من قالب زیر رو گرفتم

    تو اسلایدرش توضیحات هست که نمی خوام باشه

    اگه میشه راهنمایی کنید که اونرو حذف کنم

    کد هدر

    <?php global $default_colorscheme, $shortname, $category_menu, $exclude_pages, $exclude_cats, $hide, $strdepth, $strdepth2, $page_menu; ?>

    <?php $colorSchemePath = '';

    $colorScheme = get_option($shortname . '_color_scheme');

    if ($colorScheme <> $default_colorscheme) $colorSchemePath = strtolower($colorScheme) . '/'; ?>

    <!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" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php elegant_titles(); ?></title>

    <?php elegant_description(); ?>

    <?php elegant_keywords(); ?>

    <?php elegant_canonical(); ?>

    <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="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <!--[if lt IE 7]>

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie6style.css" />

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script>

    <script type="text/javascript">DD_belatedPNG.fix('img#logo, #cat-nav-left, #cat-nav-right, #search-form, #cat-nav-content, div.top-overlay, .slide .description, div.overlay, a#prevlink, a#nextlink, .slide a.readmore, .slide a.readmore span, .recent-cat .entry .title, #recent-posts .entry p.date, .footer-widget ul li, #tabbed-area ul#tab_controls li span');</script>

    <![endif]-->

    <!--[if IE 7]>

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie7style.css" />

    <![endif]-->

    <!--[if IE 8]>

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie8style.css" />

    <![endif]-->

    <script type="text/javascript">

    document.documentElement.className = 'js';

    </script>

    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

    <?php wp_head(); ?>

    </head>

    <body<?php if (is_home()) echo(' id="home"'); ?> <?php body_class(); ?>>

    <div id="header-top" class="clearfix">

    <div class="container clearfix">

    <!-- Start Logo -->

    <?php $colorFolder = '';

    if ( $colorScheme == 'Light' || $colorScheme == 'Red' || $colorScheme == 'Blue') $colorFolder = $colorSchemePath; ?>

    <a href="<?php bloginfo('url'); ?>">

    <?php $logo = (get_option('thesource_logo') <> '') ? get_option('thesource_logo') : get_bloginfo('template_directory').'/images/'.$colorFolder.'logo.png'; ?>

    <img src="<?php echo esc_url($logo); ?>" alt="<?php echo esc_attr(get_bloginfo('name')); ?>" id="logo"/>

    </a>

    <p id="slogan"><?php bloginfo('description'); ?></p>

    <!-- End Logo -->

    <!-- Start Page-menu -->

    <div id="page-menu">

    <div id="p-menu-left"> </div>

    <div id="p-menu-content">

    <?php $menuClass = 'nav clearfix';

    $primaryNav = '';

    if (function_exists('wp_nav_menu')) $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'echo' => false ) );

    if ($primaryNav == '') show_page_menu($menuClass);

    else echo($primaryNav); ?>

    </div>

    <div id="p-menu-right"> </div>

    </div> <!-- end #page-menu -->

    <!-- End Page-menu -->

    <div id="cat-nav" class="clearfix">

    <div id="cat-nav-left"> </div>

    <div id="cat-nav-content">

    <?php $menuClass = 'superfish nav clearfix';

    $secondaryNav = '';

    if (function_exists('wp_nav_menu')) $secondaryNav = wp_nav_menu( array( 'theme_location' => 'secondary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'echo' => false ) );

    if ($secondaryNav == '') show_categories_menu($menuClass);

    else echo($secondaryNav); ?>

    <!-- Start Searchbox -->

    <div id="search-form">

    <form method="get" id="searchform1" action="<?php echo home_url(); ?>">

    <input type="text" value="<?php esc_attr_e('search...','TheSource'); ?>" name="s" id="searchinput" />

    <input type="image" src="<?php bloginfo('template_directory'); ?>/images/<?php echo esc_attr($colorSchemePath); ?>search_btn.png" id="searchsubmit" />

    </form>

    </div>

    <!-- End Searchbox -->

    </div> <!-- end #cat-nav-content -->

    <div id="cat-nav-right"> </div>

    </div> <!-- end #cat-nav -->

    </div> <!-- end .container -->

    </div> <!-- end #header-top -->

    <?php if ( (is_home() || is_front_page()) && get_option('thesource_featured') == 'on' ) get_template_part('includes/featured'); ?>

    <div id="content">

    <?php if (!is_home()) { ?>

    <div id="content-top-shadow"></div>

    <?php }; ?>

    <div class="container">

    عکسش هم پیوست کردم

    با تشکرpost-5026-0-42355700-1395583298_thumb.pn

  10. با سلام و تبریک سال نو

    من افزونه VIP وردپرس (نسخه ۱.۰) بتا رو دانلود کردم و در وردپرس نصب کردم

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

    Warning: include_once(/../setting/meta-box.php): failed to open stream: No such file or directory in /home/u257020862/public_html/wp-content/plugins/wp-vip/inc/post.php on line 16

    با تشکر از راهنماییتون

  11. با سلام من کد زی رو گرفتم

    نوشته بود در function بزارید

    حالا هرجای اون می ذارم بالای پیشخوان ارور میده یا میگه کد در خط فلان مشکل داره

    میشه توضیح بدید باید کجای این قسمت قرار بدم


    function remove_widgets()
    remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
    remove_meta_box( 'dashboard_recent_drafts', 'dashboard', 'side' );
    remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
    remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' );
    add_action('wp_dashboard_setup', 'remove_widgets' );

  12. با سلام من کد زی رو گرفتم

    نوشته بود در function بزارید

    حالا هرجای اون می ذارم بالای پیشخوان ارور میده یا میگه کد در خط فلان مشکل داره

    میشه توضیح بدید باید کجای این قسمت قرار بدم


    function remove_widgets()
    remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
    remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
    remove_meta_box( 'dashboard_recent_drafts', 'dashboard', 'side' );
    remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
    remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' );
    add_action('wp_dashboard_setup', 'remove_widgets' );

  13. این رو امتحان کنید :


    <?php
    function redirect_user_on_role()
    {
    //retrieve current user info
    global $current_user;
    get_currentuserinfo();
    //If login user role is Subscriber
    if ($current_user->user_level == 0)
    {
    wp_redirect( home_url() ); exit;
    }
    //If login user role is Contributor
    else if ($current_user->user_level > 1)
    {
    wp_redirect( home_url() ); exit;
    }
    //If login user role is Editor
    else if ($current_user->user_level >8)
    {
    wp_redirect( home_url() ); exit;
    }
    else if ($current_user->user_level >10)
    {

    $redirect_to = '/wp-admin/';
    return $redirect_to;


    }
    // For other rolse
    else
    {
    $redirect_to = 'http://google.com/';
    return $redirect_to;
    }
    }
    add_action('admin_init','redirect_user_on_role');
    ?>

    بیخشید هیچ فرقی نکرد

    من می خوام طوری باشه که مدیر سایت بتونه به پیش خوان دسترسی داشته باشه ولی کاربرای دیگه نتونند

    الآن هیچ کس نمیتونه به بخش پیشخوان دسترسی داشته باشه

    با تشکر

  14. با سلام

    من تونستم کدزیر رو گیر بیارم

    کار این کد اینه که کاربر پس از ورود به پیشخوان منتقل نمیشه و به صفحه اصلی میاد

    حتی اگه خودش هم بخوتد نمیتونه به پیشخوان بره که این خیلی خوبه

    ولی یه مشکلی داره اونم اینه که حتی خودمم نمی تونم به پیش خوان دسترسی پیدا کنم (مدیر سایت)

    با پاک کردن این کد از فانشن تو هاست تونستم به پیشخوان دسترسی پیدا کنم

    اگه میشه کمکم کنید تا این مشکل رو تو این کد برطرف کنم

    کد


    <?php
    function redirect_user_on_role()
    {
    //retrieve current user info
    global $current_user;
    get_currentuserinfo();
    //If login user role is Subscriber
    if ($current_user->user_level == 0)
    {
    wp_redirect( home_url() ); exit;
    }
    //If login user role is Contributor
    else if ($current_user->user_level > 1)
    {
    wp_redirect( home_url() ); exit;
    }
    //If login user role is Editor
    else if ($current_user->user_level >8)
    {
    wp_redirect( home_url() ); exit;
    }
    // For other rolse
    else
    {
    $redirect_to = 'http://google.com/';
    return $redirect_to;
    }
    }
    add_action('admin_init','redirect_user_on_role');
    ?>

  15. با سلام

    می خواستم یه افزونه بهم معرفی کنید که کاربران پس از عضویت و یا ورود به سایت به صفحه اصلی سایت منتقل بشند به جای اینکه به پیشخوان بروند

    افزونه های زیادی تست کردم ولی کارنکرده

    لطفا یه افزونه ای معرفی کنید که تست شده باشه

    با تشکر از انجمن بسیار خوب وردپرس پارسی و تمام کاربراش

  16. با سلام من دنبال یه پوسته میگردم که رایگان باشه ودر مورد صنعت و برق باشه که تو انجمن هم بشه ترجمش کرد

    یه چیزی شبیه این

    http://www.templatem...demo/36176.html

    خیلی هم دنبالش گشتم

    اگه کسی سراغ داره لطفا راهنمایی کنید

    با تشکر از انجمن بسیار خوب وردپرس پارسی که تکه

×
×
  • اضافه کردن...