Can you limit how many questions are shown? Questions can have long titles & seeing a list of long titled questions.

Hey guys,

MyCred detects “Question” and “Answer” from Anspress, and I can configure a hook that gives points every time a question or an answer is seen by an user. So far so good. But in reality, it doesn’t trigger any point count (it does for “posts” or “pages” though, but not for Anspress’ “Questions” or “Answers”). What does work is it counts points for the creation of a new question / answer though (not for the view of it)

Any idea why or what I could do to debug this ?

By the way I enabled WP_DEBUG but no error message shows up ; I deactivated all the plugins except MyCred and Anspress, and still the bug appears.

Everything is up to date. I have a Multi-Site and have tested this on each site of the network, always the same bug…

Thanks a lot for your answer and hopefully we’ll be able to fix this issue

Do you have any idea for method of changing slug for questions?

Now, sulg is setted as questions tittle but question page URL will be so long by Japanese tittle(domain/questions/question/long Japanese title)

So, I want to know method that slug set on each questions automatically by quesions ID

(domain/questions/question/ID)

Please could you advise?

Hi,

I am using a template called WP-Pravda and it pulls out contents from pages or posts on the front page, in a masonry style. Each post has a different color, depending either on its category or on a specific color attached to the post, see example here : http://demo.color-theme.com/?theme=Pravda

I am no developper but I managed to make it pull all my Anspress Questions on the front page, which is nice 🙂

Yet these Anspress Questions don’t bear the color of their category.

I was told I could add an extra-option on a file of the template, and I identified the part of the code related to it :
$of_options[] = array(    “name”        => __( “Get the custom color for posts from:” , “color-theme-framework” ),
“desc”        => __( “Choose how to define the color for posts.” , “color-theme-framework” ),
“id”        => “{$prefix}post_color_type”,
“std”        => “Post settings”,
“type”        => “select”,
“options”     => array(
‘post’            => ‘Post settings’,
‘category’        => ‘Category settings’,
 ‘anspress_category’        => ‘Anspress’

)

 

I tried adding the line in bold but it doesn’t work as I do not know how the category of a question is meant to be called in Anspress. Do you guys know what I should put here ?

 

Thanks for your answer  🙂

Hi,

Does anyone know how to help. Will the “Comments” tab, always visible?

Hi,

I am using the translated version to spanish of Anspress.

However, in the .po file the words “sort” “view” “posted” and “ago” are not appearing so it can be translated.

However those words appear in the plugin…is there another way to translate them? maybe in the php files?

many thanks!