• Skip to primary navigation
  • Skip to main content

WP Discuss

Wordpress Research & Analytic

  • Submit
  • Disclaimers
  • About
  • DMCA
  • Privacy Policy
  • Contact

Maroon 5 antiguas

  • No categories
  • All

custom attributes sort doesn’t work on search page

May 25, 2019 by Leave a Comment

i'm using aws pro search plugin and i have sort by custom attributes, it works fine on product page but on the search result it doesn't show the right order, it's a sort by a string attributes and i want it to be in alphabetic order, i found some code on the internet i tried to change but it doesn't show anything function custom_woocommerce_get_catalog_ordering_args( $args ) { global $wp_query; // Changed the $_SESSION to $_GET if (isset($_GET['orderby'])) { switch ($_GET['orderby']) : case 'auteur-asc' : $args['order'] = 'ASC'; $args['meta_key'] = 'pa_auteur'; $args['orderby'] = 'meta_value'; break; endswitch; } return $args; } function custom_woocommerce_catalog_orderby( $sortby ) { $sortby['auteur-asc'] = 'Sort by Auteur: A to Z'; return $sortby; } function wh_save_product_custom_meta($post_id, $post, $update) { $post_type = get_post_type($post_id); // If this isn't a 'product' post, don't update it. if ($post_type != 'product') return; if (!empty($_POST['attribute_names']) … [Read more...] about custom attributes sort doesn’t work on search page

Learn More

Contact form 7 not clickable on iphone

June 22, 2019 by Leave a Comment

The below form (webpage here), built using Contact form 7 is not clickable on iPhone. I can't find out why. Would you be able to help? <div class="one-third"> [select* Title "Title" "Mr." "Mrs." "Miss."] </div> <div class="one-third"> [text* firstname placeholder "First Name"] </div> <div class="one-third last"> [text* Lastname placeholder "Last Name"] </div> <div class="one-half"> [text company placeholder "Company"] </div> <div class="one-half last"> [select* country "Country" "United Kingdom" "Afghanistan" "Albania" "Algeria" "American Samoa" "Andorra" "Angola" "Anguilla" "Antigua and Barbuda" "Argentina" "Armenia" "Armenia" "Aruba" "Australia" "Austria" "Azerbaijan" "Azerbaijan" "Bahamas" "Bahrain" "Bangladesh" "Barbados" "Belarus" "Belgium" "Belize" "Benin" "Bermuda" "Bhutan" "Bolivia" "Bonaire" "Bosnia and Herzegovina" "Botswana" "Bouvet Island (Bouvetoya)" "Brazil" "British Indian Ocean Territory (Chagos Archipelago)" … [Read more...] about Contact form 7 not clickable on iphone

Learn More
Copyright © 2021 WP Discuss. Power by Wordpress.