Thread Starter
foots
(@foots)
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 6 years, 5 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
Thread Starter
foots
(@foots)
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.