رفتن به مطلب

حذف content بدون حذف اسلایدشو... چیکار کنم؟!


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

سلام عزیزان

من فایل index قالب سایتم رو ویرایش کردم و content رو حذف کردم و بجاش چندتا ابزارک گذاشتم....

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

حالا میخوام بدونم چجوری content رو حذف کنم بدون اینکه اسلاید شو حذف شه؟!

ایندکس قبل ویرایش:


<?php global $theme; get_header(); ?>

<div id="main">

<?php $theme->hook('main_before'); ?>

<div id="content">

<?php $theme->hook('content_before'); ?>

<?php
if (have_posts()) : while (have_posts()) : the_post();
/**
* The default post formatting from the post.php template file will be used.
* If you want to customize the post formatting for your homepage:
*
* - Create a new file: post-homepage.php
* - Copy/Paste the content of post.php to post-homepage.php
* - Edit and customize the post-homepage.php file for your needs.
*
* Learn more about the get_template_part() function: http://codex.wordpress.org/Function_Reference/get_template_part
*/

get_template_part('post', 'homepage');

endwhile;

else :
get_template_part('post', 'noresults');
endif;

get_template_part('navigation');
?>

<?php $theme->hook('content_after'); ?>

</div><!-- #content -->

<?php get_sidebars(); ?>

<?php $theme->hook('main_after'); ?>

</div><!-- #main -->

<?php get_footer(); ?>

ایندکس بعد ویراش:


<?php global $theme; get_header(); ?>

<div id="main">

<?php $theme->hook('main_before'); ?>




چندتا ابزارک



<?php get_sidebars(); ?>

<?php $theme->hook('main_after'); ?>

</div><!-- #main -->

<?php get_footer(); ?>

قالبی هم که استفاده میکنم از قالبهای newwpthemp.com و اسمش nominale هست....

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

nominale.zip

لینک به ارسال

تست کنید:

<?php global $theme; get_header(); ?>

<div id="main">

<?php $theme->hook('main_before'); ?>

<div id="content">

<?php $theme->hook('content_before'); ?>



</div><!-- #content -->

<?php get_sidebars(); ?>

<?php $theme->hook('main_after'); ?>

</div><!-- #main -->

<?php get_footer(); ?>

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

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