jblake2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Anyone managed to get custom post types capabilities working?Ah, got it. The second function worked. Because my category is already plural, it added another s, so the caps are edit_newss .. etc. Cheers!
Forum: Fixing WordPress
In reply to: Anyone managed to get custom post types capabilities working?I cant get that code to print anything, anywhere. Tried it with other types too.
Forum: Fixing WordPress
In reply to: Anyone managed to get custom post types capabilities working?Hello,
Pardon my ignorance, but I’m trying to get these custom caps setup, and if I have deduced this thread correctly, the process is this
(Im using members plugin)
1. Add custom caps to whatever role you desire. For me, my custom cap is ‘news’ (capability_type => ‘news’ .. when I register the custom post type)
2. So I typed in and added, edit_news, publish_news, etc etc.. there’s quite a few.
3. Refresh
4. Add capability type of ‘news’ to custom post type
4. ???
5. It works?? But it doesn’t. 🙁Forum: Themes and Templates
In reply to: Suggestions for design of University Newspaper backendIs it worth coding in a dynamic menu? It won’t ever change really… so is the extra effort worth it?