I’m trying to document the use of this plugin for a client but am getting stuck when trying to document the workflow for creating an Answer to a Question that has been posted.
Specifically, where can a user find the Question ID # that is required to associate an Answer with a posted Question? I can find no documentation about this nor am I able to locate the information from the question URL or from the Questions page on the Dashboard.
I could guide them to edit the page as an Administrator directly, however, it appears that Answers written right on the page do not accept rich text (despite the use of the rich text editor) or correctly display paragraphs.
What is the recommended workflow here? Thanks in advance.
Please let me know detail about your question, I’m still vagure about it. If you want to show the ID of the question, you can add the following code to the functions.php file.
add_filter('manage_posts_columns', 'posts_columns_id', 5);
add_action('manage_posts_custom_column', 'posts_custom_id_columns', 5, 2);
add_filter('manage_pages_columns', 'posts_columns_id', 5);
add_action('manage_pages_custom_column', 'posts_custom_id_columns', 5, 2);
function posts_columns_id($defaults){
$defaults['wps_post_id'] = __('ID');
return $defaults;
}
function posts_custom_id_columns($column_name, $id){
if($column_name === 'wps_post_id'){
echo $id;
}
}
Also, you can find here for the document guide on how to configure, use the plugin: https://www.designwall.com/guide/
Thanks for your reply, Dominic! Apologies for the delay in my own reply. 🙂
I am attempting to document the use of the plugin for a client and specifically how they can create/manage answers to questions posted on the website. I understand that there are a few methods you offer to do this.
However, this client would prefer to use the dedicated Answers panel in the Dashboard which has an “Add an Answer” page. It is on the page that I am lost, see below:
Where can I find the Question ID related to a given Question elsewhere in the Plugin? Thanks again.
At the moment, you only can add the code that I answered in the previous answer to the functions.php file to auto display the Question ID. See the screenshot: http://prntscr.com/bij60q
Or if you don’t want to add the code to the theme file, you can hover the question and see the browser bottom. See the screenshot: http://prntscr.com/bij82i
Please login or Register to submit your answer