Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am creating a website that needs to have separate custom “portals” or “Sections” depending on which market you are in.

Example situation:

  1. user lands on the home page.

  2. User looks at the top-level horizontal menu next to the company logo in the header for the main menu item labeled “VEHICLES” which has 2 sub menu items:

    1. SUV
    2. SEDAN
  3. User chooses “SUV” because that is what he/she needs information or products for.

  4. User is taken to the “SUV” landing page that has its own custom left sidebar for “SUV” information and products specifically. Keep in mind that the same top-level horizontal menu next to the company logo in the header will be the same throughout the entire site as well as the footer. My question revolves specifically around the sidebar.

  5. So far so good, but now from the custom “SUV” sidebar menu found on the left side of the page - User clicks on a menu item called “SERVICING.”

This is where my question starts:

The “SERVICING” page is a general information page that will be categorized/found in multiple places. For instance under SEDANS >> SERVICING, SUVS >> SERVICING, MOTORCYCLES’s >> SERVICING, etc.) – but since I entered through:

www.sample.com >> VEHICLES >> SUV

I would like for WordPress to always display to me the custom “SUV” sidebar that has been made for my type of vehicle whis is an “SUV” – no matter what page I navigate to from this point on, (unless of course I pick something from the top-level horizontal menu next to the company logo in the header – which would take me out of the “VEHICLES >> SUV” section/portal).

So my questions are:

  1. Is this possible in WordPress without duplicating pages. (i.e. having a global “SERVICING” page and then having to duplicate that page just so I can have a “SERVICING” page under “SUV.”

  2. Can this be solved with a plugin? Or by some other means as simple.

  3. Does this warrant a WP multsite? I would say no, as far as my experience goes, since this is just one company, with one website, that is controlled and edited by one webmaster. The header/branding area to include the main menu, blog material, and footer is global for all users despite which portal/section they are in.

This Webmaster just wants different user experiences (sidebar menus) based on what the users vehicle is. If the user comes through the SUV portal then he just wants to show this user SUV related information and products in the left sidebar until the user chooses to leave the SUV portal.

Any help you can provide would be helpful, as I haven’t been able to find a solution to this with WordPress yet.

Thank you in advance!

share|improve this question
    
This suggests you have a content/copywriting issue that has been overlooked. What you're asking for also has SEO implications ( google lands on the SUV mini page, ranking of nonSUV pages plummet because google is only shown the SUV menu etc ), as well as usability issues ( user goes to SUV page, sees a menu item, then clicks on SEDAN, goes back to page, menu item is now gone and SEDAN menu is in its place, user leaves in frustration/gets lost ) –  Tom J Nowell Feb 25 at 21:44
    
Tom, First, thank you for your reply. Although the person I'm working with cares more about user experience, and less about Google and SEO, I get your point completely. Would you suggest that a different approach be taken? The concern here is that SUV owners will get overburdened with menu choices that don't relate to them, this is why they would get their own left sidebar menu to carry them throughout the site. Again, the emphasis of this particular website is on "Category defined portals." that have specific menus for that category. Im open to any suggestions. –  logger Feb 25 at 22:48
    
The biggest problem I see is that you are publishing the "Servicing" page in different locations. Why do you need "SEDANS >> SERVICING"? Why not just one "Servicing" page? Even "Servicing >> Sedans" would be a bit better and would be amenable to the use of an endpoint. –  s_ha_dum Feb 26 at 3:04
    
You could include different sidebar files (afterall get_sidebar() is just a require_once / include_once reference to sidebar.php ). If you are displaying using different taxonomy you could have something like sidebar-{taxonomy_slug}.php and getting the taxonomy from the page would include the sidebar as well. I don't know if it is the wordpress way though. –  Panagiotis Feb 26 at 9:40
    
Thank you everyone! I have decided to use another CMS platform for this project. –  logger Mar 5 at 2:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.