Building the forum page

This is the page that lists the details of a given forum and the available topics inside the forum. First, we have to identify the possible techniques of implementing such a page and choosing the ideal technique for your application. Let's identify some of the different techniques:

  • Using a shortcode: Create a shortcode for the forum details page and use it on a WordPress page. This is not the best technique, unless you don't have full control over your site.
  • Using default single post template: WordPress provides single-post template called single-post.php for displaying post/custom post type details page. We can customize the existing template to add forum and topic details. However, this is used as the common template ...

Get Wordpress Web Application Development - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.