Improving a Stackoverflow “inspired” badge system to display badges in author page

get_current_user_id(); gets the current logged in user id and you need the user whos profileUrl is views so try this insted to get the right id: $author = get_user_by( ‘slug’, get_query_var( ‘author_name’ ) ); echo $author->ID;’ yep, so instead of your code try this: $author = get_user_by( ‘slug’, get_query_var( ‘author_name’ ) ); if ($author->ID > … Read more

wordpress plugin that show my reputation (points) in any stackexchange project in my wordpress blogs

I don’t know of a plugin but the easiest way is to just embed your stack flair: https://stackoverflow.com/users/flair For a more detialed solution I recommend you just fetch the Stack API using the the WordPress HTTP API, the docs are here: http://codex.wordpress.org/HTTP_API The Stack API is very easy to work with and returns JSON. For … Read more

How to use stack flair on my site?

I think it’s pretty self-explanatory, see the SE flair page. https://wordpress.stackexchange.com/users/flair Simply copy the provided HTML and paste it into the appropriate template file. I didn’t down vote, but i can understand why, this is really basic copy and paste HTML..

tech