ThemeShaper Forums » Thematic

[closed]

Change order of widgets in settings, Change description of Thematic Widgets

(3 posts)
  • Started 11 years ago by hlynnt
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. hlynnt
    Member

    I want to make the child theme user friendly so...

    I have created a couple custom widgets and I want them to display in the widgets settings area above the Thematic widgets, in the order that they apear on the page. I would also like to customize the widget description of a couple Thematic widgets.

    "The primary widget area, most often used as a sidebar." and change to something a bit more relavent to how the widget is actually being used.

    this is my starting point...
    childtheme_override_init_presetwidgets()

    any suggestions? If there is a post out there somewhere on how to do this point the way!

    Otherwise, I'll figure out how to do it and post the solution.

    Thanks!

    Posted 11 years ago #
  2. hlynnt
    Member

    I also want to make it so that the end user can't delete the Thematic theme from the themes folder...

    Posted 11 years ago #
  3. filter thematic_widgetized_areas instead. you can see the full array in library/extensions/widget-extensions.php

    put this in your child's functions.php

    function kia_change_widgets($widgets){
    	$widgets['Primary Aside']['args']['description'] = "This widget loves bacon";
    	return $widgets;
    }
    add_filter('thematic_widgetized_areas','kia_change_widgets');

    the second part... not so sure of. you can make it so that the other users aren't admins

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.