Finding id of taxonomy by name in custom post type

@Gil, your solution in comment seems to be excellent! I just modified a small part to be sure not to have a PHP warning on execution. $w_year = $_GET[‘w_year’]; $catid = ”; $taxonomies = get_taxonomies(); foreach ( $taxonomies as $taxonomy ) { if ( $term_object = get_term_by( ‘slug’, $w_year , $taxonomy ) ) { if … Read more

How to make HTML select options searchable

Answer would be: <link href=”https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css” rel=”stylesheet” /> <script src=”https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js”></script> <div id=”product_attributes” class=”panel wc-metaboxes-wrapper hidden”> <div class=”toolbar toolbar-top”> <span class=”expand-close”> <a href=”#” class=”expand_all”><?php esc_html_e( ‘Expand’, ‘woocommerce’ ); ?></a> / <a href=”#” class=”close_all”><?php esc_html_e( ‘Close’, ‘woocommerce’ ); ?></a> </span> <select name=”attribute_taxonomy” class=”attribute_taxonomy js-ao-select-options”> <option value=””><?php esc_html_e( ‘Custom product attribute’, ‘woocommerce’ ); ?></option> <?php global $wc_product_attributes; $attribute_taxonomies = … Read more

Is possible hide hierarchical select dropdown created by jetsmartfilters? (only visual issue)

Solved by myself!! JetSmartFilter/Settings/Indexer Settings “active” Indexed filters at same page “choose” Index Post Types. Next go to your “page” editing with Elementor choose select field/ configure Jet Engine and link your hierarchical filter/ and after this the most important: inside “Select Field Edit” go to “INDEXER OPTIONS” / “active” apply indexer / if item … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)