SlideShare una empresa de Scribd logo
1 de 25
Descargar para leer sin conexión
Building a Private User
          Access Area with
          WordPress
           By Vanessa Chu
           vanessa@designfaire.com
           www.designfaire.com



Thursday, October 13, 2011
Thursday, October 13, 2011
Logged in Site Requirements

               3 separate “blog” areas for each user group
               Each group has unique editing and viewing abilities
               Blog must have categories
               Blog must be searchable
               Media in these areas must be locked




Thursday, October 13, 2011
Content Restriction
            Membership sites that manage
            the viewing of content




                             Wishlist Membership   Membership
                             MemberWing            Magic Members


Thursday, October 13, 2011
Capabilities Restriction
            Membership site that manages user
            capabilities

               Manages user permissions to do VARIOUS tasks by
               creating custom user groups and roles, and assigning
               capabilities to each
               E.g User Access Manager, Members Plugin, Role
               Scoper etc.




Thursday, October 13, 2011
What are Roles?

               Roles are a set of abilities assigned to users which
               control what a user can or cannot do on a site
               5 default Roles: Administrator, Editor, Author,
               Contributor, Subscriber
               http://codex.wordpress.org/Roles_and_Capabilities




Thursday, October 13, 2011
What are Capabilities?

               Each Role is allowed to perform a set of tasks called
               Capabilities.
               E.g. publish_post, moderate_comments, edit_users
               etc.




Thursday, October 13, 2011
What are User Groups?
               User Groups are different from Roles.
               User Groups are arbitrary names for groupings of users
               User Groups are assigned Roles and Roles are
               assigned Capabilities.




Thursday, October 13, 2011
So....
          If you can create unique roles,
          then you can create unique
          roles with unique capabilities!




Thursday, October 13, 2011
The process...
          1.Install User Access Manager and Capability Manager
            plugins
          2.Create User Groups
          3.Create Custom Post Types & Taxonomies for each
            User Group
          4. Create Roles and assign capabilities to each User Group
          5. Create Custom Post Type Templates
          6. Finishing touches


Thursday, October 13, 2011
Create User Groups




Thursday, October 13, 2011
Register Custom Post Types




Thursday, October 13, 2011
Thursday, October 13, 2011
Register Custom Taxonomies

               Custom taxonomies have capability arguments as well.
               Register your custom taxonomies with capabilities,
               then assign the capabilities to specific roles as you
               would with Custom Post Types.
               See: http://justintadlock.com/archives/2010/06/10/a-
               refresher-on-custom-taxonomies




Thursday, October 13, 2011
Create your Roles & assign Capabilities




Thursday, October 13, 2011
Thursday, October 13, 2011
Manually Creating Roles &
          Capabilities
               You can create roles and capabilities manually via the
               functions.php file.
               Adding custom roles
               add_role( $role_name, $display_name, $capabilities );
               // for example:
               add_role( 'photo_uploader', 'Photo Uploader', array( 'organize_gallery' ) );


               Adding custom capabilities
               // get the "author" role object
                 $role = get_role( 'author' );
           
                 // add "organize_gallery" to this role object
                 $role->add_cap( 'organize_gallery' );

               See: http://www.garyc40.com/2010/04/ultimate-guide-to-roles-and-capabilities/


Thursday, October 13, 2011
Thursday, October 13, 2011
Post & Page Access




Thursday, October 13, 2011
Create your Custom Post
          Type Templates
               Create archive-posttypename.php and single-posttypename.php




Thursday, October 13, 2011
Custom Sidebars

               In your archive-posttypename.php file you may want to
               place in custom sidebars with you corresponding
               Taxonomies.
               Or you can create a custom widgetized sidebar for
               each of your archive-post-typename.php




Thursday, October 13, 2011
Conditional Statements

               Use conditional statements with particular user
               capabilities to create unique instances for each role.

            if ( current_user_can
            ( 'edit_directors' ) ) {
              // do something
          }




Thursday, October 13, 2011
Re-direction

               User Access Manager has the ability for you to assign a
               particular page to redirect a User Group once logged
               in.
               Redirect plugin also does this (e.g. Peter’s Login
               Redirect plugin)




Thursday, October 13, 2011
Custom Post Type Search




Thursday, October 13, 2011
Thanks!

                    Vanessa Chu
                    vanessa@designfaire.com
                    www.designfaire.com




Thursday, October 13, 2011

Más contenido relacionado

Último

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

User access manager presentation web

  • 1. Building a Private User Access Area with WordPress By Vanessa Chu vanessa@designfaire.com www.designfaire.com Thursday, October 13, 2011
  • 3. Logged in Site Requirements 3 separate “blog” areas for each user group Each group has unique editing and viewing abilities Blog must have categories Blog must be searchable Media in these areas must be locked Thursday, October 13, 2011
  • 4. Content Restriction Membership sites that manage the viewing of content Wishlist Membership Membership MemberWing Magic Members Thursday, October 13, 2011
  • 5. Capabilities Restriction Membership site that manages user capabilities Manages user permissions to do VARIOUS tasks by creating custom user groups and roles, and assigning capabilities to each E.g User Access Manager, Members Plugin, Role Scoper etc. Thursday, October 13, 2011
  • 6. What are Roles? Roles are a set of abilities assigned to users which control what a user can or cannot do on a site 5 default Roles: Administrator, Editor, Author, Contributor, Subscriber http://codex.wordpress.org/Roles_and_Capabilities Thursday, October 13, 2011
  • 7. What are Capabilities? Each Role is allowed to perform a set of tasks called Capabilities. E.g. publish_post, moderate_comments, edit_users etc. Thursday, October 13, 2011
  • 8. What are User Groups? User Groups are different from Roles. User Groups are arbitrary names for groupings of users User Groups are assigned Roles and Roles are assigned Capabilities. Thursday, October 13, 2011
  • 9. So.... If you can create unique roles, then you can create unique roles with unique capabilities! Thursday, October 13, 2011
  • 10. The process... 1.Install User Access Manager and Capability Manager plugins 2.Create User Groups 3.Create Custom Post Types & Taxonomies for each User Group 4. Create Roles and assign capabilities to each User Group 5. Create Custom Post Type Templates 6. Finishing touches Thursday, October 13, 2011
  • 11. Create User Groups Thursday, October 13, 2011
  • 12. Register Custom Post Types Thursday, October 13, 2011
  • 14. Register Custom Taxonomies Custom taxonomies have capability arguments as well. Register your custom taxonomies with capabilities, then assign the capabilities to specific roles as you would with Custom Post Types. See: http://justintadlock.com/archives/2010/06/10/a- refresher-on-custom-taxonomies Thursday, October 13, 2011
  • 15. Create your Roles & assign Capabilities Thursday, October 13, 2011
  • 17. Manually Creating Roles & Capabilities You can create roles and capabilities manually via the functions.php file. Adding custom roles add_role( $role_name, $display_name, $capabilities ); // for example: add_role( 'photo_uploader', 'Photo Uploader', array( 'organize_gallery' ) ); Adding custom capabilities // get the "author" role object $role = get_role( 'author' );   // add "organize_gallery" to this role object $role->add_cap( 'organize_gallery' ); See: http://www.garyc40.com/2010/04/ultimate-guide-to-roles-and-capabilities/ Thursday, October 13, 2011
  • 19. Post & Page Access Thursday, October 13, 2011
  • 20. Create your Custom Post Type Templates Create archive-posttypename.php and single-posttypename.php Thursday, October 13, 2011
  • 21. Custom Sidebars In your archive-posttypename.php file you may want to place in custom sidebars with you corresponding Taxonomies. Or you can create a custom widgetized sidebar for each of your archive-post-typename.php Thursday, October 13, 2011
  • 22. Conditional Statements Use conditional statements with particular user capabilities to create unique instances for each role. if ( current_user_can ( 'edit_directors' ) ) {     // do something } Thursday, October 13, 2011
  • 23. Re-direction User Access Manager has the ability for you to assign a particular page to redirect a User Group once logged in. Redirect plugin also does this (e.g. Peter’s Login Redirect plugin) Thursday, October 13, 2011
  • 24. Custom Post Type Search Thursday, October 13, 2011
  • 25. Thanks! Vanessa Chu vanessa@designfaire.com www.designfaire.com Thursday, October 13, 2011