fadakweb 1 ارسال شده در اردیبهشت 93 گزارش بازنشر ارسال شده در اردیبهشت 93 با سلام و درودبی مقدمه مشکل رو مطرح می کنمبنده یک سایت دانلود دارم که برای قرار دادن لینک ها دانلود از زمینه های دلخواه استفاده کردم . حال میخوام قالب سایت رو عوض کنم و قالب جدید زمینه دلخواه نداره . چطور میتونم در قالب جدید زمینه دلخواه ایجاد کنم که تمامی لینک هایی که در قالب سابق با زمینه دلخواه اضافه شدند در قالب جدید هم نمایش داده شوند ؟با تشکر نقل قول لینک به ارسال
omid0098i 2536 ارسال شده در اردیبهشت 93 گزارش بازنشر ارسال شده در اردیبهشت 93 شما توابع فراخوانی زمینه های دلخواه رو توی فایل Single.php قالب جدید بذارید حلهاگه نمیدونید کدوما رو باید بذارید همه ی کدهای فایل single رو بذارید اینجا تا دقیق بهتون بگیم باید چیکار کنید 3 نقل قول لینک به ارسال
Alireza Xn 1644 ارسال شده در اردیبهشت 93 گزارش بازنشر ارسال شده در اردیبهشت 93 در تکمیل صحبت های دوست عزیزمون omid0098i شما میتونید از پلاگین هم برای اینکار استفاده کنید پیشنهاد من این پلاگین فوق العاده هستش . صفحه افزونه توضیحات تکمیلی و آموزش استفاده - کلیک کنید 5 نقل قول لینک به ارسال
fadakweb 1 ارسال شده در اردیبهشت 93 مالک گزارش بازنشر ارسال شده در اردیبهشت 93 شما توابع فراخوانی زمینه های دلخواه رو توی فایل Single.php قالب جدید بذارید حلهاگه نمیدونید کدوما رو باید بذارید همه ی کدهای فایل single رو بذارید اینجا تا دقیق بهتون بگیم باید چیکار کنیدبا تشکر از راهنمایی شما و دوست خوبمون . کد های single.php خدمت شما <!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" dir="rtl" lang="fa-IR"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title><?php wp_title(''); ?></title><link rel="icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" type="image/x-icon" /><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style.css" type="text/css" /> <link rel="sitemap" href="<?php bloginfo('home'); ?>/sitemap.xml" /><link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo('template_directory'); ?>/favicon.jpg" /><link rel='stylesheet' id='wp-pagenavi-style-css' href='<?php bloginfo('template_directory'); ?>/pagenavi.css' type='text/css' media='all' /><link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/jquery.lightbox.css" /><link rel="alternate" type="application/rss+xml" title="RSS 2.0 - همه نوشته ها" href="<?php bloginfo('home'); ?>/feed" /><link rel="alternate" type="application/rss+xml" title="RSS 2.0 - همه دیدگاه ها" href="<?php bloginfo('home'); ?>/comments/feed" /><link rel="pingback" href="<?php bloginfo('home'); ?>/xmlrpc.php" /><meta name="googlebot" content="index, follow"><meta name="robots" content="all"><?php wp_head();?> </head><body><div class="top-menu"> <div class="center"> <ul><?php include(TEMPLATEPATH.'/navlinks.php'); ?> </ul> <div class="arm"><div id="asiadl"> </div></div> </div></div><script type="text/javascript" src="https://apis.google.com/js/plusone.js">{lang: 'fa'}</script><div class="gplus" style="position:fixed;left:2px;bottom:30px;"><center>مارا در گوگل محبوب کنید :<br/> <g:plusone size="tall"></g:plusone></center> </div><div class="header"> <div class="center"> <h1 class="logo pf"></h1> <div class="search"><form method="get" action="<?php bloginfo('url'); ?>" name="search" onsubmit="if(document.search.s.value == ''){alert('کلمه مورد نظر خود برای جستجو را بنویسید !');return false;}"><button type="submit">جستجو</button><div style="float:left;"><input type="text" name="s" value=""/></div></form> </div><div id="nav-wrapper"> <nav class="new-menu"> <ul class="clearfix"><?php wp_list_categories('hide_empty=0&title_li'); ?> </ul></nav> </div> </div></div><div class="page"><div class="pagebody"><br><br><div class="content"> <div id="page-content"> <div class="two-box-warpper"> <div id="page-body"> <div class="page-body"> <div class="clear"></div><div style="margin-top: 6px"></div><div class="post"><?php include(TEMPLATEPATH.'/ads2.php'); ?><?php if(have_posts()): ?><?php while(have_posts()):the_post(); ?> <div id="post-title"> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3><div id="post-info"><ul> <li class="categry"><?php the_category(' » '); ?></li> <li class="date"><?php the_time('j F Y') ?></li> <div class="hit">بازدید: <?php if(function_exists('the_views')) { the_views(); } ?></div></ul><div class="clear"></div></div><div class="content-text"><center><div class="cover"><a href="<?php the_permalink() ?>"><?php if(has_post_thumbnail()) {the_post_thumbnail();} else {echo '<img width="400" height="300" src="'.get_bloginfo("template_url").'/images/no-image.gif" />';}?></a></div></center><?php the_content(''); ?><p align="center"><a target="_blank" href="http://forum.iranbuzz.ir"><img src="http://up.wikivb.ir/images/qv78dfgtdhv9hkdkou7y.png"></a></p><p align="center"><a target="_blank" href="http://iranbuzz.ir/1393/01/27/%d8%a2%d8%ae%d8%b1%db%8c%d9%86-%d9%86%d8%b3%d8%ae%d9%87-%d8%af%d8%a7%d9%86%d9%84%d9%88%d8%af-%d9%85%d9%86%db%8c%d8%ac%d8%b1-internet-download-manager-6-19-final/"><img src="http://up.iranbuzz.ir/do.php?imgf=1399742835621.png"></a></p><p align="center"><a target="_blank" href="http://iranbuzz.ir/1392/12/07/winrar-5-01-final-portable-%d9%81%d8%b4%d8%b1%d8%af%d9%87-%d8%b3%d8%a7%d8%b2%db%8c-%d9%81%d8%a7%db%8c%d9%84/"><img src="http://up.iranbuzz.ir/do.php?imgf=1399742837132.png"></a></p><?php if(get_post_custom_values('satr1')) : ?><div style="float:left;width:200px;"><div class="desc-soft"><div style="width:184px;height:180px;overflow:auto;direction:rtl;"><div style="font-size:20px;font-family:'FDYekan','B Yekan','Yekan',tahoma;color:#A3A3A3;text-align:center;">راهنما</div>- پس از دانلود برنامه توسط<a href="http://iranbuzz.ir/tags/Winrar/">نرم افزار WinRar </a>فایل ها را از حالت فشرده شده خارج نمایید.<br><?php echo get_post_meta($post->ID, 'rahnama',true); ?></div></div><div class="clear" style="height:16px;"></div></div><div style="float:right;width:266px;"><div class="info-soft"><div style="font-size:20px;font-family:'FDYekan','B Yekan','Yekan',tahoma;color:#7abce1;text-align:center;">مشخصات</div><div style="font-size:16px;font-family:'FDYekan','B Yekan','Yekan',tahoma;color:#83b3ce;margin:0px 5px 0px 0px;"><?php echo get_post_meta($post->ID, 'satr1', true); ?><br>حجم فایل: <?php echo get_post_meta($post->ID, 'hajm',true); ?><br>نویسنده: <?php the_author();?><br>تاريخ انتشار: <?php the_time('j F Y') ?></div></div><br><div class="pass-soft"><div style="font-size:16px;font-family:'FDYekan','B Yekan','Yekan',tahoma;margin:3px 25px 0px 0px;">پسورد فايل : www.iranbuzz.ir</div></div><br></div><?php endif; ?><?php if(get_post_custom_values('link')) : ?><div style="float:right;width:266px;"><div class="dl-soft"><div style="width:98%;margin:0% 1% 0% 1%;"><div style="font-size:20px;font-family:'FDYekan','B Yekan','Yekan',tahoma;color:#8ed382;">لینک های دانلود:</div> <a/> <a href="?lightbox[width]=524#guidedownload" class="lightbox"><div class="post-help" style="color:#fff;">راهنمای دانلود</div><a/><?php include(TEMPLATEPATH.'/guide.php'); ?> <a/> <a href="?lightbox[width]=524#report" class="lightbox"><div class="post-report" style="color:#fff;">گزارش خرابی</div><a/><?php include(TEMPLATEPATH.'/report.php'); ?><br><?php echo get_post_meta($post->ID, 'link', true); ?></div></div><br></div><?php endif; ?><div style="float:right;width:266px;"><div class="tags-soft"><div style="margin:0px 10px 0px 1px;"><div style="font-size:16px;font-family:'FDYekan','B Yekan','Yekan',tahoma;color:#A3171E;">بر چسب:</div><?php the_tags(__('','kubrick'), ' , ', '<br />'); ?></div></div></div><div class="clear"></div></div></div> <br><?php endwhile; ?><?php else: ?><div class="post"> <div id="post-title"><h3><?php _e('کاربر گرامي،مطلبي يافت نشد!'); ?></h3></div></div><?php endif; ?> <?php include(TEMPLATEPATH.'/ads1.php'); ?> </div><div id="post-footer"></div><div id="post-footer"></div> <div id="comments"><ul class="commentlist"><?php comments_template(); ?></ul></div><div class="post"> <?php include(TEMPLATEPATH.'/ads3.php'); ?> </div></div><div class="clear"></div></div><?php include(TEMPLATEPATH.'/sidebar-right.php'); ?><?php include(TEMPLATEPATH.'/sidebar-left.php'); ?></div><div class="clear"></div></div></div> </div></div><div class="footer"><div id="footerbody"><?php get_footer(); ?>اگر راهی باشه که این بشه همون زمینه های دلخواه رو و یا حداقل لینک های دانلود رو در قالب جدید قرار داد واقعا عالی میشه با عملکرد این پلاگین زیاد آشنایی ندارم اگر کار رو بشه با کد حل کرد بهترهباز هم تشکر می کنم نقل قول لینک به ارسال
omid0098i 2536 ارسال شده در اردیبهشت 93 گزارش بازنشر ارسال شده در اردیبهشت 93 این کدها دقیقا مربوط به زمینه های دلخواه هستند :<?php echo get_post_meta($post->ID, 'rahnama',true); ?></div></div><div class="clear" style="height:16px;"></div></div><div style="float:right;width:266px;"><div class="info-soft"><div style="font-size:20px;font-family:'FDYekan','B Yekan','Yekan',tahoma;color:#7abce1;text-align:center;">مشخصات</div><div style="font-size:16px;font-family:'FDYekan','B Yekan','Yekan',tahoma;color:#83b3ce;margin:0px 5px 0px 0px;"><?php echo get_post_meta($post->ID, 'satr1', true); ?><br>حجم فایل: <?php echo get_post_meta($post->ID, 'hajm',true); ?><br>نویسنده: <?php the_author();?><br>تاريخ انتشار: <?php the_time('j F Y') ?></div></div><br><div class="pass-soft"><div style="font-size:16px;font-family:'FDYekan','B Yekan','Yekan',tahoma;margin:3px 25px 0px 0px;">پسورد فايل : www.iranbuzz.ir</div></div><br></div><?php endif; ?><?php if(get_post_custom_values('link')) : ?><?php echo get_post_meta($post->ID, 'link', true); ?></div></div><br></div><?php endif; ?> 2 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .