ThemeShaper Forums » Thematic

[closed]

Alternative Sidebar

(8 posts)
  • Started 8 years ago by soupking
  • Latest reply from soupking
  • This topic is resolved
  1. soupking
    Member

    Hi everybody,

    I'm trying to figure out how one creates an alternative sidebar for different pages.

    I have a welcome message on the main blog page opening up. However, I don't want this same content to show up on my blog articles or my menu pages.

    How does one go about changing this. Is it done through filters of some kind or is it something bigger?

    A lot of suggestions online act as if I should create my own mark-up. That's against the child theme strategy though ins't it?

    Posted 8 years ago #
  2. you could use the widget context plugin to define where certain widgets do and do not display.

    or you could filter the thematic_widgetized_areas function (in widgets-extensions) to point primary or secondary to new functions (ones that have more tightly controlled conditionals)

    or filter same function to add a totally new widget area

    Posted 8 years ago #
  3. soupking
    Member

    Cool, I'll probably need that one.

    I actually really need to make alternate pages. Is this what I should do?:

    http://codex.wordpress.org/Pages#Page_Templates

    Not totally sure if this was right to follow being in a child theme and everything.

    Posted 8 years ago #
  4. you can use page templates with child themes exactly the same way

    Posted 8 years ago #
  5. soupking
    Member

    But all the pages are in my parent theme though right? Where should I develop the page template in the child theme folder or add on in the current parent?

    EDIT:

    Wait, I can just put template PHP files in the main Thematic folder, and updates won't overwrite them right?

    Posted 8 years ago #
  6. soupking
    Member

    I also found this page on templating with a video. It's a bit older, but it worked very well to show me what to do to make a template header and page:

    http://www.wordpressmax.com/customize-wordpress/custom-page

    Not sure if there's a place I could post this for other noobs, but it's useful I think. :)

    Posted 8 years ago #
  7. you put your page templates in your child theme folder. you could put them in thematic and i doubt they'd be overwritten, but for organization i keep them in my child folder.

    when using a child theme, WP looks in your child theme's folder first. if it can't find it, THEN it looks in your parent theme's folder. this is known as template hierarchy.
    http://codex.wordpress.org/Template_Hierarchy

    this is why if you really, really, need to mess w/ header.php or page.php or something, you copy it into your child folder and make the changes there.

    Posted 8 years ago #
  8. soupking
    Member

    Ahhhh, okay. Cool that's great to know. Was sure if I had to _parent link more stuff.

    Thanks Helga!

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.