Archive | Documentation RSS feed for this section

twentyten_setup

Sets up theme defaults and registers support for various WordPress features.Note that this function is hooked into the after_setup_theme hook, which runs before the init hook. The init hook is too late for some features, such as indicating support post thumbnails.

3113

Continue reading

twentyten_remove_recent_comments_style

Removes the default styles that are packaged with the Recent Comments widget.To override this in a child theme, remove the filter and optionally add your own function tied to the widgets_init action hook.

3111

Continue reading

twentyten_remove_gallery_css

Deprecated way to remove inline styles printed when the gallery shortcode is used.This function is no longer needed or used. Use the use_default_gallery_style filter instead, as seen above.

3109

Continue reading

twentyten_page_menu_args

Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.To override this in a child theme, remove the filter and optionally add your own function tied to the wp_page_menu_args filter hook.

3105

Continue reading