I think this is a great idea. We have a client who’s wanting to create a forum where her users can ask “Dear Abbey” type of questions. These usually involve information that’s private, or uncomfortable for the women (those dealing with breast cancer or sickness, etc). It would be nice if they could have the option of: Posting a question anonymously without having to go through the hassle of registering. (Of course they wouldn’t get an email notification, but that’s okay) Posting a question as anonymous but being registered so they are emailed the answer, activity, etc. Again, it would be nice if the user could choose which they wanted. Thanks for a great plugin. We’re using another one right now, but if users could choose to post anonymously with your plugin we’d switch and buy it immediately. Have a great weekend and keep up the great work.
How to Hide tags, Provide Margin in Mobile & Increase Questions text size in question page in Mobile
and for Margin ? Plz give the relevant code
How to Hide tags, Provide Margin in Mobile & Increase Questions text size in question page in Mobile
As I remember I have already answered your first question. You just have to put my given code into style.css of your theme. For increasing text size, simply add this to your style.css: @media only screen and (max-width: 767px) { #anspress .ap-questions-title { font-size: 16px; } }
Please disable Akismet check in AnsPress option->moderate
Hello, i had the same problem. In my case the problem was in the file functions.php this were my problem, i hope this will help you: function my_smart_search( $search, &$wp_query ) { global $wpdb; if ( empty( $search )) return $search; $terms = $wp_query->query_vars[ 's' ]; $exploded = explode( ' ', $terms ); if( $exploded === FALSE || count( $exploded ) == 0 ) $exploded = array( 0 => $terms ); $search = ""; foreach( $exploded as $tag ) { $search .= " AND ( (wp_posts.post_title LIKE '%$tag%') OR (wp_posts.post_content LIKE '%$tag%') OR EXISTS ( SELECT * FROM wp_comments WHERE comment_post_ID = wp_posts.ID AND comment_content LIKE '%$tag%' ) OR EXISTS ( SELECT * FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_term_taxonomy.term_id = wp_terms.term_id INNER JOIN wp_term_relationships ON wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id WHERE taxonomy = 'post_tag' AND object_id = wp_posts.ID AND wp_terms.name LIKE '%$tag%' ) )"; } return $search; } add_filter( 'posts_search', 'my_smart_search', 500, 2 ); function buscador_mostrar_solo_posts($query){ if ($query->is_search) { $query->set(‘post_type’, ‘post’); } return $query; } add_filter(‘pre_get_posts’, ‘buscador_mostrar_solo_posts’);
I didn’t realised about the possibility of using the sidebar widget areas of anspress. That’s great.