Support » Plugin: Frontier Post » Store two categories set by two authors

  • Resolved foots

    (@foots)


    I’m using frontier to allow multiple users to review a post and add a category for sorting.

    I’m using Bylines to have multiple authors per post. The issue I’m having is that Author 2 will over-write Author 1’s saved category.

    Is there a way to store both categories when the second users saves the post?

    Many thanks for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve disabled <input type="visible" name="post_categories" value="<?php echo $cats_selected_txt ;?> and I can see a box with the category ID. When I save the post, the ID is replaced.

    I’ve tried using wp_set_post_terms to store the second category without overwriting the first.

    I can set two categories in the backend and when I load the post, it shows both IDs. I’ve not been able to do this on the front end.

    • This reply was modified 1 year, 9 months ago by  foots.
    Plugin Author finnj

    (@finnj)

    Yes it can be done, but it will require quite some coding.

    You can use actions and filters: http://wpfrontier.com/frontier-post-actions-hooks/

    In this article there is link to examples of adding fields and custom fields

    I am sorry, but I do not support doing custom code, but I hope you can make somthing work. The action and filters are implemented to give you more freedom to change behaviour, but I do not have the bandwidt to help you do the coding

    Hi Finnj,

    Thank you for your reply. I’ve started looking at the link and I think I should be able to get it working.

    Thanks for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Store two categories set by two authors’ is closed to new replies.