BUDDYBOSS WEB

Your community, courses and memberships on your own website.

BUDDYBOSS APP

Your own branded app on iOS and Android.

DONE FOR YOU

We build, launch and run it for you.

BuddyBoss website and mobile app

Web + App Done For You

$4,999 flat

Web Scale + Done For You Web

App Launch + Done For You App

PRICING

Web Pricing

Launch, Scale and Done For You Web.

From

$199

first year

App Pricing

Solo, Launch and Done For You App.

From

$499

first year

SITE + APP

Web + App Done For You

Your site and your app, built and run for you.

$4,999

flat, never rises

How to Add Question Titles for Essays’ Answers from LearnDash

Updated

Using the [ld_profile] shortcode on a page [screenshot], you can directly review essays from that page and add comments [screenshot]. You will see only the answer and a comment box if you click that question from the list. However, you must override the template if you want the question title to appear on that page.

First, open your file manager in cPanel or from your FTP/SFTP and navigate to wp-content/themes/buddyboss-theme/. After that, copy the single-sfwd-essays.php file and paste it into your child theme’s folder, and it should look like this screenshot. Now, edit the single-sfwd-essays.php file, and replace all its codes with the below code; save it. It will bring the question’s title above the answer, like this screenshot.

<?php /** * The template for displaying single sfwd topic * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package BuddyBoss_Theme */ get_header(); ?> <div id="primary" class="content-area bb-grid-cell"> <main id="main" class="site-main"> <?php while ( have_posts() ) : the_post(); if ( 'draft' == get_post_status() ){ do_action( THEME_HOOK_PREFIX . '_single_template_part_content', get_post_type() ); } else { // Display the title above the content the_title( '<h1 class="content-title">', '</h1>' ); get_template_part( 'template-parts/content', 'sfwd' ); /** * If comments are open or we have at least one comment, load up the comment template. */ if ( comments_open() || get_comments_number() ) : comments_template(); endif; } endwhile; // End of the loop. ?> </main><!-- #main --> </div><!-- #primary --> <?php get_footer();

Was this article helpful?

Subscribe to Our Newsletter

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form

Can’t find the answer you’re looking for?

Our support team is here to help with anything the docs don’t cover.