2

I have a previously created thread here, but was recommended to make a new one: I need basic help with custom post types

Basically here's my project:

I have to create a back-end wordpress gui user input section. The user will enter details about their projects like name, location, what it is, some other details. A page will display the top 9 recent or so in a 3x3 grid. There will be a search bar to search projects for related tags.

I need to set it up where only certain user accounts can access this post type to upload projects.

I have currently:

  • used functions.php to setup my post type and it works
  • used simple forms plugin to create forms on the add new page

Background: I am a pretty entry level person in wordpress, and slightly overwhelmed right now. But, it's slowly coming together. Any input on structure or anything would be appreciated.

Update: I have created the forms, but I need to know what to put in the single-projects.php to display the content from the forms.

Thank you so much

2 Answers 2

0

There are several user access plugins available, including one called Members.

The settings panel for the Members plugin is in Settings >> Members Components. From there you can enable what you want. To edit roles you have to enable the Edit Roles component, then go to Users >> Roles. Click on the role you want to edit. You will see a list of all available capabilities with the ones that are enabled checked and in bold. There are six text boxes at the bottom of the page allowing you to add six capabilities at a time. Just type in the names there and they will be added to that role and to the list of capabilities. To add them to another role, just select them in the list.

26
  • Ok thanks, I'll look into it. Do you know where in the plugin you can define what post type a user group can edit?
    – Jeff
    Commented Feb 17, 2011 at 19:59
  • Basically, I'm trying to create a role that can only view "projects" and edit their own project.
    – Jeff
    Commented Feb 17, 2011 at 20:45
  • That sounds like the Authors role. Authors can only edit their own posts, so you might not need the aforementioned plugin. Commented Feb 17, 2011 at 21:14
  • 1
    This is not a discussion forum. Please keep real-time back-and-forth discussions in the chat room ("StopPress" accessible from the right sidebar) or use the WordPress.org support forums!
    – EAMann
    Commented Feb 18, 2011 at 2:48
  • 1
    @EAMann I can't connect to the chatroom, yet and this information I need to obtain. What am I supposed to do? I do not have enough reputation here.
    – Jeff
    Commented Feb 18, 2011 at 15:53
0

I had a similar project to create a grid output in the front end. I guess I also made 3 by 3 table. I used the custom fields. I used the plugin called More fields to design the back end the way I wanted it...and then I edited the single.php file of my theme.

I basically used HTML and php (basic). I made 3 by 3 table and then called the custom field values in them. It was quiet an efficient way to display. And regarding allowing certain users to access it...I guess you can install multiple plugins to filter the users.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.