Child Theme/Functions
-
Hello, thanks for looking. I am using the most current versions of WP and BP. I have not linked my site here because it it still under development.
I am having trouble getting the functionsphp in my child theme to work. I am trying to limit the activity loop, and have found the bp_has_activities function, but when I try to use it in my child theme I just get an error. I am very new to wordpress, and know it is something simple and stupid stopping me. This is all the that is in the child theme php….
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );}
<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&object=updates,posts,comments’ ) ) : ?>Can somebody please tell me what I’m doing wrong?
Thanks
- The topic ‘Child Theme/Functions’ is closed to new replies.