Activity

  • Tim replied to the question Can I control what shows up on the activity feed in the forum BuddyBoss Wall 8 years, 1 month ago

    i Inserted the code into function.php after inserting my webpage crashed.

    <?php
    /**
    * @package Boss Child Theme
    * The parent theme functions are located at /boss/buddyboss-inc/theme-functions.php
    * Add your own functions in this file.
    */

    /**
    * Sets up theme defaults
    *
    * @since Boss Child Theme 1.0.0
    */
    function boss_child_theme_setup()
    {
    /**
    * Makes child theme available for translation.
    * Translations can be added into the /languages/ directory.
    * Read more at: https://www.buddyboss.com/tutorials/language-translations/
    */

    // Translate text from the PARENT theme.
    load_theme_textdomain( ‘boss’, get_stylesheet_directory() . ‘/languages’ );

    // Translate text from the CHILD theme only.
    // Change ‘boss’ instances in all child theme files to ‘boss_child_theme’.
    // load_theme_textdomain( ‘boss_child_theme’, get_stylesheet_directory() . ‘/languages’ );

    }
    add_action( ‘after_setup_theme’, ‘boss_child_theme_setup’ );

    /**
    * Enqueues scripts and styles for child theme front-end.
    *
    * @since Boss Child Theme 1.0.0
    */
    function boss_child_theme_scripts_styles()
    {
    /**
    * Scripts and Styles loaded by the parent theme can be unloaded if needed
    * using wp_deregister_script or wp_deregister_style.
    *
    * See the WordPress Codex for more information about those functions:
    * http://codex.wordpress.org/Function_Reference/wp_deregister_script
    * http://codex.wordpress.org/Function_Reference/wp_deregister_style
    **/

    /*
    * Styles
    */
    wp_enqueue_style( ‘boss-child-custom’, get_stylesheet_directory_uri().’/css/custom.css’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘boss_child_theme_scripts_styles’, 9999 );

    /****************************** CUSTOM FUNCTIONS ******************************/

    // Add your own custom functions here
    this is where i inserted the code
    ?>