I made a website by using Anspress, and it is really powerful.
but I have trouble in setting permalink (actually i don’t know how to) , so I use default setting of linking.
In the home page, I display questions . And when I click next page, it will lead to error page .
Please tell me how to fix this. (also including how to set permalink in anspress )
My website is http://wen.sheshouxing.com/ .
Thanks a lot.
Would be good, if you could add a option like that, which shows a “Login to view profiles” message shows, if its disabled (and the user is not logged in)
Here is a screenshot:
And it does not work btw
Something to do with ap_pagination()……..
Link to the plug in https://wordpress.org/plugins/alphabetic-pagination/
I’m trying to update the link for Login and Register.
There used to be an Option to change/set the URL for Login and Register URL. But, I can’t find them with latest 2.3 update.
If it was removed, can it be added back to Option?
@RahulAryan — I got your code to do this:
<?php ap_get_questions(array('showposts' => 5)); ?> <?php if ( ap_have_questions() ) : ?> <div class="ap-questions"> <?php /* Start the Loop */ while ( ap_questions() ) : ap_the_question(); ap_get_template_part('content-list'); endwhile; ?> </div> <?php ap_questions_the_pagination(); ?> <?php else : ap_get_template_part('content-none'); endif; ?>
I have a few questions:
- Where do I put this code? Would it go in a specific PHP file?
- Is there a way to make a new class for the shortcode so this code won’t affect the shortcode I use for the full page?
Thanks.
Hi,
I have just tried to activate the plugin but I am getting an error. Please see below:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING in /home/PROTECTED/public_html/PROTECTED.com/wp-content/plugins/anspress-question-answer/includes/process-form.php on line 143
Please could you tell me how to fix this?
Hello, is there a way to enable questions to be private by default?
When I click on the username for profile page, I got Error 404. There are some strings in Anspress Options -> Pages. What should be these strings?
“Users page slug”
“User page slug”
Instead of displaying the title and the link to the answer, it only displays “answer”:
http://anspress.io/user/rahularyan/reputation/