When Hide isn’t Hide
-
I think I have a bug here, tho I haven’t quite figured it out.
In Frontier Post settings, I have:
Default Category Select: Hide (Which is under both Standard and Advanced Settings? )
Default Taxonomy Select: HideHowever, when I view the page created by frontier_post_form_standard.php set by frontier_edit_form=”standard”
the Category still displays on the frontier_mode=”add” page.
Looking at the code (~ line 114) it states: “if ($tmp_tax_layout != “hide”)” then display the category. If I place a line right above that that’s simply: $tmp_tax_layout = “hide”; that clearly makes category go away.
I first though that it might be it saving “Hide” instead of “hide”, but the option values look correct in the HTML.
I can make the category go away, by setting:
frontier_custom_tax_layout=”hide”
frontier_custom_tax=”category”That means that “hide” should be a valid value for frontier_custom_tax_layout, and should be reflected in the shortcode options for that value in https://wpfrontier.com/frontier-post-shortcodes/
- The topic ‘When Hide isn’t Hide’ is closed to new replies.