Woo Commerce Settings for Check-out Form [closed]

This is unlikely to be a Woocommerce setting, or if it is in the Woocommerce settings, it has been added by an additional plugin from the theme maker. Check your theme settings, or for a widget that is configured to appear on user account pages. Since the CSS style .avada_myaccount_user is being used for this … Read more

WooCommerce order note color [closed]

WooCommerce 2.5 is on its way. That introduces a filter for $note_classes which was missing in previous version. Once that ships, you can use following code which adds css classes to order note containers. Then you can use those classes to apply colors. You need to put this in your functions.php file. function woo_process_order_note_classes($note_classes, $note){ … Read more

DatePicker in Woocommerce (My Account) Registration [closed]

Don’t include jquery from any other source, it will create conflict. Bcoz jQuery is pre bundled in wordpress by default. For your question, add an id or class to the input element then add the datepicker based on the class. For example <input type=”text” class=”da_test” value=”” > <script type=”text/javascript”> $(window).load(function() { $(‘.da_test’).glDatePicker(); }); </script> This … Read more

How to customize a theme? [closed]

First of all, don’t ask opinion based questions on StackOverflow. Secondly, try Googling for an answer You can try the WordPress Theme Customizer, check out the docs: WP Codex Here is what it looks like Basically you need to register Sections (stores a set of options). Then you need to register Settings (to store the … Read more

Create a shortcode to display the “the_content ()” in my post [closed]

Here is an example of a shortcode that renders post content based on the id and type attribute. [post type=”content” id=”2″] [post type=”title” id=”2″] If you want to render from a template you would use: echo do_shortcode ( ‘[post type=”content” id=”294″]’ ); echo do_shortcode ( ‘[post type=”title” id=”294″]’ ); And here is the actual shortcode … Read more

What does this if-statement do?: if($pages=’ ‘) {}

$pages is an optional parameter. If not set, $pages will equal an empty string. So if($pages == ”) checks to see if that parameter has been set. In this call, the parameter has not been set: kriesi_pagination(); In this call, the parameter has been set: kriesi_pagination(5); In the tutorial link that you posted, read this … Read more

hide particular category post from front page only [closed]

To exclude a category from the home page, use the pre_get_posts action: function exclude_category( $query ) { if ( $query->is_home() && $query->is_main_query() ) { $query->set( ‘cat’, ‘-1,-1347’ ); } } add_action( ‘pre_get_posts’, ‘exclude_category’ ); In this example, 1 and 1347 are the category IDs you’d like to exclude. Also see the Conditional Tags page for … Read more