Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Sidebar Widgets Help...Hard Coding widgets « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Sidebar Widgets Help...Hard Coding widgets

(3 posts)
  • Started 5 years ago by lqunta
  • Latest reply from Chris
  • This topic is not resolved
  1. lqunta
    Member

    Hi Guys,
    I have to confess that thematic is quite a great theme framework, and, the support forums are super too! [why didn't I start using thematic before?].

    Well, I'm trying to 'hard code' the sidebar of my child theme [still in development], to have some widgets present by default, instead of the usual widgets [search, categories, meta] that appear by default. I would like to have:
    -On Home Page

    1. Newsletter Sign Up: Title, Some Text, and the 'sign up' form[single field, and button]
    2. Calendar of Events: Calendar
    3. Request Resources : Title, Some Text and Internal links
    4. Gallery: Title, 75x75 thumbnails = 2 cols x 2 rows, redirecting to a 'gallery' page when clicked. [Can Use a Plugin here]

    -On [Posts]Single Pages

    1. Category Description: Current Category Title, Category Description
    2. Similar Articles: Titles to 4 articles in the same category

    -On Level 1 Pages

    1. Subpage Menu: Title Text, 1 level list menu of subpages
    2. Other Text Widgets

    With the above setup, will I need to create different 'page' templates for each scenario?
    How can I code the sidebars?

    Cheers

    Posted 5 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    em hr

    Moderator

    lqunta-

    I'm interested in seeing how this turns out. I've never tried to change the default widgets before. I'll look into it and see what I can figure out.

    -Gene

    Posted 5 years ago #

  3. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    Chris

    Moderator

    Hi,

    this is something you might think about: http://codex.wordpress.org/User:Bono/Template_Tags/the_widget .. Could be controlled by the regular conditional tags.

    :) .. this can't replace the flexibility of a well designed sidebar structure. But it's a nice solution in case you have a predefined list of widgets.

    If you need real sidebars you can use the thematic_preset_widgets to filter the $preset_widgets (take a look at lines 262 - 269 [widgets-extensions.php] -- SVN version)

    Chris

    Posted 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183