Reply To: Reply To: Reply To: Reply To: Reply To: Reply To: child buddypress
Thanks for your help.I has builded the child theme of bp child with 2 folders as the instruction.
And add the codes to style.css
/*
Theme Name: BP Child
Tags: buddypress
Template: bp-default
*/
And add the code to functional.php
if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
function bp_dtheme_enqueue_styles() {
// You should bump this version when changes are made to bust cache
$version = ‘20111109’;
// Register stylesheet of bp-dusk child theme
wp_register_style( ‘bp-dusk’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );
// Enqueue stylesheet of bp-dusk chid theme
wp_enqueue_style( ‘bp-dusk’ );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_styles’ );
Then i appended the changing css codes to child theme style.css
.content-wrapper-inner {
background-color: black;
}
BUT nothing has changed.
And
where should i do to show the post&topic time and date use the code of https://codex.wordpress.org/Function_Reference/the_time