Get stylesheet directory problem
-
I know there are often questions about this but I’m confused by the format of the this structure. Taken from line 50 in “buddypress/groups/single/home.php”
elseif ( bp_group_is_visible() ) :
locate_template( array( ‘groups/single/members.php’ ), true );now at the moment I have copied a blank php file, which just has Test written in it, into that directory and changed the filename to this.
elseif ( bp_group_is_visible() ) :
locate_template( array( ‘groups/single/blankhome.php’ ), true );This changes the home landing page to “blankhome.php”
However, I would like this file here: “[child theme]/groups/single/blankhome.php”
I know you will need to use “get_stylesheet_uri” but I don’t know how or where to implement it.
Can anybody help.
- The topic ‘Get stylesheet directory problem’ is closed to new replies.