ThemeShaper Forums » Thematic

[closed]

New Widget Problem

(1 post)
  • Started 2 years ago by lance1572
  • This topic is not resolved
  1. lance1572
    Member

    Hi all me again!

    I'm on a new piece with thematic. I ran into a snag and was hoping someone could lead me in the right direction. I've added new widget areas for my page. A total of 9. I know....Thematic has a bunch already but I needed to drastically customize. Okay i created them and calling them in a function. Not sure I did it right. The content in the homepage is not showing. It shows when I delete the widget code. Here's what I have

    //Creating a New Wiget Area to Hold the Post Race Party
    if (function_exists('register_sidebar')) {
    register_sidebar(array(
    'name'=> 'Awards',
    'id' => 'awards',
    'description' => 'Put the Awards Information Here',
    'before_widget' => '<h3 id="%1$s" class="widget %2$s">',
    'after_widget' => '</h3>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }

    Then in a function I'm calling it

    function add_bottom_sections_div() {?>
    	<div id="bottom-sections-wrapper">
    		<div id="course">
            	<?php dynamic_sidebar('course');?>
            </div>
            <div id="packet">
            	<?php dynamic_sidebar('packet');?>
            </div>
            <div id="awards">
            	<?php dynamic_sidebar('awards');?>
            </div>
        </div>	
    
    <?php }
    
    add_action('thematic_abovecontent','add_bottom_sections_div');

    I did this 9 times. The content in the widgets is showing but the content in the content page is not. Is this the right way? Also, I unset the other Thematic widgetized areas.

    Any help please!!!!:( Note: its only a landing page. No other pages.

    thanks Lance

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.