when i post with custom taxonomies, it’s being posted as post, no custom post type
Plugin Author
finnj
(@finnj)
Have you read the shortcode documentation: http://wpfrontier.com/frontier-post-shortcodes/ ?
You will need a shortcode like the below
[frontier-post frontier_add_post_type="my_post_type" frontier_list_post_types="my_post_type" frontier_custom_tax="my_taxonomy"]
Plugin Author
finnj
(@finnj)
I am very close to release a new version, where you always will be able to handle custom post types from Frontier My Post Widget.
I did, but shortcode attributes are depended on one another, thats y i had difficulties to find out.
But now its almost perfect.
But it still shows default categories for different post types.
Not Important, just a request:
1. Is it possible to hide Excerpt box?
2. Is it possible to add new category or custom taxonomy like the tag box?
Plugin Author
finnj
(@finnj)
Hi,
1: Yes, there is a checkbox in Frontier Capabilities Settings: http://wpfrontier.com/frontier-post-profiles-capabilities/
2: No, you can select these types of layout: Dropdown, Multiselect, Checkbox, Radio, Radioline, Hide & Readonly
You can not have have different category values per post type, but you can have default category and allowed categories per role: http://wpfrontier.com/frontier-post-role-based-settings/
I mean how can i hide default “category” box for different post types which doesn’t have “category” linked?
Plugin Author
finnj
(@finnj)
You should be able to use the parameter: frontier_custom_tax_layout
example you have a custom taxonomy called movie and you want to hide category:
[frontier-post frontier_custom_tax="category,movie" frontier_custom_tax_layout="hide,checkbox"]
I havent tested the above, but should work 🙂
– Update frontier_custom_tax & frontier_custom_tax_layout needs to have the same number of items.
Category is special, WordPress always require a post to have a category, if no category provided, category=uncategorized
It shows
Warning: Invalid argument supplied for foreach() in /home/meduscope/public_html/wp-content/plugins/frontier-post/include/frontier_post_util.php on line 233
when i hide categoy by this method. I have updated the plugin to latest
My Post type is “tips”. i used this shortcode
[frontier-post frontier_add_post_type="tips" frontier_list_post_types="tips" frontier_custom_tax="category,tips-category" frontier_custom_tax_layout="hide,checkbox"]
Plugin Author
finnj
(@finnj)
Ok, did you catch my spelling error in the shortcode, i put frontier-cost instead of frontier-post ? 🙂
Corrected above
I tested the following at it worked:
[frontier-post frontier_list_post_types="frontier_forum_post" frontier_add_post_type="frontier_forum_post" frontier_custom_tax="category,article-type" frontier_custom_tax_layout="hide,checkbox"]
I have a post type called: frontier_forum_post and a custom taxonomy called: article-type
Thanks a lot man.
frontier_list_post_types was after frontier_add_post_type, when i switched them, it worked. Thank you so much
🙂