Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • in reply to: Styling Broken #43983
     st
    Participant
    This reply has been set as private.
    in reply to: Bug: Member's Page Pagination #21428
     st
    Participant

    Yup. Long story short a plugin was changing bp_ajax_querystring from a string to an array. Arrays are supported and the plugin was working on other areas of the site. It was only causing problems for the member directory page.

    COPY CODE
    add_filter('bp_ajax_querystring', 'test', 11, 2);
    
    function test($query_string)
    {
    	return wp_parse_args($query_string);
    }
    in reply to: SQUEEN_OPTIONS_URL and WP_CONTENT_DIR #21305
     st
    Participant

    define('SQUEEN_OPTIONS_URL', get_template_directory_uri() . '/framework/options/');

    has the same output as

    define('SQUEEN_OPTIONS_URL', get_bloginfo('template_directory') . '/framework/options/');

    so it works but the FontAwesome icons do not appear in Internet Explorer or FireFox. I am using this as a temporary workaround:

    COPY CODE
    wp_deregister_style('font-awesome');
    wp_enqueue_style('font-awesome-cdn', '//maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css');
    in reply to: SQUEEN_OPTIONS_URL and WP_CONTENT_DIR #21295
     st
    Participant

    I was able to fix the Font Awesome issue by loading it from the CDN instead:

    COPY CODE
    wp_deregister_style('font-awesome');
    wp_enqueue_style('font-awesome-cdn', '//maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css');

    I still think it would be wise to apply the changes from the original post to the theme so it will support WP_CONTENT_DIR and WP_CONTENT_URL.

Viewing 4 posts - 1 through 4 (of 4 total)

Log in with your credentials

Forgot your details?