11 Responses

  1. Rarst Rarst August 20, 2009 at 12:39 am |

    On topic of figuring out hooks, I had quite a bit of trouble at start with Hybrid (didn’t know much about hooks overall) and made function to show what is hooked to what. It made into wprecipes, catswhocode and smashingmagazine posts by now. Seems many find it convenient to see list of wth is going on inside hook. :)

    http://www.wprecipes.com/list-all-hooked-wordpress-functions

    Latest version is better at filtering so I usually set it to show hooks that start with hybrid and output at the bottom of page.

    Thinking about making widget out of it for debug purposes.

  2. Sam Sam September 7, 2009 at 5:02 pm |

    A is_sidebar_active filter allowing a child theme or plugin to activate or deactivate sidebars independently of the widgets inside them would be very useful.

    Thank you for your work on this terrific theme.

  3. Sam Sam September 7, 2009 at 7:06 pm |

    Is there a way to activate a Thematic sidebar (widget area) even if it’s currently empty of widgets?

    I was trying to add a menu to the sidebar via the hybrid_before_primary hook, but I realized the hook action isn’t actually called unless there are widgets there already.

    I guess I can write my own widget instead, if that’s the way to do it.

  4. websiter websiter September 11, 2009 at 2:52 pm |

    Not sure if this is the right place to ask this…
    I noticed the notification system on themehybrid.com. I was wondering if that’s already part of Hybrid Framework, where can it be enabled/disabled from and what would be the right way to do it.

    If it’s not, I’m sure there’s a lot of people who would cheer it’s implementation.

  5. sam sam October 16, 2009 at 12:02 pm |

    Could you add a hook to control the showing of the comments template?

    You could either convert the comments_template() call to a default Hybrid action that could be moved or removed, or you could call it with a boolean filter like

    apply_filters( 'hybrid_show_comments', true ) and comments_template( '', true );

    to allow toggling it.

    It would help publishers who don’t use comments at all save a few database queries.

  6. sam sam October 21, 2009 at 4:51 pm |

    I don’t see any WP hook to remove or cancel the `comments_template()` function call.

    `comments_template()` will always query the database for comments if it’s called during a single post/Page request — you can check with var_dump or SAVEQUERIES — it just won’t include the comments template file if it finds zero comments.

Comments are closed.