THEMATIC_COMPATIBLE_FEEDLINKS
which defaults to false
. In this case the WordPress functions add_theme_support( 'automatic-feed-links' )
is used. If you set it to TRUE, Thematic will use its own functionality. This is a requirement by the Theme Review Team.thematic_body()
to header.php defined in dynamic-classes.php childtheme_override_body()
defined in dynamic-classes.phpthematic_body_open()
defined in dynamic-classes.phpbody_class()
. Menu will now display properly with the Test Data.THEMATIC_COMPATIBLE_COMMENT_FORM
which defaults to false
. In this case the WordPress function comment_form()
is used. If you set it to TRUE, Thematic will use its own functionality. This is a requirement by the Theme Review Team.body_class()
. Menu will now display properly with the Test Data.THEMATIC_COMPATIBLE_POST_CLASS
which defaults to false
. In this case the WordPress function post_class()
is used. If you set it to TRUE, Thematic will use its own function thematic_post_class()
. This is a requirement by the Theme Review Team.THEMATIC_COMPATIBLE_BODY_CLASS
which defaults to false
. In this case the WordPress function body_class()
is used. If you set it to TRUE, Thematic will use its own function thematic_body_class()
. This is a requirement by the Theme Review Team.bloginfo('siteurl')
& get_bloginfo('siteurl')
with site_url()
body_class
to thematic_body_class
.thematic_404()
childtheme_override_access()
.>
for the post_class part.thematic_show_bodyclass
. The body tag will now be created, if a filter returns false
.add_theme_support('menu')
according to Andrew Nacin.thematic_post_thumb_size
in thematic_content()thematic_post_thumb_attr
in thematic_content()thematic_post_thumbs
Default TRUE in thematic_content()thematic_content()
excerptsadd_theme_support( 'post-thumbnails' )
as required by WP Theme Dev Checklistthematic_is_custom_post_type()
thematic_show_bc_taxonomyarchives
Default Truethematic_page_title()
thematic_get_term_name()
for retrieving custom taxonomy name Credit Justin Tadlock thematic_search_form()
add_theme_support( 'automatic-feed-links' )
.get_the_author()
.page-...
to template-page-...
according to 4.5.4 Custom Template Naming Conventions and adjusted the CSS files.trackback_url()
to get_trackback_url()
.is_sidebar_active()
in favor of is_active_sidebar()
.thematic_nav_menu_args()
.wp_page_menu
if theme location has no menuthematic_init_navmenu
registers the theme location for our menu. Override: childtheme_override_init_navmenu
thematic_primary_menu_name
filters the menu name 'Primary Menu'.thematic_primary_menu_id
filters the menu id 'primary-menu'.add_theme_support( 'nav-menus' )
to add_theme_support( 'menus' )
.theme-options.php
.thematic_init_presetwidgets()
to initialize the preset widgets. Override function: childtheme_override_init_presetwidgets()
thematic_content_init()
to set up new post classes.childtheme_override_content_init()
overrides thematic_content_init
thematic_get_excerpt
to thematic_content()
thematic_search_form()
in widgets-extensions.php
. Credits: Aaron Jorbinchildtheme_override_doctitle()
overrides thematic_doctitle
childtheme_override_head_scripts()
overrides thematic_head_scripts
childtheme_override_brandingopen()
overrides thematic_brandingopen
childtheme_override_blogtitle()
overrides thematic_blogtitle
childtheme_override_blogdescription()
overrides thematic_blogdescription
childtheme_override_brandingclose()
overrides thematic_brandingclose
childtheme_override_access()
overrides thematic_access
childtheme_override_subsidiaries()
overrides thematic_subsidiaries
childtheme_override_siteinfoopen()
overrides thematic_siteinfoopen()
childtheme_override_siteinfo()
overrides thematic_siteinfo()
childtheme_override_siteinfoclose()
overrides thematic_siteinfoclose()
thematic_abovecomment
and thematic_belowcomment
Credits: heaven.childtheme_override_commentmeta
overrides thematic_commentmeta()
thematic_commentmeta()
to discussion.php
. Credits: heavenchildtheme_override_body_class()
overrides thematic_body_class()
childtheme_override_post_class()
overrides thematic_post_class()
childtheme_override_comment_class()
overrides thematic_archive_loop()
childtheme_override_author_loop()
overrides thematic_comment_class()
childtheme_override_date_classes()
overrides thematic_date_classes()
thematic_open_wrapper
to the header.php
. This filter defaults to true
.thematic_close_wrapper
to the footer.php
. This filter defaults to true
.childtheme_override_page_title()
overrides thematic_page_title()
childtheme_override_nav_above()
overrides thematic_nav_above()
childtheme_override_archive_loop()
overrides thematic_archive_loop()
childtheme_override_author_loop()
overrides thematic_author_loop()
childtheme_override_category_loop()
overrides thematic_category_loop()
childtheme_override_index_loop()
overrides thematic_index_loop()
childtheme_override_single_post()
overrides thematic_single_post()
childtheme_override_search_loop()
overrides thematic_search_loop()
childtheme_override_tag_loop()
overrides thematic_tag_loop()
childtheme_override_postheader()
overrides thematic_postheader()
childtheme_override_postheader_posteditlink()
overrides thematic_postheader_posteditlink()
childtheme_override_postheader_posttitle()
overrides thematic_postheader_posttitle()
childtheme_override_postheader_postmeta()
overrides thematic_postheader_postmeta()
childtheme_override_postmeta_authorlink()
overrides thematic_postmeta_authorlink()
childtheme_override_postmeta_entrydate()
overrides thematic_postmeta_entrydate()
childtheme_override_postmeta_editlink()
overrides thematic_postmeta_editlink()
childtheme_override_content()
overrides thematic_content()
childtheme_override_archivesopen()
overrides thematic_archivesopen()
childtheme_override_category_archives()
overrides thematic_category_archives()
childtheme_override_monthly_archives()
overrides thematic_monthly_archives()
childtheme_override_archivesclose()
overrides thematic_archivesclose()
childtheme_override_404_content()
overrides thematic_404_content()
childtheme_override_postfooter()
overrides thematic_postfooter()
childtheme_override_postfooter_posteditlink()
overrides thematic_postfooter_posteditlink()
childtheme_override_postfooter_postcategory()
overrides thematic_postfooter_postcategory()
childtheme_override_postfooter_posttags()
overrides thematic_postfooter_posttags()
childtheme_override_postfooter_postcomments()
overrides thematic_postfooter_postcomments()
childtheme_override_postfooter_postconnect()
overrides thematic_postfooter_postconnect()
childtheme_override_nav_below()
overrides thematic_nav_below()
childtheme_override_previous_post_link()
overrides thematic_previous_post_link()
childtheme_override_next_post_link()
overrides thematic_next_post_link()
childtheme_override_author_info_avatar()
overrides thematic_author_info_avatar()
childtheme_override_cats_meow()
overrides thematic_cats_meow()
childtheme_override_tag_ur_it()
overrides thematic_tag_ur_it()
wp_nav_menu()
.thematic_menu_type
to switch between wp_page_menu()
and wp_nav_menu()
. Defaults to wp_page_menu()
.thematic_nav_menu_args
to filter the arguments for wp_nav_menu()
.thematic_page_menu_args
to filter the arguments for wp_page_menu()
.thematic_use_superfish
to prevent the use of Superfish for the menu.thematic_show_bc_blogid
to prevent the BODY class blogid-n
. blogid-n
.thematic_abovepost
and thematic_belowpost
.thematic_abovecontent
and thematic_belowcontent
.sf-menu
will be created only for the wp_page_menu()
in the header.#trackbacks-list .comment-content
to left:-10000px;
in default.css
. Fixes a glitch with the 'Many Tackbacks' post (WordPress Test Data).$version
to $thm_version
to prevent a collision with WP E-Commerce.thematic_before_widget()
and thematic_after_widget()
from Search Widgetthematic_comments_template()
Added two new hooks:
thematic_abovecontainer()
thematic_belowcontainer()
Thematic prevents the creation of the WordPress Generator. This can be filtered using a filter for thematic_hide_generators
. Return TRUE
and the WordPress Generator will be created.
Added some filters to comments.php
:
thematic_singlecomment_text
.thematic_multiplecomments_text
.thematic_postcomment_text
.thematic_postreply_text
.thematic_commentbox_text
.thematic_commentbutton_text
.Split up thematic_postheader()
and thematic_postfooter()
into sub-functions. With these new functions it is easier to rearrange the displayed data.
thematic_postheader()
thematic_postheader_posttitle()
thematic_postheader_postmeta()
thematic_postmeta_authorlink()
thematic_postmeta_entrydate()
thematic_postmeta_editlink()
thematic_postfooter()
thematic_postfooter_posteditlink()
thematic_postfooter_postcategory()
thematic_postfooter_posttags()
thematic_postfooter_postconnect()
thematic_postfooter_postcomments()
The several parts of the body class can be switched off using the following filters:
thematic_show_bodyclass
(master switch)thematic_show_bc_wordpress
thematic_show_bc_datetime
thematic_show_bc_contenttype
thematic_show_bc_singular
thematic_show_bc_singlepost
thematic_show_bc_authorarchives
thematic_show_bc_categoryarchives
thematic_show_bc_tagarchives
thematic_show_bc_pages
thematic_show_bc_search
thematic_show_bc_loggedin
thematic_show_bc_browser
<head profile="http://gmpg.org/xfn/11">
can be filtered using thematic_head_profile
.
Complete rewrite of the widget areas:
The widget areas are now controlled by the $thematic_widgetized_areas
array. This is the basic layout:
$thematic_widgetized_areas = array(
'Primary Aside' => array(
'admin_menu_order' => 100,
'args' => array (
'name' => 'Primary Aside',
'id' => 'primary-aside',
'description' => __('The primary widget area, most often used as a sidebar.', 'thematic'),
'before_widget' => thematic_before_widget(),
'after_widget' => thematic_after_widget(),
'before_title' => thematic_before_title(),
'after_title' => thematic_after_title(),
),
'action_hook' => 'widget_area_primary_aside',
'function' => 'thematic_primary_aside',
'priority' => 10,
),
)
Using this array you can remove unnecessary widget areas with a filter before these are created:
function remove_widget_area($content) {
unset($content['Primary Aside']);
return $content;
}
add_filter('thematic_widgetized_areas', 'remove_widget_area');
Note: This will completely remove a widget area. Do not use this functionality with conditional tags to remove a widget area from a certain page / post.
A widget area can be renamed:
function rename_widget_area($content) {
$content['Primary Aside']['args']['name'] = 'My first Sidebar';
return $content;
}
add_filter('thematic_widgetized_areas', 'rename_widget_area');
Display a widget area based on a conditional tag:
// First we create a new function to display the secondary aside only on pages:
function childtheme_secondary_aside() {
if (is_page()) {
if (is_sidebar_active('secondary-aside')) {
echo thematic_before_widget_area('secondary-aside');
dynamic_sidebar('secondary-aside');
echo thematic_after_widget_area('secondary-aside');
}
}
}
// ... and then ... without removing an action or so:
function change_secondary_aside($content) {
$content['Secondary Aside']['function'] = 'childtheme_secondary_aside';
return $content;
}
add_filter('thematic_widgetized_areas','change_secondary_aside');
Create several widget areas that will be displayed on a certain position based on conditional tags:
function change_secondary_aside($content) {
$content['Secondary Aside']['function'] = 'childtheme_secondary_aside';
$content['Secondary Aside Pages'] = array(
'admin_menu_order' => 201,
'args' => array (
'name' => 'Secondary Aside Pages',
'id' => 'secondary-aside-pages',
'description' => __('The secondary widget area for pages.', 'childtheme'),
'before_widget' => thematic_before_widget(),
'after_widget' => thematic_after_widget(),
'before_title' => thematic_before_title(),
'after_title' => thematic_after_title(),
),
'action_hook' => 'thematic_secondary_aside',
'function' => 'childtheme_secondary_aside',
'priority' => 10,
);
return $content;
}
add_filter('thematic_widgetized_areas','change_secondary_aside');
function childtheme_secondary_aside() {
if (is_sidebar_active('secondary-aside') && is_sidebar_active('secondary-aside-pages')) {
echo thematic_before_widget_area('secondary-aside');
if (is_page()) {
dynamic_sidebar('secondary-aside-pages');
} else {
dynamic_sidebar('secondary-aside');
}
echo thematic_after_widget_area('secondary-aside');
}
}
thematic_page_title()
not displaying a correct title in attachement.phpthematic_create_robots()
.