رفتن به مطلب

تغییر در سورس قالب گودنیوز


پست های پیشنهاد شده

با سلام خدمت دوستان عزیز و اساتید گرامی

در حال ادیت قالب گود نیوز و بهینه سازی قالب هستم. میخواستم تعداد استایل های css هدر رو که داره استایل شیت های قالب رو تو صفحه فراخوانی میکنه به حداقل برسونم تا تعداد رکوئست کمتر بشه و سرعت لود افزایش پیدا کنه و تغییراتم بهینه تر باشه، در حال حاضر تونستم کد های فونت و راستچین قالبو یکی کنم و یه جا فراخوانی کنم. اما کد فراخوانی مدیا و main رو پیدا نمی کنم. یه سری از اسکریپت هارو هم میخوام با اسکریپت های خودم جایگزین کنم. دوستان میدونید سورس کدها کجاست!؟ هدر سایت رو براتون پیوست می کنم.

خیلی ممنون از راهنماییتون.

!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7" dir="rtl" lang="fa-IR" prefix="og: http://ogp.me/ns#"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8" dir="rtl" lang="fa-IR" prefix="og: http://ogp.me/ns#"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9" dir="rtl" lang="fa-IR" prefix="og: http://ogp.me/ns#"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" dir="rtl" lang="fa-IR" prefix="og: http://ogp.me/ns#"> <!--<![endif]-->
<head>
    <meta charset="UTF-8" />
    <title>ایرونیا - پورتال ایرونیا</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="profile" href="http://gmpg.org/xfn/11">
    <link rel="pingback" href="http://irounia.ir/xmlrpc.php">
    
            <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
                <link rel="shortcut icon" href="http://irounia.ir/wp-content/uploads/logo.ico" />
                <link rel="apple-touch-icon" href="http://irounia.ir/wp-content/themes/goodnews/apple-touch-icon-precomposed.png" />
    
    <link rel="pingback" href="http://irounia.ir/xmlrpc.php" />
    <!--[if lt IE 9]>
    <script src="http://irounia.ir/wp-content/themes/goodnews/framework/helpers/js/html5.js"></script>
    <script src="http://irounia.ir/wp-content/themes/goodnews/framework/helpers/js/IE9.js"></script>
    <![endif]-->
        
<!-- This site is optimized with the Yoast SEO plugin v3.3.4 - https://yoast.com/wordpress/plugins/seo/ -->
<meta name="robots" content="noindex,follow"/>
<link rel="canonical" href="http://irounia.ir/" />
<meta property="og:locale" content="fa_IR" />
<meta property="og:type" content="website" />
<meta property="og:title" content="ایرونیا - پورتال ایرونیا" />
<meta property="og:url" content="http://irounia.ir/" />
<meta property="og:site_name" content="پورتال ایرونیا" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="ایرونیا - پورتال ایرونیا" />
<script type='application/ld+json'>{"@context":"http:\/\/schema.org","@type":"WebSite","url":"http:\/\/irounia.ir\/","name":"\u067e\u0648\u0631\u062a\u0627\u0644 \u0627\u06cc\u0631\u0648\u0646\u06cc\u0627","potentialAction":{"@type":"SearchAction","target":"http:\/\/irounia.ir\/?s={search_term_string}","query-input":"required name=search_term_string"}}</script>
<!-- / Yoast SEO plugin. -->

<link rel="alternate" type="application/rss+xml" title="پورتال ایرونیا &raquo; خوراک" href="http://irounia.ir/feed/" />
<link rel="alternate" type="application/rss+xml" title="پورتال ایرونیا &raquo; خوراک دیدگاه‌ها" href="http://irounia.ir/comments/feed/" />
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/irounia.ir\/wp-includes\/js\/wp-emoji-release.min.js"}};
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;if(!g||!g.fillText)return!1;switch(g.textBaseline="top",g.font="600 32px Arial",a){case"flag":return g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3;case"diversity":return g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,d=c[0]+","+c[1]+","+c[2]+","+c[3],g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e;case"simple":return g.fillText(h(55357,56835),0,0),0!==g.getImageData(16,16,1,1).data[0];case"unicode8":return g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='rs-plugin-settings-css'  href='http://irounia.ir/wp-content/plugins/revslider/public/assets/css/settings.css' type='text/css' media='all' />
<style id='rs-plugin-settings-inline-css' type='text/css'>
#rs-demo-id {}
</style>
<link rel='stylesheet' id='plugins-css'  href='http://irounia.ir/wp-content/themes/goodnews/css/plugins.css' type='text/css' media='all' />
<link rel='stylesheet' id='main-css'  href='http://irounia.ir/wp-content/themes/goodnews/css/main.css' type='text/css' media='all' />
<link rel='stylesheet' id='responsive-css'  href='http://irounia.ir/wp-content/themes/goodnews/css/media.css' type='text/css' media='all' />
<link rel='stylesheet' id='style-css'  href='http://irounia.ir/wp-content/themes/goodnews-child-theme/style.css' type='text/css' media='all' />
<link rel='stylesheet' id='js_composer_front-css'  href='http://irounia.ir/wp-content/plugins/js_composer/assets/css/js_composer.min.css' type='text/css' media='all' />
<script type='text/javascript' src='http://irounia.ir/wp-includes/js/jquery/jquery.js'></script>
<script type='text/javascript' src='http://irounia.ir/wp-includes/js/jquery/jquery-migrate.min.js'></script>
<script type='text/javascript' src='http://irounia.ir/wp-content/plugins/revslider/public/assets/js/jquery.themepunch.tools.min.js'></script>
<script type='text/javascript' src='http://irounia.ir/wp-content/plugins/revslider/public/assets/js/jquery.themepunch.revolution.min.js'></script>
<link rel='https://api.w.org/' href='http://irounia.ir/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://irounia.ir/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://irounia.ir/wp-includes/wlwmanifest.xml" /> 
<link rel='shortlink' href='http://irounia.ir/' />
<link rel="alternate" type="application/json+oembed" href="http://irounia.ir/wp-json/oembed/1.0/embed?url=http%3A%2F%2Firounia.ir%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://irounia.ir/wp-json/oembed/1.0/embed?url=http%3A%2F%2Firounia.ir%2F&#038;format=xml" />
		<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
		<meta name="generator" content="Powered by Visual Composer - drag and drop page builder for WordPress."/>
<!--[if lte IE 9]><link rel="stylesheet" type="text/css" href="http://irounia.ir/wp-content/plugins/js_composer/assets/css/vc_lte_ie9.min.css" media="screen"><![endif]--><!--[if IE  8]><link rel="stylesheet" type="text/css" href="http://irounia.ir/wp-content/plugins/js_composer/assets/css/vc-ie8.min.css" media="screen"><![endif]--><meta name="generator" content="Powered by Slider Revolution 5.2.3.5 - responsive, Mobile-Friendly Slider Plugin for WordPress with comfortable drag and drop interface." />
<style type="text/css" title="dynamic-css" class="options-output">body{color:#8e8e8e;}a{color:#1361c6;}a:hover{color:#1e73be;}a:active{color:#285aff;}</style><style type="text/css">
    
.header > .inner, .header .logo {
line-height: 120px;
height: 120px;
}
/* Category background */
</style>
<style type="text/css" data-type="vc_shortcodes-custom-css">.vc_custom_1468610742883{background-color: #ffffff !important;}</style><noscript><style type="text/css"> .wpb_animate_when_almost_visible { opacity: 1; }</style></noscript></head>

 

لینک به ارسال
  • sushyant این مورد را قفل کرد موضوع
مهمان
این موضوع برای عدم ارسال قفل گردیده است.
×
×
  • اضافه کردن...