Jump to content


Welcome to the forum:

Welcome to the iThemes, PluginBuddy and WebDesign.com forum. We've created several tutorial video's to help you get you started with using the forum, please check them out!

Also take note of the forum guidelines.


Support hours:

Our moderators actively respond to forum support requests during normal business hours which are Monday-Friday, 8am - 5pm Central Standard Time, typically within one business day. Although some moderators choose to work during the weekends, we can not guarantee immediate attention to your requests. Thanks for understanding.

What is included with support:

Premium support includes theme/plugin issues such as: bugs encountered under normal operation, how to use basic features, basic WordPress help, and basic help with customization (meaning we point you to resources and will help in more depth as time allows). More information.

Titanium Theme: Sidebar Registration Code

titanium register_sidebar

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 Guest_Brandon Dove_*

Guest_Brandon Dove_*
  • Guests

Posted 14 November 2012 - 01:37 PM

I was working on a site for someone who's using the Titanium theme. I just wanted to give you some feedback on something that was a pain point for us during development.

In your sidebar registration code, you don't make use of the string formatting placeholders for widget ids and classes. As you can see in the codex entry here: http://codex.wordpress.org/Function_Reference/register_sidebar#Parameters, the before_widget argument allows for sprintf type formatting. This allows for some really specific css selectors where necessary. It would be nice to see you guys implement these. I've provided example code for Titanium below.

See modified code here:
https://gist.github.com/4074102

thanks!
Brandon

#2 Ronald

Ronald

    Forum Admin

  • Administrators
  • Others: All Plugins, All Themes, Moderators, Webdesign
  • 30,713 posts

Posted 14 November 2012 - 03:13 PM

Thanks Brandon,

Join the iThemes Builder Community on Google+.



To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. Please also read the forum guidelines.



When asking your question/posting your request on the forum, please be as concise and specific as possible. The shorter your request, the more to the point, the more specific, the easier it will be for us to try and help out.