May 2017
Beginner to intermediate
536 pages
14h 25m
English
We have a list of topics displayed in the forum details page. Now, the user can click on a topic from the forum page to view the complete discussion. Here, we need to build the topic details page with the technique we used for forum details page. The topic details page can be implemented with all the techniques discussed in the Building the forum page section. However, we are going to use the same technique of custom template within plugin.
Before we start the implementation, we need to create a new table for keeping the forum reply data. So, let's start by updating the create_custom_table function to include the following code:
$topic_replies_table = $wpdb->prefix.'topic_replies'; if($wpdb->get_var("show tables ...Read now
Unlock full access