Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Script [Closed] Forum FAQ page

2 Posts
2 Users
0 Reactions
1,480 Views
SiteBastion
Posts: 41
Topic starter
(@sitebastion)
Trusted Member
Joined: 4 years ago

I've lost the forum FAQ page. I cannot find where to edit the page that /%wpforo-faq%/ leads to.

I've looked everywhere, I remember editing it but now I can't find any way to edit it. I've looked everywhere and searched both the documentation this forum for how to edit this.

Help?! (my brain has failed me)

 

Kim

1 Reply
Robert
Posts: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

@sitebastion

1. Create a simple WordPress page for your FAQ.

2. Install this plugin: https://wordpress.org/plugins/insert-pages/

3. Pick the FAQ page shortcode with the page ID, it should look like this: [insert page='ID' display='title|content']

4. Put the shorticde in the code below and insert the code in your active WordPress theme functions.php file:

function wpforo_page_show_faq( $template ){
   if( $template == 'faq' ){
      ?>
      <div class="wpforo-page wpforo-page-faq wpforo-text">
         <?php echo do_shortcode("[insert page='ID' display='title|content']"); ?>
      </div>
      <?php
   }
}
add_action( 'wpforo_page', 'wpforo_page_show_faq', 10 );

Then call this page with URL:

 https://example.com/community/?wpforo=page&view=faq 

You can put it in wpForo Menu, using "Custom Links" menu type in Dashboard > Appearance > Menus admin page. Use the wpForo Navigation menu.