Skip to:
Content
Pages
Categories
Search
Top
Bottom

CSS code for integration of BuddyPress with DW Question & Answer


  • margmacd
    Participant

    @margmacd

    Hello

    I am in the process of following the instructions at https://www.designwall.com/guide/dw-question-answer-plugin/buddypress-integration/ for integration of BuddyPress with DW Question & Answer. As I do not host my own site, there are issues about me editing my functions.php file or even creating a child theme functions.php file. I would like instead to add code using the Additional CSS area in my dashboard. However, when I copy-paste the recommended code

    include_once get_template_directory().’/buddypress/bp-custom.php’;

    into this area, multiple errors are reported as follows:

    Expected LBRACE at line 5, col 14
    Unexpected token ‘get-template_directory(‘ at line 5, col. 14.
    Unexpected token ‘)’ at line 5, col 37.
    Expected INDENT at line 5, col. 39.

    I am in turn advised of the following:

    There are 4 errors which must be fixed before you can save.

    Update anyway, even though it might break your site?

    I would be grateful for help in correcting the above line of code. It is not possible to contact the creator of DW Question & Answer directly via their website, as they demand payment of an annual fee in the first instance.

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar