Installing AnsPress

This section describes how to install AnsPress and get it working. From plugin installer This is the most easiest way to install AnsPress to your WordPress site. Navigate to wp-admin->Plugins->Add new. Type AnsPress in search bar and wait for AnsPress card to show up. Click install and then activate and you are done. From FTP/SFTP Download latest version of AnsPress from: anspress-question-answer.zip Upload anspress-question-answer.zip to the /wp-content/plugins/ directory Activate the plugin through the ‘Plugins’ menu in WordPress Place <?php do_action(‘plugin_name_hook’); ?> in your templates From WP-CLI Run this command from console: wp plugin install anspress-question-answer –activate Adding base page There must be a base page for AnsPress to work properly. You can learn more about AnsPress base page here: What is base page? AnsPress shows a notice in wp-admin if no base is set already. You can click link in notice to automatically create base page. If you need more help installing AnsPress, you can contact us by posting a support request at Support.

How to upgrade from 3.x to 4.x using WP-Cli

We have added few WP_CLI command  in AnsPress 4.0.6. Previously many people have reported that they were unable to upgrade from AnsPress 3.x to AnsPress 4.x. This Issue was happening with site having over 1k questions. To resolve this issue we decided to add WP_CLI command. Give it a try by running: wp anspress upgrade We have tried this command on site having more then 40K questions. Command completed in approx 11 minutes without any issue. Even though its safe to use this command in live site but we will recommend a full backup.