Forum Replies Created
-
Author
-
stParticipant
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 CODEadd_filter('bp_ajax_querystring', 'test', 11, 2); function test($query_string) { return wp_parse_args($query_string); }
stParticipantdefine('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 CODEwp_deregister_style('font-awesome'); wp_enqueue_style('font-awesome-cdn', '//maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css');
stParticipantI was able to fix the Font Awesome issue by loading it from the CDN instead:
COPY CODEwp_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.
-
AuthorPosts