Okay, I’m going on the assumption that the real question is “how do I get Thematic to add the post-format to its body classes?”
Try this in your functions.php:
function my_thematic_post_format_class( $classes = array() ) {
$format = get_post_format();
if ( '' == $format )
$format="standard";
$classes[] = 'format-' . $format;
return $classes;
}
add_filter( 'post_class', 'my_thematic_post_format_class' );
Don’t override the thematic post class functions. Just add that filter, and you should be good.
Related Posts:
- How to *remove* a parent theme page template from a child theme?
- How do I make my child theme re-apply the settings that were customised when its parent was active?
- How to Add Customizer Setting in Child Theme
- Create a customizable child theme
- How to show only Standard Format post in my custom taxonomy page -wordpress 3.8.1
- Add URL field to the link post format
- How can I & how do I change text displayed in comment via child theme
- How to build a child theme from a react-based parent theme?
- Customizing default Mediaelement player
- Child Theme – how to add new widget on a specific place?
- How do I call in a category title on a category page in a child theme?
- Is it possible to add a ribbon in the background of h1 on every page?
- Include custom JS without child theme
- Child theme .css files are not overriding their parent .css files
- Child Theme with multiple css files
- How to get Related Custom Posts?
- How do I remove a customiser option from a parent theme in a child theme?
- CSS Styling a specific page
- Is there a way to override require_once of the main theme on the child theme?
- Load File (Function & Variable Value) from Child Theme
- Changes in my child theme from customizer not appearing in style.css?
- Is there another way to customize a parent template file besides adding the file to a child theme?
- css media query question [closed]
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- WordPress Child Theme Stylesheet being loaded before Parent’s minified .css
- Make tag archive display post are ordered by post format
- How to add functionality to an existing theme (using child themes)
- How to Render Post Types in RSS Feed?
- WordPress 3.1.2 Bug: add_theme_support() and video post format registering twice
- Changing update message from Newspaper child theme
- javascript file not working in a plugin template file
- Easily add custom HTML outside the main container?
- Trying to customise 2011 Child Theme Background Colour
- WordPress core jquery version file not loaded?
- How can error pages be customized
- Issue with navigation bar in child theme
- Fixed bottom menu on mobile doesn’t work on search included in Child Theme of Storefront
- Unhook a function within a class in the child theme
- Calling get_theme_mod() of an WP_Customize_Image_Control() returns an Array, how do I correctly return the image src for my custom theme?
- If a theme will undergo major changes would it be better to clone the parent instead of writting a child theme?
- How do I move my sites to a child theme without loosing customisation?
- Change post template the proper way
- Why, when it comes to custom background and image, does ‘The first value registered’ win?
- Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [closed]
- Changes in comments.php in the child theme does not show up on the site
- Word Press Theme Customiser and Child theme Function.php
- Modifying posts based on category in TwentyTwentyTwo theme
- What Is The Use Of map_meta_cap Filter?
- How to disable page delete
- How to update the delete user confirmation form?
- Need logged in users returing to site redirected to a separate page
- Widgets vs. Theme Mods
- Posts not showing with custom categorybase and subcategories [closed]
- Best way to pass arguments to another page in WordPress
- register_sidebar ‘after_widget’ on custom-built widgets not implementing, caused nested widgets
- Rebuild vs Upgrade – need pointers, advice
- Can I develop a WordPress site without a domain?
- How to extend customize control types to list pages
- How to get rid of from overbooking car rental website [closed]
- Programmatically (PHP) get the nr. of items in the primary navigation menu
- Multi Site installation inside a sub domain inside a sub directory
- How to create left and right menu with logo center in a custom theme?
- Custom post type adds time/date and author to the post?
- How to use default WP form elements to interact with custom DB table?
- REQUIRED: Could not find wp_link_pages. See: wp_link_pages by Theme Checker
- How do I add a promotional message to my posts?
- NextGEN Gallery – open all images on page in fancybox [closed]
- How to stop displaying the Id without losing the functionality
- “woocommerce_form_field()” function having issues after latest woocommerce update [closed]
- buddypress remove username from autocomplete
- When should I not use WordPress? [closed]
- How do I change the element using a custom function?
- How can i create menu like in the example?
- Can readers download zip files from WordPress sites?
- Create a custom admin panel
- Translate custom template with WPML
- Any Good WordPress Client Like Live Writer To Create Static Pages
- WordPress homepage hangs in IE browsers
- How to setup a membership system in WordPress?
- How can I resolve a .htaccess internal server error setting up a WordPress multisite?
- Product page not found if product data is set Appointment Service
- I want to embed mystream video in my wordpress site
- Avoid showing the same phrase in the loops
- Custom permalink structure for posts in certain categories
- Replace an URL with an new URL which has a “?” in it
- Creating a dynamic URL for an external link inside content
- Child Theme – Changing Header
- remove or hide Link Relationship (XFN) form Menus tab
- Changing ‘Add to cart’ button text and relink for some specific products [closed]
- adding a custom time class to in theme twenty sixteen
- ‘str_replace’ and ‘strtr’ not working inside plugin
- How to use hook admin_init for add_action for custom post type column
- Edit a custom admin page
- WordPress uploads directory. Featured Images storage
- Cannot upload to S3 using CDN Sync Tool
- Custom Import with taxonomies
- Upgrade to 3.1.1 Fails
- Very Simple Geo targeting
- Consolidate ‘add-to-cart’ buttons into one ‘add-all-to-cart’ button
- Update to WordPress 4.9.2, but have heavily customized theme