teste123456
Forum Replies Created
-
Forum: Plugins
In reply to: [Brazilian Market on WooCommerce] Remover Máscara somente para CEPsuperborges, fiz um filtro que faz isso e permite a utiliza??o do plugin mesmo vendendo para outros países. Depois eu garimpo e compartilho pra você.
Forum: Plugins
In reply to: [Vindi WooCommerce] Porque existem dois plugins?Perfeito, tenho um cliente que está querendo trocar pela iugu/pagar.me somente pelo suporte a varia??es.
Vou avisar o mesmo para aguardar o lan?amento deste feature para assinar a vindi.
Muito Obrigado!
Forum: Plugins
In reply to: [Vindi WooCommerce] Porque existem dois plugins?Existem planos para adicionar suporte a varia??es? Hoje em dia as assinaturas tem muitas op??es como ciclo, frequencia e pre?os. Fica complicado colocar muitos produtos simples na loja.
Forum: Plugins
In reply to: [PayPal for WooCommerce] paypal plus integrationIf i add my currency to this line should work right?
$this->allowed_currencies = apply_filters('woocommerce_paypal_plus_allowed_currencies', array('EUR', 'CAD'));
or there are any other limitations?
Forum: Plugins
In reply to: [PayPal for WooCommerce] Support for Woocommerce SubscriptionsAlready started myself as its not so hard.
But i’m gonna ned some help for:
'subscription_amount_changes', 'subscription_date_changes', 'subscription_payment_method_change'
Forum: Plugins
In reply to: [PayPal for WooCommerce] Support for Woocommerce SubscriptionsI’m also really looking forward for this feature to use with Plus account.
We can help to develop this, or to help with $$$ also.Forum: Plugins
In reply to: [WpChats Lite] Great pluginLooks like somebody already did it
Forum: Fixing WordPress
In reply to: 2 Dropdowns for category and subcategoryI’ve found two ready solutions:
1-
https://www.ads-software.com/plugins/ultimate-wp-query-search-filter/screenshots/
https://www.ads-software.com/support/topic/subcategories-on-dropdown?replies=92 –
https://codecanyon.net/item/wordpress-meta-data-taxonomies-filter/7002700But at the end of the day i was really looking to make my own code anyway.
Hope that this helps someone.Any help for a custom made solution like @presstigers mentioned?
Forum: Fixing WordPress
In reply to: 2 Dropdowns for category and subcategorywhich line do i insert your code?
Forum: Fixing WordPress
In reply to: 2 Dropdowns for category and subcategoryThankyou presstiger, but where do i put this code?
$query = new WP_Query( array( 'category_name' => $_GET['dropdown_name'] ) );
add_shortcode('WP_Taxonomy_Chained_Select','WP_Taxonomy_Chained_Select_Function'); function WP_Taxonomy_Chained_Select_Function($atts) { $output = ''; // SET ALL THE ARGUMENTS THAT MATTER, // USING THE $atts ARRAY IF PRESENT, // OR DEFAULTS SET BELOW // set custom taxonomy name or use Categories $taxonomy = $atts['taxonomy'] ? : 'category'; // set CSS id of select element, use taxonomy name if empty $id = $atts['id']?:$taxonomy; // set CSS class of select element, use taxonomy name if empty $class = $atts['class']?:$taxonomy; // set input name, use taxonomy name if empty $name = $atts['name']?:$taxonomy.'[]'; // set sort orderby, use name if empty $orderby = $atts['orderby']?:'name'; // set sort order, use ASC if empty $order = $atts['order']?:'ASC'; // set hide_empty, use false if empty $hide_empty = $atts['hide_empty']?:false; // show_option_none text or use taxonomy name stripped of dashes and underscores, each word capitalized $show_option_none = $atts['show_option_none']?: 'Select '.ucwords(str_replace(array('-','_'),' ',$taxonomy)); // allow selected element to be specified, else use show_option_none $sel = $atts['selected']?:''; $show_option_none_sub = $atts['show_option_none_sub']?:false; $output .= '<div id="my_'. $id .'">'; $args = array( 'show_option_none' => $show_option_none, 'orderby' => $orderby, 'order' => $order, 'name' => $name, 'hierarchical' => 0, // hierarchical is presumed 'parent' => 0, // always top level of hierarchy 'echo' => 0, // no, we want to play with it as a variable first 'class' => $class, 'id' => $id, 'selected' => $sel, 'taxonomy' => $taxonomy, 'hide_empty' => $hide_empty ); $dropdown = wp_dropdown_categories( $args ); $strSearch = '<select '; $strReplace ='<select onchange="jQuery(\'.select_sub.'.$id.'\').hide(); jQuery(\'#sub\'+this.options[this.selectedIndex].value).toggle(); jQuery(\'select.'.$taxonomy.'_func\').prop(\'selectedIndex\', 0);"'; $dropdown = str_replace($strSearch,$strReplace,$dropdown); $output .= $dropdown; $parent = get_terms( $taxonomy, array ('parent'=> 0,'hide_empty'=> false, 'orderby'=>$orderby, 'order'=> $order) ); foreach ($parent as $term ) { if(count(get_terms( $taxonomy, array ('parent'=> $term->term_id,'hide_empty'=> false, 'orderby'=>$orderby, 'order'=> $order) )) > 0) { $output .= ' <div class="select_sub '. $id .'" id="sub'. $term->term_id .'" style="display:none;">'; $dropdown = wp_dropdown_categories( array('taxonomy'=> $taxonomy,'show_option_none' => $show_option_none_sub?:'Select '.$term->name.' Focus','name'=> $name,'parent'=> $term->term_id,'id'=>'sel'.$term->term_id,'hide_empty'=> false,'echo'=>0,'orderby'=>$orderby,'order'=>$order) ); $dropdown = str_replace("class='postform' >","class='".$taxonomy."_func'>",$dropdown); $output .= $dropdown." </div>"; } } $output .= "</div> <script> function ".$taxonomy."() { jQuery('#my_".$id." select option:selected').each(function () { jQuery('#".$id." select').prop('selectedIndex', 0); jQuery('.select_sub').hide(); }); } </script>"; return $output; }
Forum: Fixing WordPress
In reply to: 2 Dropdowns for category and subcategoryThis shortcode works great, but isn’t listing the posts
Forum: Fixing WordPress
In reply to: 2 Dropdowns for category and subcategoryI’ve found this plugin, but this does on the admin side only.
https://www.ads-software.com/plugins/acategory-dropdown-list/screenshots/
Forum: Plugins
In reply to: [Theme My Login] Translating Theme My Login@dome23, you have to change the page name itself.
Go to Page > Edit Pages and edit login, logout, lost password pages.