[Resolved] Can we limit author to see only their series
Hope you are well.
I use the organize series plug-in and it works great.
It’s just that I need further capability from this wonderful plug-in.
If you could please help, it would be great.
I have multi-author blog. And I would like to allow authors to see only their series name they created.
Can you direct me how to do it ? For example if author A create Series call Story A and Story B. When, login Author A will see only Story A and Story B in his/her series box.
Secondly, I am able to add author with capability call manage_series and I would like to disable a delete capability on series name.
Therefore, author can only add and edit their own series but not delete their or other series’s name.
If you could provide me direction on how to create code for those two problems above, it would very helpful.
Thanks very much for your time and consideration and I look forward to hearing from you.
Just found the way
1. we need to add add_user_meta() to tie user with the $series_id in function function wp_insert_series($series_id, $taxonomy_id)
2. use the add_filter( ‘get_terms_args’,’myfunction’,10,2) to filter value display in taxonomy admin panel. And put code in theme’s functions.php file.
If you have a moment, I could use some help. I’ve installed organize series, and user series as well taxonomy metadata. But when an author creates a series and comes back to post another segment, there’s this error: Warning: Attempt to assign property of non-object in /home/ourchart/public_html/ourchart.org/wp-content/plugins/user-series/userSeries.php on line 36.
I’m no coder. I know html pretty well, and I’m alright with CSS, but php is beyond me. I assume from this error that I have to create the missing object, but have no idea how. I’m assuming that’s what you’ve done above, but your instructions are like Greek to me. Any help would be appreciated.
- The topic ‘[Resolved] Can we limit author to see only their series’ is closed to new replies.