Подскажите, есть сайт - http://tomseoxw.bget.ru/ . Когда заходишь на страницу рубрик там сверху есть блок с названием рубрики. Как описание добавить знаю.
Вот такая проблема. Нужно на главную вывести такой же блок над контентом, но там будет мой текст
спасибо, помогло
Можно ли изменить содержимое виджета, например Рубрики, и туда добавить свой код? если можно, то как?
Подскажите, при установкеь темы строка: Fatal error: Call to undefined function add_custom_background() in Z:\home\localhost\www\web\wp-content\themes\wptuts\functions.php on line 102
тема паблик, уж больно сильно понравилось и подходик к тематике, хотелось бы сделать рабочим.
Спасибо!
ishipilov,
<div id="sidebar"> <?php include('ads/sidebar125x125ads.php'); ?> <!--begin of social widget--> <?php if (get_theme_mod('subscribe') == 'Yes') { ?> <div id="subscribe"> <ul class="subscribe_icons"> <li class="subscribe_buzz"><a href="http://google.com/profiles/<?php echo get_theme_mod('google_id'); ?>" rel="nofollow" target="_blank"><?php _e('Buzz', 'themejunkie'); ?></a></li> <li class="subscribe_twitter"><a href="http://twitter.com/<?php echo get_theme_mod('twitter_id'); ?>" rel="nofollow" target="_blank"><?php _e('Twitter', 'themejunkie'); ?></a></li> <li class="subscribe_facebook"><a href="http://www.facebook.com/<?php echo get_theme_mod('facebook_id'); ?>" rel="nofollow" target="_blank"><?php _e('Facebook', 'themejunkie'); ?></a></li> <li class="subscribe_rss"><a href="http://feeds.feedburner.com/<?php echo get_theme_mod('feedburner_id'); ?>" rel="nofollow" target="_blank"><?php _e('RSS', 'themejunkie'); ?></a></li> <li class="subscribe_email"><a href="http://feedburner.google.com/fb/a/mailverify?uri=<?php echo get_theme_mod('feedburner_id'); ?>&loc=en_US" rel="nofollow" target="_blank"><?php _e('Email', 'themejunkie'); ?></a></li> </ul> <!--end .subscribe_icons--> <div class="clear"></div> </div> <!--end #subscribe--> <?php } ?> <!--end of social widget--> <!--begin of ajax tabber--> <?php if (get_theme_mod('tabber') == 'Yes') { ?> <div class="widget"> <div id="tabber"> <ul class="tabs"> <li><a href="#popular-posts"><?php _e('Popular', 'themejunkie'); ?></a></li> <li><a href="#recent-posts"><?php _e('Latest', 'themejunkie'); ?></a></li> <li><a href="#recent-comments"><?php _e('Comments', 'themejunkie'); ?></a></li> <li><a href="#tag-cloud"><?php _e('Tags', 'themejunkie'); ?></a></li> </ul> <!--end .tabs--> <div class="clear"></div> <div class="inside"> <div id="popular-posts"> <ul> <?php tj_tabs_popular(get_theme_mod('tab1'), 'tabthumbsize'); ?> </ul> </div> <!--end #popular-posts--> <div id="recent-posts"> <ul> <?php tj_tabs_latest(get_theme_mod('tab2'), 'tabthumbsize'); ?> </ul> </div> <!--end #recent-posts--> <div id="recent-comments"> <ul> <?php tj_tabs_comments(get_theme_mod('tab3'), get_theme_mod('tabthumbsize')); ?> </ul> </div> <!--end #recent-comments--> <div id="tag-cloud"> <?php wp_tag_cloud('smallest=12&largest=20'); ?> </div> <!--end #tag-cloud--> </div> <!--end .inside --> </div><!--end #tabber --> </div> <!--end .widget--> <?php } ?> <!--end of ajax tabber--> <!--begin of general widgets--> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?> <?php endif; ?> <!--end of general widgets--> <div class="clear"></div> </div> <!--end #sidebar-->
вот сам сайдбар...
еще вопрос...можно ли изменить код уже созданного виджета, например Рубрики, и вставить туда свой код? и как, если можно?