رفتن به مطلب

hamid_khaleghi

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

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

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

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

  1. با سلام و احترام

    سایت نمایشگاهی ای هست که غرفه های آن باید بصورت آنلاین رزرو و یا خریداری شوند

    آیا افزونه ای میشناسید که امکان رزرو غرفه ها رو مانند سایت های رزرو صندلی سینما و کنسرت و ... فراهم کنه؟

    (لطفاً تصویر پیوست رو مشاهده کنید)

    با تشکر

    _20170920_151445 copy.jpg

  2. با سلام و احترام

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

    امروز با خطای زیر مواجه شدم

    " این‌طور به نظر می‌رسد خطایی در یکی از جداول دیتابیس گرویتی‌فرم وجود دارد. لطفا با پشتیبانی در تماس باشید. "

    آیا این اتفاق زمانی میفته که لایسنس اصلی خریداری نشده؟

    بنده فایل افزونه رو از گیت هاب دانلود کردم، بسته فارسی ساز هم نصب شده، افزونه های دیگه رو هم غیرفعال کردم و همچنان مشکل وجود داره

     

    متشکرم

  3. با سلام و احترام

    بنده میخوام یک سایت asp و یک سایت وردپرسی روی vps ویندوز راه اندازی کنم

    asp رو قبلاً روی IIS راه اندازی کرده ام،

    1- آیا نصب وردپرس بصورت همزمان بر روی همان IIS امکان پذیر هست؟

    2- آیا امکان نصب apache بر روی VPS ویندوز وجود دارد؟ درصورت امکان، آیا تداخلی با IIS پیدا نمیکند؟

    3- اگر هر دو روش بالا قابل اجراست، کدام روشِ بهتریست؟

     

    متشکرم

  4. سلام

    با css نمیشه اینکار رو انجام داد

    کد js بصورت زیر میشه : 

          var totalCharacter = 200; 
          var charactersUsed = $("نام کلاس یا آیدی").text().length; 
          if(charactersUsed > totalCharacter){
              charactersUsed = totalCharacter;
              $("نام کلاس یا آیدی").text($("نام کلاس یا آیدی").text().substr(0, totalCharacter));
          }

     

    • تشکر 1
    • امتیاز 2
  5. با سلام

    کد زیر رو امتحان کنید

    <style>
    article {
    	margin:0 auto;
    	width:100%;
    	margin-top:50px;
    	text-align:center;	
    }
    img {
    	width:300px;
    	height:300px;
    	border:1px solid black;
    	display:inline-block;
    	margin:0 0 1px 1px;
    }
    .clear {
    	clear:both;
    }
    </style>
    <article>
      <img src="آدرس تصویر" />
      <img src="آدرس تصویر" />
      <img src="آدرس تصویر" />
      <img src="آدرس تصویر" />
      <img src="آدرس تصویر" />
    <br />
      <img src="آدرس تصویر" />
      <img src="آدرس تصویر" />
    <br />
      <img src="آدرس تصویر" />
      <img src="آدرس تصویر" />
      <img src="آدرس تصویر" />
    <section class="clear"></section>
    
    </article>

     

    • امتیاز 1
  6. سلام ، یه نمونه:

    http://www.cssscript...cript-and-css3/

    ببخشید یه مشکل دارم

    چطور میشه این ویژگی هم برا div باشه هم برا a ؟

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


    var addRippleEffect = function (e) {
    var target = e.target;
    if (target.tagName.toLowerCase() !== 'a') return false;
    var rect = target.getBoundingClientRect();
    var ripple = target.querySelector('.ripple');
    if (!ripple) {
    ripple = document.createElement('span');
    ripple.className = 'ripple';
    ripple.style.height = ripple.style.width = Math.max(rect.width, rect.height) + 'px';
    target.appendChild(ripple);
    }
    ripple.classList.remove('show');
    var top = e.pageY - rect.top - ripple.offsetHeight / 2 - document.body.scrollTop;
    var left = e.pageX - rect.left - ripple.offsetWidth / 2 - document.body.scrollLeft;
    ripple.style.top = top + 'px';
    ripple.style.left = left + 'px';
    ripple.classList.add('show');
    return false;
    }
    document.addEventListener('mousedown', addRippleEffect, false);

  7. سلام دوستان

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

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

    درست مثل دکمه های اندروید 5!

    چطور میشه همچین چیزی درست کرد ؟

    با تشکر.

    لینک

  8. با سلام خدمت همه دوستان و اون کسایی که دارن این مطلب رو میخونن...

    این کدی که زیر میبینید..مربوط به یه کادری هستش که زمانی اون سایت یا وبلاگ باز میشه این کادر همه هم زمان در وسط صفحه قرار میگیرهه..و یه گزینه داره به نام بستن کادر....یه چیز تبلیغی هستش تقریبا..

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

    امیدوارم که منظورم رو متوجه شده باشین...

    اینم آدرس اون صفحه ای هستش که کادر قرار داره توش...

    http://programs.vcp.ir/

    اینم کد اون کادر....

    --------------------------------------------------------------------------------------------------------------------------------

    <style>

    <!--

    .tablighat { font-family: Tahoma; font-size: 10pt; color: #000000; text-decoration: none;

    border: 1px dotted #000080; padding-left: 5; padding-right: 5;

    background-color: #FFFFFF }

    .text { border:1px solid #bdb6b0; FONT-SIZE: 9pt; BACKGROUND-IMAGE: url('http://mohsendavari....aleb/html/4.gif'); FONT-FAMILY: Tahoma }

    -->

    </style>

    <b>

    <script>

    //Specify rate of display (1/freq)

    var freq=1

    var random_num=Math.floor(Math.random()*freq)

    //if (random_num==0)

    //window.onload=initbox

    var ie=document.all

    var dom=document.getElementById

    var ns4=document.layers

    var calunits=document.layers? "" : "px"

    var bouncelimit=40//(must be divisible by 8)

    var direction="up"

    function initbox(){

    if (!dom&&!ie&&!ns4)

    return

    crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin

    scroll_top=(ie)? truebody().scrollTop : window.pageYOffset

    crossobj.top=scroll_top-250+calunits

    crossobj.visibility=(dom||ie)? "visible" : "show"

    dropstart=setInterval("dropin()",50)

    }

    function dropin(){

    scroll_top=(ie)? truebody().scrollTop : window.pageYOffset

    if (parseInt(crossobj.top)<170+scroll_top)

    crossobj.top=parseInt(crossobj.top)+40+calunits

    else{

    clearInterval(dropstart)

    bouncestart=setInterval("bouncein()",50)

    }

    }

    function bouncein(){

    crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits

    if (bouncelimit<0)

    bouncelimit+=8

    bouncelimit=bouncelimit*-1

    if (bouncelimit==0){

    clearInterval(bouncestart)

    }

    }

    function dismissbox(){

    if (window.bouncestart) clearInterval(bouncestart)

    crossobj.visibility="hidden"

    }

    function truebody(){

    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body

    }

    </script>

    <div id="dropin" style="position:absolute;visibility:hidden;left:280;top:94;width:438; height:99">

    <table align="center" border="0" cellpadding="6" cellspacing="1" width="100%">

    <tr>

    <td class="tablighat" dir="rtl">

    <p dir="rtl"><span><strong>

    <a href="#" onclick="dismissbox();return false" style="text-decoration: none">

    <font color="#9A3600">[x] بستن پنجره</font></a> </strong></span></td>

    </tr>

    <tr>

    <td class="tablighat" width="100%" dir="rtl">

    <script>initbox()</script>

    <p dir="rtl" align="center"><div style="text-align: center;"><a href="http://4design.ir/" target="_blank" title=""></a><div style="text-align: center;"><font size="2"> </br>

    <p align="center">this is a test</p>

    سلام به این وبسایت خوش آمدید.

    محل قرار تبلیغ شما ...

    <br>

    <a style="color: rgb(51, 51, 255);" href="http://programs.vcp....ت-در-سایت.html" target="_blank" title="دریافت کد"><div style="text-align: center;">تعرفه تبلیغات</div></a>

    </td>

    </tr>

    </table>

    </div>

    -------------------------------------------------------------------------------------------------------------------------------------------------

    سلام

    به جای این کد


    <div id="dropin" style="position:absolute;visibility:hidden;left:280;top:94;width:438; height:99">

    کد زیر رو وارد کنید


    <div id="dropin" style="position:fixed;visibility:hidden;left:455px;top:94;width:438; height:99">

    • امتیاز 5

  9. <?php echo $user_email; ?>
    <?php echo $user_url; ?>

    سلام استاد

    برای این قسمت میخوام

    وقتی افراد وارد شدند به صورت readonly در میاد

    کدی که شما دادید وارد کردم که نشد


    <label for="email"><?php _e('email','animationiha'); ?> : </label><br clear="all">
    <div class="Cover">
    <span class="livicon comments-tree" data-n="mail" data-et="click" data-s="19" data-c="#999" data-parent="true" data-hc="false"></span>
    <input type="text" <?php if (is_user_logged_in()) : ?> style="cursor:default;" value="<?php echo $user_email; ?>" readonly="readonly" <?php else : ?> value="<?php echo esc_attr($comment_author_email); ?>" <?php endif; ?> class="input" id="email" name="email"/>
    </div>


    <label for="url"><?php _e('website','animationiha'); ?> : </label><br clear="all">
    <div class="Cover">
    <span class="livicon comments-tree" data-et="click" data-n="link" data-s="19" data-c="#999" data-parent="true" data-hc="false"></span>
    <input type="text" <?php if (is_user_logged_in()) : ?> style="cursor:default;" value="<?php echo $user_url; ?>" readonly="readonly" <?php else : ?> value="<?php echo esc_attr($comment_author_url); ?>" <?php endif; ?> class="input" id="url" name="url"/>

  10. با سلام

    ار این دو تاپیک چیزی دستگیرم نشد

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

    مثلاً برای نام از کد


    <?php echo $user_identity; ?>

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

  11. سلام و خسته نباشید خدمت تمامی دوستان وردپرسی.

    میخواستم بدونم که چجوری میشه از یه جمله PHP توی یه فایل CSS استفاده کرد؟

    برای مثال این جمله رو:

    <?php the_post_thumbnail('thumbnail'); ?>

    برای Backround url() نشون بدیم.

    ممنون.

    سلام

    به این تاپیک یه نگاه بندازید

    http://forum.wp-persian.com/topic/879

    آخرین پاسخش فک کنم مشکلتون رو حل کنه

    یا میتونید از css داخلی استفاده کنید همانظور که آقای @rezaonline فرمودند

    • امتیاز 1
  12. با سلام

    راستش با تگ img فک نکنم بشه چنین کاری کرد... یا اگرم بشه بنده اطلاعی ندارم...

    ولی شما به راحتی میتونید با استایل background-size:cover; و اندازه مشخص این کار رو روی تگ هایی مثل div انجام بدید ( اندازه تصویر اصلی مهم نیست )


    <style>
    #body div {
    float:left;
    width:150px;
    height:150px;
    background-size:cover;
    }
    </style>
    <article id="body">
    <div style="background:url('آدرس') center no-repeat;"></div>
    <div style="background:url('آدرس') center no-repeat;"></div>
    <div style="background:url('آدرس') center no-repeat;"></div>
    <div style="background:url('آدرس') center no-repeat;"></div>
    <div style="background:url('آدرس') center no-repeat;"></div>
    <div style="background:url('آدرس') center no-repeat;"></div>
    <div style="background:url('آدرس') center no-repeat;"></div>
    </article>

    • امتیاز 1
  13. خوب ببین الان سورس Tidy شده رو بهت میده بیشتر مواقع قالب رو بهم میریزه

    اگر از من میشنوی بیخیال 2 تا ارور شو ، خداییش من به شخصه تا حالا سایتی رو ندیدم Valid بدون ارور باشه اونم HTML ، خیلی خوب اومدی

    این سورسیه که Validato خودش داده یعنی Tidy شده

    اینو تو یه صفحه HTML خالی بزار بعد دوباره Valid کن ببین اوکی میشه یا نه اگر شد ، سورس رو با این ست کن درست میشه

    کلا پیشنهاد میدم همینجا بیخیال بشی همینم خیلی خوب بوده

    <html dir="rtl" lang="fa-IR" xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />

    <meta name="Content-Type" />

    <title>انیمیشنی ها | دانلود رایگان انیمیشن با لینک مستقیم</title>

    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <link rel="stylesheet" href="http://animationiha.ir/content/style.css" type="text/css" />

    <style media="print" type="text/css">

    /*<![CDATA[*/

    @charset "utf-8";body{color:#000;background:#fff;font-family:"Times New Roman",Times,serif;font-size:12pt}a{text-decoration:underline;color:#00f}

    /*]]>*/

    </style>

    <meta name="keywords" content="انیمیشن, انیمیشن های 2014, انیمیشنی ها, دانلود انیمیشن, دانلود انیمیشن دوبله فارسی, دانلود رایگان انیمیشن, دانلود رایگان انیمیشن با لینک مستقیم, دانلود رایگان انیمیشن بدون محدودیت, کارتون و انیمیشن" />

    <meta name="robots" content="index, follow" />

    <meta name="robots" content="all" />

    <link rel="author" type="text/plain" href="/humans.txt" />

    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <meta name="alexaVerifyID" content="cOuMwlAegmPzH0DxjzKatZhjQO0" />

    <meta name="google-site-verification" content="yK81ux8FME58qwZF2onean0rj12EFmAaJbFWEvLDVI0" />

    <link rel="shortcut icon" href="http://animationiha.ir/content/images/favicon.ico" type="image/x-icon" />

    <meta name="robots" content="noydir" />

    <meta name="description" content="انیمیشنی ها , دانلود رایگان انیمیشن با لینک مستقیم" />

    <meta name="keywords" content="انیمیشنی ها , دانلود انیمیشن , انیمیشن , دانلود رایگان انیمیشن , دانلود انیمیشن با لینک مستقیم" />

    <link rel="canonical" href="http://animationiha.ir" />

    <link rel="publisher" href="https://plus.google.com/u/0/113962225359522358212" />

    <meta content="fa_IR" />

    <meta content="website" />

    <meta content="انیمیشنی ها" />

    <meta content="انیمیشنی ها , دانلود رایگان انیمیشن با لینک مستقیم" />

    <meta content="http://animationiha.ir" />

    <meta content="انیمیشنی ها" />

    <meta content="https://www.facebook.com/animationiha.ir" />

    <meta content="100006615154058" />

    <meta content="http://www.animationiha.ir/wp-content/uploads/2014/09/logo.png" />

    <script type="application/ld+json">

    <![CDATA[

    {"@context":"http://animationiha.ir/","potentialAction":{"@type":"SearchAction","target":"http://animationiha.ir/?s={search_term}","query-input":"required'>http://schema.org","@type":"WebSite","url":"http://animationiha.ir/","potentialAction":{"@type":"SearchAction","target":"http://animationiha.ir/?s={search_term}","query-input":"required name=search_term"}}

    ]]>

    </script>

    <link rel='stylesheet' id='new-smileys-css' href='http://animationiha.ir/plugins/1915e00b/new-smileys.css' type='text/css' media='all' />

    <style type="text/css" id="syntaxhighlighteranchor">

    </style>

    <style type="text/css">

    /*<![CDATA[*/

    a.c4 {font-size: 9pt;}

    input.c3 {height:14.5px; width:14.5px; top:-5px; position:relative; z-index:1000;cursor:pointer;}

    li.c2 {list-style: none}

    strong.c1 {font-weight:normal;}

    /*]]>*/

    </style>

    </head>

    <body dir="rtl">

    <div class="center">

    <div class="header radius-top">

    <div class="one"></div>

    <div class="login-reg-box"><a href="/vip"><button type="button" class="login"><a href="/vip"> <span class="tree">خـریـــد اکـــانت ویـــــژه</span> </a><br clear="all" />

    <a href="//shop.animationiha.ir" rel="nofollow" target="_blank"><button type="button" class="sale"><a href="//shop.animationiha.ir" rel="nofollow" target="_blank"> <span class="six">فروشـــــگاه ســـــــــایـت</span> </a></button></a></button></a></div>

    </div>

    <div id="mainnav">

    <ul>

    <li id="home" class="current-cat"><a rel="tooltip" title="صفحه اصلی" href="http://animationiha.ir"> </a></li>

    <li class="page_item page-item-18"><a href="http://animationiha.ir/ads/">تبلیغات</a></li>

    <li class="page_item page-item-20"><a href="http://animationiha.ir/contact/">تماس با ما</a></li>

    <li class="c2"><strong class="c1" id="catss"></strong></li>

    <li class="cat-item cat-item-3"><strong class="c1" id="catss"><a href="http://animationiha.ir/news/">اخبار</a></strong></li>'>http://animationiha.ir/news/">اخبار</a></strong></li>

    </ul>

    <div class="social-box"><a rel="nofollow" target="_blank" href="https://www.facebook.com/animationiha.ir"></a>

    <div class="fb"></div>

    <a rel="nofollow" target="_blank" href="https://twitter.com/animationiha"></a>

    <div class="twitter"></div>

    <a rel="nofollow" target="_blank" href="http://plus.google.com/"></a>

    <div class="Gplus"></div>

    </div>

    <div class="search-box">

    <form method="get" id="searchform" action="http://animationiha.ir"><input id="search" type="password" onclick='OpenSearch()' class="search-sumbit" /> <input name="s" id="s" type="text" onblur='SearchCloseButton()' class="search-input" /></form>

    </div>

    <div class="clear"></div>

    </div>

    <div class="main radius-bottom">

    <div class="adress-content">موقعیت در سایت : <a href="http://animationiha.ir">صفحه اصلی</a></div>

    <p id="pullcover"><a id="pull">مشاهده/بستن موضوعات</a></p>

    <div id="hiiiii">

    <div id="appendcat"></div>

    <div class="clear"></div>

    </div>

    <div class="clear"></div>

    <div class="side-left sidebar-left">

    <div class="adss">

    <div class="title_sec">

    <h3><span>تبلیغات</span></h3>

    </div>

    <br />

    <div class="sidebar-one"><a rel="nofollow" href="http://www.kingsera.ir/"><img width="120" height="240" src="http://www.animationiha.ir/Files/2014/07/poll3.gif" alt="تبلیغات" /></a></div>

    </div>

    <br clear="all" />

    <div class="official">

    <div class="stats-title">

    <div class="livicon sidebar-two"></div>

    <span>آمار سایت</span></div>

    <ul>

    <li>تعداد مطالب : 1</li>

    <li>تعداد نظرات : 10</li>

    <li>افراد آنلاین : 2</li>

    <li>بازدید امروز : 536</li>

    <li>بازدید دیروز : 47</li>

    <li>بازدید سال : 13121</li>

    <li>تاریخ تولد : 3 تیر 1393</li>

    </ul>

    <h3 class="archives-t"><span>آرشیو ماهانه</span></h3>

    <div class="archiveselect"><a id="archivekey">مشاهده</a>

    <div class="archivelist" id="achivelistid">

    <ul>

    <li><a href='http://animationiha.ir/date/1393/04/'>تیر ۱۳۹۳</a></li>

    </ul>

    </div>

    </div>

    </div>

    <div class="clear"></div>

    </div>

    <div class="appendtoleft"></div>

    <div class="adss">

    <div class="title_red">

    <h3>تبلیغات</h3>

    </div>

    <div class="sidebar-tree"><a rel="nofollow" href="http://mihanwebads.com/ref:5468"><img width="120" height="240" src="http://www.animationiha.ir/Files/2014/07/2.gif" alt="تبلیغات" /></a> <a rel="nofollow" href=""><img width="120" height="240" src="http://www.animationiha.ir/Files/2014/07/poll3.gif" alt="تبلیغات" /></a></div>

    <div class="clear"></div>

    </div>

    <h3>آخرین مطالب</h3>

    <ul class="green">

    <li><a rel="bookmark" href="http://animationiha.ir/news/6/comingsoon/">سایت'>http://animationiha.ir/news/6/comingsoon/">سایت بزودی تاسیس میشود.</a></li>

    </ul>

    <div id="smallscreen-remove">

    <h3>مطالب برتر</h3>

    <div class="topnews-key"><a href="#week" class="active">هفته</a> <a href="#month">ماه</a> <a href="#year">سال</a></div>

    <div class="topnews-area" id="Week">

    <ul class="red">

    <li><a href="http://animationiha.ir/news/6/comingsoon/" rel="bookmark">سایت بزودی تاسیس میشود.</a></li>

    </ul>

    </div>

    <div class="topnews-area" id="month">

    <ul class="red">

    <li><a href="http://animationiha.ir/news/6/comingsoon/" rel="bookmark">سایت بزودی تاسیس میشود.</a></li>

    </ul>

    </div>

    <div class="topnews-area" id="year">

    <ul class="red">

    <li><a href="http://animationiha.ir/news/6/comingsoon/" rel="bookmark">سایت بزودی تاسیس میشود.</a></li>

    </ul>

    </div>

    </div>

    <h3>مطالب تصادفی</h3>

    <ul class="orange">

    <li><a href="http://animationiha.ir/news/6/comingsoon/">سایت'>http://animationiha.ir/news/6/comingsoon/">سایت بزودی تاسیس میشود.</a></li>

    </ul>

    <div class="software">

    <div class="livicon sidebar-six"></div>

    <span>نرم افزار های مورد نیاز</span>

    <div class="clear"></div>

    <div class="app" id="Idm">

    <div class="idm"></div>

    <span class="title">دانلود منیجر Internet Download Manager</span>

    <div class="clear"></div>

    </div>

    <div class="app" id="Winrar">

    <div class="winrar"></div>

    <span class="title">نرم افزار فشرده سازی WinRar</span>

    <div class="clear"></div>

    </div>

    <div class="app" id="Km">

    <div class="km"></div>

    <span class="title">پخش کننده فیلم KmPlayer</span>

    <div class="clear"></div>

    </div>

    </div>

    <div class="appendlefttoright"></div>

    <div class="adss"><a href="http://webhod.ir/" class="red">هدهد<br />

    مجله اینترنتی</a> <a href="/ads" class="blue"><strong>تبلیغات شما در این مکان</strong><br />

    با کمترین هزینه همین حالا تماس گیرید</a> <a href="/ads" class="yellow"><strong>تبلیغات شما در این مکان</strong><br />

    با کمترین هزینه همین حالا تماس گیرید</a> <a href="/ads" class="green"><strong>تبلیغات شما در این مکان</strong><br />

    با کمترین هزینه همین حالا تماس گیرید</a> <a href="/ads" class="red"><strong>تبلیغات شما در این مکان</strong><br />

    با کمترین هزینه همین حالا تماس گیرید</a></div>

    <div class="clear"></div>

    <div class="main-content">

    <div class="navigation-one">

    <h1>انیمیشنی ها</h1>

    <h2>دانلود رایگان انیمیشن با لینک مستقیم</h2>

    </div>

    <div class="adss">

    <div class="ads-main-one close-box" id="CloseAdsId">

    <form title="بستن تبلیغات" action="http://animationiha.ir/" method="post"><input class="c3" type="submit" name="removeadsbtn" value="" /></form>

    </div>

    <div class="ads-main-tree"><a href="/ads"><img width="468" height="60" alt="تبلیغات" src="http://www.animationiha.ir/Files/2014/07/adv.gif" /></a> <a href="/ads"><img width="468" height="60" alt="تبلیغات" src="http://www.animationiha.ir/Files/2014/07/adv2.gif" /></a></div>

    </div>

    <div class="title">

    <h3>توجه!</h3>

    </div>

    <div class="content textwidget">

    <p>بدلیل بروز رسانی های پی در پی قالب اگر در نمایش با مشکل برخوردید ، کش مرورگر خود را خالی کنید!<br />

    در صورت بروز هر مشکلی، در قسمت نظرات با ما در ارتباط باشید، تا اطلاع ثانوی ساخت فرم تماس با ما صورت نمیگیرد!</p>

    </div>

    <noscript>

    <div class="title">

    <h3>توجه</h3>

    </div>

    <div class="content content">جاوا اسکریپت مرورگر شما فعال نیست<br />

    لطفا ً آن را فعال کنید</div>

    </noscript>

    <div class="post-title title">

    <div class="arrow"></div>

    <h2><a href="http://animationiha.ir/news/6/comingsoon/">سایت'>http://animationiha.ir/news/6/comingsoon/">سایت بزودی تاسیس میشود.</a></h2>

    <div class="clear"></div>

    <div class="view">بازدید : 10419</div>

    <div class="cat">دسته بندی : <a href="http://animationiha.ir/news/" rel="category tag">اخبار</a></div>

    <div class="clear"></div>

    </div>

    <div class="post-content">

    <p>سایت انیمیشنی ها بزودی تاسیس خواهد شد.<br />

    در حال رفع مشکلات سایت میباشیم</p>

    <div class="more-link"><a href="http://animationiha.ir/news/6/comingsoon/">ادامه مطلب</a></div>

    <div class="tags">برچسب ها :<a href="http://animationiha.ir/tag/animation/" rel="tag">انیمیشن</a> , <a href="http://animationiha.ir/tag/%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-2014/" rel="tag">انیمیشن های 2014</a> , <a href="http://animationiha.ir/tag/%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86%db%8c-%d9%87%d8%a7/" rel="tag">انیمیشنی ها</a> , <a href="http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86/" rel="tag">دانلود انیمیشن</a> , <a href="http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-%d8%af%d9%88%d8%a8%d9%84%d9%87-%d9%81%d8%a7%d8%b1%d8%b3%db%8c/" rel="tag">دانلود انیمیشن دوبله فارسی</a> , <a href="http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%b1%d8%a7%db%8c%da%af%d8%a7%d9%86-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86/" rel="tag">دانلود رایگان انیمیشن</a> , <a href="http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%b1%d8%a7%db%8c%da%af%d8%a7%d9%86-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-%d8%a8%d8%a7-%d9%84%db%8c%d9%86%da%a9-%d9%85%d8%b3%d8%aa%d9%82%db%8c%d9%85/" rel="tag">دانلود رایگان انیمیشن با لینک مستقیم</a> , <a href="http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%b1%d8%a7%db%8c%da%af%d8%a7%d9%86-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-%d8%a8%d8%af%d9%88%d9%86-%d9%85%d8%ad%d8%af%d9%88%d8%af%db%8c%d8%aa/" rel="tag">دانلود رایگان انیمیشن بدون محدودیت</a> , <a href="http://animationiha.ir/tag/%da%a9%d8%a7%d8%b1%d8%aa%d9%88%d9%86-%d9%88-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86/" rel="tag">کارتون و انیمیشن</a></div>

    </div>

    <div class="author"> حمید</div>

    <div class="date">۲۲ تیر ۱۳۹۳</div>

    <div class="comments"> ۱۰ نظر</div>

    <div class="clear"></div>

    <div class="appendsidebar"></div>

    </div>

    </div>

    </div>

    <br clear="all" />

    <br clear="all" />

    <div class="title">

    <div class="footer-one"></div>

    <h3>برچسب ها</h3>

    <div class="clear"></div>

    <div class="bar bar1"></div>

    </div>

    <div class="content">

    <h2><a href='http://animationiha.ir/tag/animation/' class='tag-link-2 c4' title='1 موضوع'>انیمیشن</a> <a href='http://animationiha.ir/tag/%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-2014/' class='tag-link-9 c4' title='1 موضوع'>انیمیشن های 2014</a> <a href='http://animationiha.ir/tag/%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86%db%8c-%d9%87%d8%a7/' class='tag-link-6 c4' title='1 موضوع'>انیمیشنی ها</a> <a href='http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86/' class='tag-link-12 c4' title='1 موضوع'>دانلود انیمیشن</a> <a href='http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-%d8%af%d9%88%d8%a8%d9%84%d9%87-%d9%81%d8%a7%d8%b1%d8%b3%db%8c/' class='tag-link-10 c4' title='1 موضوع'>دانلود انیمیشن دوبله فارسی</a> <a href='http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%b1%d8%a7%db%8c%da%af%d8%a7%d9%86-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86/' class='tag-link-7 c4' title='1 موضوع'>دانلود رایگان انیمیشن</a> <a href='http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%b1%d8%a7%db%8c%da%af%d8%a7%d9%86-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-%d8%a8%d8%a7-%d9%84%db%8c%d9%86%da%a9-%d9%85%d8%b3%d8%aa%d9%82%db%8c%d9%85/' class='tag-link-8 c4' title='1 موضوع'>دانلود رایگان انیمیشن با لینک مستقیم</a> <a href='http://animationiha.ir/tag/%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d8%b1%d8%a7%db%8c%da%af%d8%a7%d9%86-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86-%d8%a8%d8%af%d9%88%d9%86-%d9%85%d8%ad%d8%af%d9%88%d8%af%db%8c%d8%aa/' class='tag-link-13 c4' title='1 موضوع'>دانلود رایگان انیمیشن بدون محدودیت</a> <a href='http://animationiha.ir/tag/%da%a9%d8%a7%d8%b1%d8%aa%d9%88%d9%86-%d9%88-%d8%a7%d9%86%db%8c%d9%85%db%8c%d8%b4%d9%86/' class='tag-link-11 c4' title='1 موضوع'>کارتون و انیمیشن</a></h2>

    <div class="clear"></div>

    </div>

    <div class="title">

    <div class="footer-two"></div>

    <h3>خبرنامه سایت</h3>

    <div class="clear"></div>

    <div class="bar bar2"></div>

    </div>

    با عضویت در خبرنامه جدیدترین مطالب و اخبار سایت به صورت رایگان به ایمیل شما ارسال خواهد شد.

    <div class="safe"><span>ایمیل شما پیش ما محفوظ است</span></div>

    <form onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=animationiha/ir', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow" method="post" action="http://feedburner.google.com/fb/a/mailverify"><input name="email" type="text" /><input type="hidden" value="animationiha/SQfw" name="uri" /> <input type="hidden" name="loc" value="en_US" /> <button>

    <h5 class="footer-five">عضویت در خبرنامه</h5>

    </button></form>

    <div class="clear"></div>

    <div class="clear"></div>

    <div class="clear"></div>

    <br clear="all" />

    <br clear="all" />

    <div class="copyight">

    <div class="footer-six"><span><rt id="mamnooo">هرگونه کپی برداری از مطالب و قالب سایت ممنوع و پیگرد قانونی دارد</rt></span>

    <h3 class="desinger">طراحی و راه اندازی : <a href="/">حمید خالقی</a></h3>

    </div>

    <div class="footer-seven"><script defer="defer" src="http://animationiha.ir/content/js/scripts.js" type="text/javascript">

    </script><script defer="defer" type="text/javascript">

    //<![CDATA[

    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','UA-52708758-1','auto');ga('send','pageview');

    //]]>

    </script><!--[if IE]><script src="http://animationiha.ir/content/js/ie.js"></script><![endif]--></div>

    </div>

    </body>

    </html>

    خیلی ممنون دوست عزیز

    از اونجا که دیدم به یک چیز الکی گیر داده... اونم به علامت < بعد از عبارت public گفتم شاید بشه کاریش کرد

    به هر حال خیلی ممنون :)

    راستی همین سورس رو تست کردم ارور های بیشتری داشت

    فک کنم مشکل اصلیش از انکودینگ باشه

  14. فکر کنم بجای این


    <!DOCTYPE html PUBLIC>

    اینو بزاری


    <html dir="rtl" lang="fa-IR" xmlns="http://www.w3.org/1999/xhtml">

    درست میشه

    چون فعلا Validator کد های HTML5 رو روی آزمایشی شروع کرده HTML5 رو درست و حسابی Valid نمیکنه . بهتره برای رفع خطاها از Xhtml استفاده کنید

    اون بخش دومم

    توی سورس که دیدم Encoding اینجوری بود


    <meta name="Content-Type" charset="UTF-8" /><meta charset="utf-8">

    دومی رو حذف کن ببین درست میشه ! یا کلا برش دار Content-type ؤو

    سلام دوست عزیز

    دقیقاً کاری که گفتید انجام دادم

    الان تعداد ارور ها شده 90 تا

  15. با سلام

    دوستان لطفاً یک نگاه به این آدرس بندازید

    http://validator.w3.org/check?uri=http%3A%2F%2Fanimationiha.ir

    فقط 2 تا خطا وجود داره که هر دوش به یک دلیله

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

    لطفاً اگه میتونید کمک کنید

    و یک دونه هشدار داره که تو سایت های تست seo هم همین اخطار رو دادن

    چطور میشه این رو برطرف کرد ؟

    No Character encoding declared at document level

  16. منظورتون اینه که یه برگه رو از لیست نمایش Exclude کنید ؟

    اگر منظورتون همینه

    توابع


    <?php $args = array(
    'authors' => '',
    'child_of' => 0,
    'date_format' => get_option('date_format'),
    'depth' => 0,
    'echo' => 1,
    'exclude' => '',
    'include' => '',
    'link_after' => '',
    'link_before' => '',
    'post_type' => 'page',
    'post_status' => 'publish',
    'show_date' => '',
    'sort_column' => 'menu_order, post_title',
    'sort_order' => '',
    'title_li' => __('Pages'),
    'walker' => ''
    ); ?>

    با سلام

    خیلی ممنون

    دقیفاً پاسخ سوال رو گرفتم

    کدش به این صورت میشه


    <?php wp_list_pages('title_li=&exclude=-94'); ?>

    :)

    • امتیاز 1
  17. با سلام خدمت دوستان

    بنده میخوام تو لیست برگه های سایتم ، برگه ی با آیدی مثلاً 94 رو نمایش ندم

    مثلاً اگه دو تا برگه دارم به اسم های تبلیغات و تماس با ما ، و فرض کنیم آیدی برگه تبلیغات 94 باشد ، حالا میخوام تو قسمتی که لیست برگه ها رو نمایش میده ، برگه تبلیغات نمایش داده نشه

    امیدوارم منظورمو رسونده باشم xxxx


    <?php wp_list_pages(' '); ?>

  18. برای اینکه یک مطلب رو دو بخشش کنید که یکی رو فقط در صفحه ی اول نمایش بده و هر دو رو در پیوند یکتا در محل مناسب توسط ویرایشگر html تگ زیر رو اضافه کنید


    <!--more-->

    و برای صفحه بندی


    <!--nextpage-->

    و در کدهای حلقه single.php هم اضافه کنید


    <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>

    خیلی ممنون استاد

    • امتیاز 1
  19. سلام دوستان

    آیا امکان صفحه بندی تو ادامه مطلب وجود داره ؟

    مثلاٌ یک سایت داستانی داریم که داستان ها رو تیکه تیکه مثلاً هر فصل رو جدا بزاریم و فقط فصل اول رو تو صفحه اصلی نمایش بده و بقیه فصل ها رو تو single.php صفحه بندی کنه

    امیدوارم منظورمو رسونده باشم :)

    post-6110-0-60456600-1408617028_thumb.jp

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