Marlus Araujo
Forum Replies Created
-
Forum: Plugins
In reply to: [Social Connect] buddypress and bbpress integrationI managed to solve the special characters problem making utf8_decode()
$sc_first_name = utf8_decode($fb_json->{ 'first_name' });
$sc_last_name = utf8_decode($fb_json->{ 'last_name' });
Forum: Plugins
In reply to: [Social Connect] buddypress and bbpress integrationHello there. I’m using the plugin with buddypress and bbpress. This is a very good plugin!
The only problem until now is character encoding of people’s name. Names with special characters (like ??áé?…) are creating users with strange characters.
How can it be fixed?
Thank you!
Hi there, the problem still persists, but just when I’m logged in. I discovered that when I’m logged out, everything is OK. Not solved yet…
hello @scribu, as you described above, I created a WP_query inside my taxonomy-arquivos.php template with include_children set to false:
$args = array( 'orderby' => ($term->parent) ? 'date' : 'rand', 'post_status' => 'publish', 'tax_query' => array( array( 'taxonomy' => 'arquivos', 'field' => 'slug', 'terms' => get_query_var( 'term' ), 'include_children' => false ) ) ); $the_query = new WP_Query( $args ); while( $the_query->have_posts() ) { $the_query->the_post();
But when I click on a post and navigate, I still get some posts of a children taxonomy.
Forum: Themes and Templates
In reply to: hi need some help regarding wp-pagenavi pluginYou can also have pagination without plugin: https://goo.gl/njhZ
Forum: Plugins
In reply to: Regenerate Thumbnails or Clear Cache?I think it could be an extra option to delete all thumbnails generated. On large sites with lots of images could be much better to re-generate the thumbnails on demand. but then, I found this forum post on that: https://goo.gl/HIhNw