• Not sure this is in the scope of WordPress, so any help would be great.

    I’m currently building a site for a client who wants a number of members / user groups with different access rights to pages.

    so far so good – i can do this.

    the problem is – the pages will need to be dynamically populated depending on the user group / login.

    so the question is, can this be done, and could you point me in the right direction to look into it.

    many thanks for you help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • One could consider Author Templates, but you may want to further explain what you mean with “dynamically populated”.

    Thread Starter richjohnhughes

    (@richjohnhughes)

    ok thanks.

    for example……

    one user might see when logged in – in the nav, home, offers1, offers2 and contact us.

    where as another user would see – home, offers3, offers4 etc etc.

    thanks

    And all of this according to groups?

    You can easily group by role. Probably none of the default Roles will work for you because of the capability differences and because you’d only have a few to choose from. But you can create your own roles to organize your user groups. Near the bottom of the page already linked to there is a short list of Role Management plugins. I use ‘Role Manager’– no idea if it better or worse than the others but it works for me.

    Then, in your template switch the content according to the Role.

    Thread Starter richjohnhughes

    (@richjohnhughes)

    thank you apljdi.

    just been looking at role manager plugin and the like – i think that might work.

    can you expand further on

    “Then, in your template switch the content according to the Role. “

    many thanks

    You are going to have pages that “will need to be dynamically populated depending on the user group / login”. In order to do that you are going to have to create a page template. Inside that template you’ll have to have a series of ‘if’,’if/else’, or ‘switch’ statements (PHP code) that will determine which user/groups sees what.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dynamic content by user groups…’ is closed to new replies.