I would like to know if i can visit a demo site of answerbox theme.
Thank you
I loved your new theme but I have some questions in my mind. I want to know about single posts pages. This theme looks like it is just for answer and question. But I want something like that but compatibility with blog posts, news and etc. Anspress, buddypress activity and blog posts will be shown in the homepage. Is there options something like that, or is it possible to add? As I see there is only answers and questions in hompage and no connect with blog posts.
Thanks! 🙂
After updating the plugin my website is showing only fatal error….please help i didnt backup the site also
Fatal error: Cannot redeclare is_question_categories() (previously declared in /home/sree1212/public_html/wp-content/plugins/anspress-question-answer/includes/functions.php:160) in /home/sree1212/public_html/wp-content/plugins/categories-for-anspress/categories-for-anspress.php on line 568
Hello,
I want top list TOP 5 users for their ratings. How can I do it?
For example I use to list TOP 5 users by their post count this code:
<?php global $wpdb; $top_authors = $wpdb->get_results(" SELECT u.ID, count(post_author) as posts FROM {$wpdb->posts} as p LEFT JOIN {$wpdb->users} as u ON p.post_author = u.ID WHERE p.post_status = ‘publish’ AND p.post_type = ‘post’ GROUP by p.post_author ORDER by posts DESC LIMIT 0,5 "); if( !empty( $top_authors ) ) { echo '<ul style="text-align: center;">'; foreach( $top_authors as $key => $author ) { echo get_avatar( $author->ID , 45 ) . '<li style="margin-bottom: 15px;"><a href="' . get_author_posts_url( $author->ID ) . '" style="text-decoration: none;color: rgb(54, 116, 157);text-transform: capitalize;font-weight: 600;font-size: 16px;">' . get_the_author_meta( 'user_nicename' , $author->ID ) . '</a></li>'; } echo '</ul>'; } ?>