Use of antispambot with $curauth->email

As the Codex states for the antispambot() function: Return Values (string) Converted email address. You have to do one of the following: echo antispambot( $curauth->publicemail ); // OR… print antispambot( $curauth->publicemail ); So your full example would look like the following: if ( ! empty( $curauth->publicemail ) ) { echo ‘Email <a href=”https://wordpress.stackexchange.com/questions/43732/mailto:”.antispambot( $curauth->publicemail ).’?subject=Webmail”> … Read more

Pagination in author, category, archive and tags pages does not work

This looks like a simular issue to this one with wp-pageNavi: http://scribu.net/wordpress/wp-pagenavi/right-way-to-use-query_posts.html. Taxonomies and archives should use ‘page’, not ‘paged’ so use that in the urls to begin with. Then, to ensure your pagination script works in all locations you can change the way you get your $paged variable. Something like this should do it: … Read more

Display all authors in a theme template

What you need here is to shuffle all the array elements & then display them. But since php’s shuffle() function doesn’t preserve array key associations, here’s a version that does. function shuffle_assoc(&$array) { $keys = array_keys($array); shuffle($keys); foreach($keys as $key) { $new[(string)$key] = $array[$key]; } $array = $new; return true; } Add this function somewhere … Read more

techhipbettruvabetnorabahisbahis forumutaraftarium24edusedueduedusedueduseduseduedusedu