Can I create multiple instances of the BuddyPress Activity Stream with separate themes? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic. Closed 8 years ago. Improve this question I’m trying to … Read more

Overwrite Parent Theme add_image_size in Child Theme

I’m using a child theme of a parent theme. Now on my parent theme, theveloper adds some custom image sizes like this – if ( function_exists( ‘add_image_size’ ) ) { add_image_size( ‘blog_feat_img’, 1300 ); add_image_size( ‘latest_posts_widget_feat_img’, 720 ); add_image_size( ‘portfolio_widget_feat_img_1x’, 600 ); add_image_size( ‘portfolio_widget_feat_img_2x’, 900 ); } Now I want to change the values is … Read more

Recommended way to load / enqueue parent and child stylesheet to enable cache busting

After reading several posts here (including [1] and [2]) and testing with WordPress 4.5.3 using Twenty Sixteen as parent theme, I think the following (in functions.php) code must be correct: function childtheme_enqueue_styles() { $parent_style=”twentysixteen-style”; wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ ); wp_enqueue_style( ‘childtheme-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( $parent_style ), wp_get_theme()->get(‘Version’) ); } add_action( ‘wp_enqueue_scripts’, ‘childtheme_enqueue_styles’ ); … Read more