Notifications
Clear all

wpForo 1.x.x [Closed] How to add wpForo Menu to pages and posts

7 Posts
4 Users
2 Reactions
9,204 Views
Posts: 27
Topic starter
(@webauthor)
Eminent Member
Joined: 8 years ago

I only want one menu, the wpforo menu throughout the entire site. I don't want to create a new menu. Is there any way to have the wpforo menu show up on all pages and posts?

I know I can go to Appearance / Menus / Manage Locations and add the wpforo menu as the Primary Menu as well, but that places all the wpforo menu items in an undesired location based on my theme. I want to keep things uniform and have the same menu and placement that I see on the Forums on all my pages and posts.

I hope I explained that well enough. I'm using a new page with the [wpforo] shortcode as the home page for my forum.

Thanks

6 Replies
Robert
Posts: 10590
Admin
(@robert)
Support Team
Joined: 9 years ago

You can disable wpForo menu, and disable "Show Top/Menu Bar" option in Forums > Settings > Features admin page. The edit your primary menu or other menus and add wpForo menu items. Use "Custom Links" menu type and these shortcode-urls in URL field:

  • Forum Home: /%wpforo-home%/
  • Members: /%wpforo-members%/
  • My Profile: /%wpforo-profile-home%/
  • Activity: /%wpforo-profile-activity%/
  • Account: /%wpforo-profile-account%/
  • Subscriptions: /%wpforo-profile-subscriptions%/
  • Register: /%wpforo-register%/
  • Login: /%wpforo-login%/

Also you can use Custom Menu widget.Just choose wpForo Navigation and put it in page sidebars.

 

Posts: 27
Topic starter
(@webauthor)
Eminent Member
Joined: 8 years ago

Brilliant way to think outside the box. Thank you!

The only problem with doing it the way you suggested is that I lose the look and layout of the default wpforo menu. I love the colors, search box to the right etc. - I'm not talking about the menu items, but rather the menu look and position.

If I create a new menu and add those menu items, I lose my beloved wpforo menu. The new menu I create will then use the default menu location based on the theme, which by the way I'm using TwentySixteen just to keep things simple. It's "your" menu with all of it's CSS that I want to use throughout the entire site and it's location.

Any more ideas on how to make this happen?

One more thing, a couple days ago I post how awesome and well thought out wpforo was from a programming point of view. This is a perfect example of what I'm talking about. How many different options you gave us. When you guys sat down to design the framework, you looked at things from a site owner's point of view and said "let's do it this way so that if a site owner wanted this, then all he has to do that.."  In other words, you didn't tie our hands.

wpfofo has so many different ways to accomplish what it is that we want, but you guys made things so easy. Looking at the list of options like those found on Forums / Settings / Features makes my point. So far, I've only needed to change 4 lines of custom CSS to get the look we wanted. That's freaking amazing from a customizing point of view.

Again - wpforo ROCKS! Let me know if you can think of a way to keep the look and position of default wpforo menu on the entire site. Thanks

Robert
Posts: 10590
Admin
(@robert)
Support Team
Joined: 9 years ago

Thank you webauthor,

you're asking for moving wpForo top menu-bar template code to your current active theme's header.php file. There is no way to load wpForo template files in other pages, it's only being loaded on forum page. If you want to get wpForo top menu bar on top of whole website then it should be integrated in WordPress theme's header.php. wpForo provides with all possible ways to manage menus, but the change you're asking for is not a menu management, it's a template customization.

This can only be done by custom codding. You should copy the top bar code from wpForo theme's header.php and past in WordPress active theme's header.php. Also you should copy the top bar CSS code from wpForo style.css and past in WordPress active theme style.css file. This is the only way.

I'm sorry, but this is not an easy task, and can't be fully described here.

Posts: 11
(@domates)
Eminent Member
Joined: 3 years ago

Hi there, I am using Private Messages plugin by gVectors. Is there a shortcode for private messages also?

 

Thank you.

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@domates,

You can find all the shortcodes for menus in Dashboard > Appearance > Menus > wpForo Shortcodes Filed,

This is the shortcode for PM /%wpforo-profile-messages%/

Page 1 / 2