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 3×3 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
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.
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.