Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Daggerhart

    (@daggerhart)

    Hi,

    The Theme Compatibility setting has much to be desired. I’ll be making a new setting named “Better Theme Compatibility” soon.

    If you are a developer (html/php), I recommend disabling that setting and using the widget templates instead.

    Do the following; copy widget-wrangler/templates/widget-1x.php to your theme’s directory and rename it to widget.php. Edit the html as you want “default” widgets to appear. Then, if you need to customize a specific widget or corral of widgets, you can use the template suggestions to override the default widget.php template.

    You can find template suggestions in the Advanced Help box for a single widget.

    Example:

    widget--corral_footer.php – will be used for all widgets in the footer corral, unless a more specific template is found.
    widget--36.php – will be used for only the widget with the post id of 36.

    You can get better template suggestions for a widget by setting the Preview Corral Context in the Preview box and saving the widget. You don’t have to set the context for the suggestions to work, it’s just a way for you to see the suggestions in the Advanced Help box.

    Let me know how this goes. If you don’t like this approach, keep an eye out for the new Better Theme Compatibility setting coming soon.

    Thanks,
    Jonathan

Viewing 1 replies (of 1 total)
  • The topic ‘Every widget has the same ID’ is closed to new replies.