In each answer there is some duplicate information about the time, on top and at the bottom. The very same data. One time is enough i think.

Thanks

Hello.

How can i disable suggestions when writing a new Question title ?

Thanks

Anspress v3a1

[17-Apr-2016 13:16:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_question_tag() in /home/wp-content/plugins/anspress-question-answer/includes/subscriber.php:353
Stack trace:
#0 /home/wp-content/plugins/anspress-question-answer/widgets/subscribe.php(43): ap_question_subscribers()
#1 /home/wp-includes/class-wp-widget.php(347): AnsPress_Subscribe_Widget->widget(Array, Array)
#2 /home/wp-includes/widgets.php(729): WP_Widget->display_callback(Array, Array)
#3 /home/wp-content/themes/justwrite/sidebar.php(14): dynamic_sidebar(‘main-sidebar’)
#4 /home/wp-includes/template.php(562): require_once(‘/home/t…’)
#5 /home/wp-includes/template.php(521): load_template(‘/home/t…’, true)
#6 /home/wp-includes/general-template.php(125): locate_template(Array, true)

Hi.

You are unable to translate the “Answer”, with plural “Answers”

This is located in
The anspress-question-answer / theme / default / answers.php line 18

<?php echo '<span data-view="answer_count">'.ap_answer_get_the_count().'</span> ' .sprintf(_n('answer', 'answers', ap_answer_get_the_count(), 'anspress-question-answer')); ?>

I have contacted the developer of PoEdit, because it was unable to locate this string, with a sourcecode scan

This is the Answer I got from Vaclav

The problem is that you use the translatable string “answer” elsewhere, as non-plural-forms one. Because msgids, i.e. strings, must be unique (they are IDs!), xgettext won’t see the other conflicting definition of the same string that you have using _n(). This is a limitation of gettext tools, not Poedit, and I can’t do anything about it.

There are two solutions

(1) Use message contexts for disambiguation (i.e. WP’s _nx() function instead of _n(), this is exactly what they are for.

(2) Better yet, don’t do thinks like this at all. The underlying cause is that you use _n() incorrectly: you don’t actually pass the number in there! _n(), _nx() etc. are intended for uses where the string contains the number (via %d, %i or such). Then it makes sense to use plural forms support for different pluralization in different languages. But if you phrase the strings as one and more-than-one, without any numbers in them, you shouldn’t use _n() in the first place.

You will also not be able to create a POT file update because of this.

I see that if a search in Questions doesn’t return anything, the user gets a

No question asked yet!, be the first to ask a question. Ask question

and i think this is a wrong and missleading message.

Thanks

I want to remove the breadcrumbs on the main questions listing page.

I know that isnt possible to hide the hide element via CSS (Cause all the subpages use the same WordPress page ID for display). I have tried to inspect the base.php file, but I still cant figure it out.

Im quite new to anspress and im also new to dealing with php. Any help will be appreciated.