WordPress.org

Support

Support » Themes and Templates » [Theme: Frisco for BuddyPress] Editing the single.php template for this theme

[Theme: Frisco for BuddyPress] Editing the single.php template for this theme

Viewing 4 replies - 1 through 4 (of 4 total)
  • go to public_html > wp_content > plugins > buddypress >bp-themes > bp-default > single.php

    I think you have to do it from bp-default because frisco is a child theme of buddypress default theme. However david is the best person to answer your doubts

    apellicone
    Member

    @apellicone

    Hmmm, weird…

    I’m editing files in this directory, but not getting a result…

    angslycke
    Member

    @angslycke

    The Frisco Theme is a child theme of BP-default. If you want to change something in the theme, do that by changing the correct template file (.php file for the part of the page you want to change) in the Frisco directory. If you can’t find the file you want to change there, then copy the file you want to change from the BP-default directory and then make the changes in the Frisco folder. Make sure to retain the exact same directory structure.

    WordPress will then read the template file from the child theme (Frisco) theme directory and any future changes to BP-default will not affect your changes.

    Read up more on Child Themes and Template files here:

    http://codex.wordpress.org/Child_Themes#Template_files

    Theme Author David Carson
    Member

    @davidtcarson

    @apellicone – Make sure that single.php is the file you’re trying to edit. http://codex.wordpress.org/Template_Hierarchy

    Single.php will display the single blog post.

    @codegene and @angslycke are right on the money. Because Frisco is a child theme of bp-default, it uses templates from bp-default unless the template already exists in the Frisco theme folder.

    In this instance, there is no single.php included in Frisco and you’ll want to copy it over from bp-default and place it in the Frisco theme folder. Then make your edits to single.php in the Frisco theme folder.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Theme: Frisco for BuddyPress] Editing the single.php template for this theme’ is closed to new replies.