Hi,

I seem to be having the same problem as this question:

https://anspress.io/questions/question/showing-posts-instead-of-questions/

I think the answer to the question above is very unhelpful so maybe you can update the answer for this user with the fix below?

 

I’m using WP_Query in many other places in my theme and plugins where I set the post_type var and it is all working fine except for AnsPress. AnsPress is listing all my posts (where post_type=’post’). It is also listing posts which are in trash/draft.

It is strange that none of my questions are listed in the base page, only my posts. I was previously using DWQA plugin which worked fine for me but I prefer the Recaptcha support that your plugin offers.

 

The cause of the problem seems to be somewhere around this area…

common-pages.php line 40:

if ( false !== $keywords ) { $args[’s’] = $keywords; }

I changed this line to:

if ( ” !== $keywords ) { $args[’s’] = $keywords; }

 

Also if I try and search the questions, my theme searches and displays results from all posts and no questions using the theme’s search and not AnsPress search. I think this is related to the issue above so the Valenti theme requires additional support.

It could be possible that get_search_query() conflicts with Valenti theme.

seeing this code where the reply box would normally be if the user is logged out:

 
[theme-my-login default_action=”login” before_title=”
” after_title=”
” show_reg_link=0 show_pass_link=0]
[theme-my-login default_action=”register” before_title=”
” after_title=”
” show_log_link=0 show_pass_link=0]

Make a free theme:

Remake the butt attach a file all the way down!

 

<span lang="en">Create an anspress option: insert pdf and word</span>

Hi all!

It has been a while I have this issue but since I had a lot of things to change on my website (including theme), I preferred to wait before getting some help. My problem is that the TiniMCE formatting icons (bold, italic,…) are not showing on my answer form (they are showing up fine on the ask a question page). When you click, you get the Ajax loading and then there is the text field that stills allow oneself to post an answer but without formatting. I checked previously asked questions about the matter or even the FAQ (this page) but nothing seems to solve my problem.

Since it’s quite an old problem and I remember there were issues with the editor before, do you know of any file that I might have overridden at that time and that could be messing up with my form now? Any other idea?

Any help/hint will be much appreciated. ?

Thanks!

I’m pretty new to WordPress. I’m wanting to have a Q&A Discussion section on my site, but also to replace the default Comments section on each of my blog posts with the ability to post comments within the Q&A board. Ideally, each post would auto-generate a question when someone posts on it (something like “Reaction to _post-name_”).

But I can’t even figure out how to replace the generic WordPress comments section with the ansPress functionality. I’ve read through the support discussion and it looks like it is possible with widgets, but I’m not sure how to set that up.

Can someone help me out?

Thanks,

Image upload are not replacing the apimage regex on uploads – testing here to see if this is an environmental problem

Dog

There’s an issue with the permalinks, setup is done correctly but there’s a major issue between anspress and wordpress’s permalinks.

So let’s say my Anspress Archives page is set to Raspunsuri in the Anspress > Options.

If I do a search via search.php for the keyword ‘rasp’ it doesn’t work because it tries to load an anspress page, my body page classes ‘search search-results logged-in anspress-content ap-page-base hfeed’ , if I search for the keyword other my body classes are ‘search search-results logged-in hfeed’ which is normal and the search works flawlessly.

Please help!

Hi Rahul,

I just ran into an issue. For each wordpress site I install I change the table prefix for security reasons. On this install the prefix changed from wp_ to answers_

Now I am having issues on the front end, see attached screenshot. AP is still looking for a table with the default prefix:

[Table ‘xxxxxx_answersfinal.wp_ap_reputations’ doesn’t exist]

It doesn’t as it is called xxxxxx_answersfinal.answers_ap_reputations

 

The table names should be called with prefix, otherwise the default wordpress table name will be used:

$wpdb->prefix . "ap_reputations";