May 2017
Beginner to intermediate
536 pages
14h 25m
English
In this section, we display the common information about the forum. We will be using forum title, forum description, and forum administrator information as the information for our application. You may find more forum specific field details in other applications. Let's get started by adding the code for section 1:
<div id="wpwaf_forum_info_left"> <h3><?php echo $post->post_title; ?></h3> <div><?php echo $post->post_content; ?></div> </div> <div id="wpwaf_forum_info_right"> <h3><?php _e('Administrators','wpwaf'); ?></h3> <div> <?php foreach ($administrators as $key => $administrator) { ?> <div class="wpwaf_forum_admin_image"><?phpecho get_avatar( $administrator->ID, 32 ); ?></div> <div><?php echo $administrator->data->display_name; ...Read now
Unlock full access