Не помогло... выводит опять все категории которые создаю и в правом сайдбаре и в горизонтальном меню...
Вот код файла sidebar.php Не пойму что здесь нужно отредактировать чтобы убрать вывод рубрик в горизонтальном меню...
А что нужно сделать в этом файле чтобы не выводились рубрики еще и в горизонтальном меню?
awa, Спасибо тебе огромнейшее) помогло.Удалил вторую строчку что в твоем посте.Дубликат пропал... надеюсь навсегда.
Еще раз спасибо тебе мил человек)))
<?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); ?> <?php if (($thumb == '') && ($ebusiness_grab_image == 'on')) $thumb = catch_that_image(); ?> <?php if($thumb !== '') { ?> <a href="<?php the_permalink() ?>" title="<?php printf(__('Permanent Link to %s','eBusiness'), get_the_title()) ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&h=<?php echo $ebusiness_thumbnail_size; ?>&w=<?php echo $ebusiness_thumbnail_size; ?>&zc=1&q=<?php echo $ebusiness_thumbnail_quality; ?>" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" class="thumbnail" /></a> <?php } else { echo ''; } ?>
извиняюсь,но я не нашел этой опции...
а что делать с includes/thumbnail.php ?
Оставить только thumbnail.php ?
Извиняюсь за торможение,но я действительно не работал с вордпресс никогда.
<?php get_header(); ?>
<?php if (get_option('ebusiness_categories') == 'false') : ?>
<?php else : ?>
<div id="categories"> <img src="<?php bloginfo('template_directory'); ?>/images/categories-left-<?php echo $ebusiness_color; ?>.gif" alt="line" style="float: left;" />
<ul class="nav superfish" id="nav2">
<?php wp_list_categories("orderby=$ebusiness_sort_cat&order=$ebusiness_order_cat&include=$include_cats&title_li=&".$strdepth2); ?>
</ul>
<img src="<?php bloginfo('template_directory'); ?>/images/categories-right-<?php echo $ebusiness_color; ?>.gif" alt="line" style="float: left;" /> </div>
<?php endif; ?>
<div id="container">
<div id="left-div">
<?php if (get_option('ebusiness_integration_single_top') <> '' && get_option('ebusiness_integrate_singletop_enable') == 'on') echo(get_option('ebusiness_integration_single_top')); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<!--Begin Post-->
<div class="home-post-wrap-2">
<h1 class="titles"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permanent Link to %s','eBusiness'), get_the_title()) ?>">
<?php the_title() ?>
</a></h1>
<?php if (get_option('ebusiness_postinfo_posts') == 'false') : ?>
<div class="post-info-wrap"> <img src="<?php bloginfo('template_directory'); ?>/images/home-title-2-left-<?php echo $ebusiness_color; ?>.gif" alt="home title" class="home-title-image" /> <span class="post-info"><?php _e('Posted','eBusiness') ?> <?php if (in_array('author', get_option('ebusiness_postinfo1'))) { ?> <?php _e('by','eBusiness') ?> <?php the_author_posts_link(); ?><?php }; ?><?php if (in_array('date', get_option('ebusiness_postinfo1'))) { ?> <?php _e('on','eBusiness') ?> <?php the_time(get_option('ebusiness_date_format')) ?><?php }; ?><?php if (in_array('categories', get_option('ebusiness_postinfo1'))) { ?> <?php _e('in','eBusiness') ?> <?php the_category(', ') ?><?php }; ?><?php if (in_array('comments', get_option('ebusiness_postinfo1'))) { ?> | <?php comments_popup_link(__('0 comments','eBusiness'), __('1 comment','eBusiness'), __('% comments','eBusiness')); ?><?php }; ?></span> <img src="<?php bloginfo('template_directory'); ?>/images/home-title-2-right-<?php echo $ebusiness_color; ?>.gif" alt="home title" class="home-title-image" /> </div>
<div style="clear: both;"></div>
<?php if (get_option('ebusiness_thumbnails') == 'false') { ?>
<?php { echo ''; } ?>
<?php } else { include(TEMPLATEPATH . '/includes/thumbnail.php'); } ?>
<?php the_content(); ?>
<?php if (get_option('ebusiness_integration_single_bottom') <> '' && get_option('ebusiness_integrate_singlebottom_enable') == 'on') echo(get_option('ebusiness_integration_single_bottom')); ?>
<?php if (get_option('ebusiness_foursixeight') == 'on') { ?>
<?php include(TEMPLATEPATH . '/includes/468x60.php'); ?>
<?php } else { echo ''; } ?>
<?php if (get_option('ebusiness_show_postcomments') == 'on') { ?>
<?php comments_template(); ?>
<?php }; ?>
<?php endwhile; ?>
</div>
<!--If no results are found-->
<h1><?php _e('No Results Found','eBusiness') ?></h1>
<p><?php _e('The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.','eBusiness') ?></p>
<!--End if no results are found-->
<!--Begin Sidebar-->
<?php get_sidebar(); ?>
<!--End Sidebar-->
<img src="<?php bloginfo('template_directory'); ?>/images/content-bg-<?php echo $ebusiness_color; ?>.gif" alt="line" style="float: left; margin-top: 15px;" /> </div>
<!--Begin Footer-->
<?php get_footer(); ?>
<!--End Footer-->
</body></html>
Пробовал убрать,убирается и картинка и миниатюра.Получается вообще пост без картинки.
Да я в них пока не понимаю вообще ничего.С вордпресом работаю только с неделю.Я только с Joomla работать умею).Мне нужно чтобы картинка с рамкой которая осталась а вторую убрать.Может кто нибудь посмотреть файлы шаблона?