add field into objects of register_taxonomy
-
at line 89: try to add fields single and limit. E.g
Line 89$output .= '<div class="' . $classes . ' mb-10"><input type="checkbox" id="' . $post . '" name="' . $option_name . '[' . $name . '][' . $post . ']" value="1" class="" ' . ( $checked ? 'checked' : '') . '><label for="' . $post . '"><div></div></label> <strong>' . $post . '</strong></div>';
add new field
$singleInput = '<input type="text" class="regular-text" id="' . $post . '" name="' . $option_name . '[' . $name . '][' . $single . ']" value="' . $rangeV .'">' ; $output .= $singleInput;
storeCustomTaxonomies() not as expect
from tutorial Alecaddd / WordPressPlugin101
- This topic was modified 2 years, 11 months ago by .
- This topic was modified 2 years, 11 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘add field into objects of register_taxonomy’ is closed to new replies.