This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('wpt_query_args','wpt_custom_args_mangaement'); | |
function wpt_custom_args_mangaement( $args ){ | |
$args['posts_per_page'] = 3; | |
return $args; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Create Table in WP Database | |
* Plugin URI: https://wooproducttable.com/pricing/?utm_source=WPT+Plugin+Dashboard&utm_medium=Free+Version | |
* Description: (WooproductTable) WooCommerce product table plugin helps you to display your products in a searchable table layout with filters. Boost conversions & sales. Woo Product Table is best for Wholesale. | |
* Author: CodeAstrology Team | |
* Author URI: https://wooproducttable.com/?utm_source=WPT+Plugin+Dashboard&utm_medium=Free+Version | |
* Tags: woocommerce product list,woocommerce product table, wc product table, product grid view, inventory, shop product table | |
* | |
* Version: 3.2.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************** | |
* CUSTOM CODE FOR WOO PRODUCT TABLE | |
* Here we have used important, because Our theme has override and Woo Product Table plugins Style. | |
****************************/ | |
.wpt_product_table_wrapper p.woocommerce-mini-cart__buttons.buttons { | |
display: inline-flex; | |
float: right; | |
} | |
.wpt_product_table_wrapper p.woocommerce-mini-cart__buttons.buttons a.button { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function ca_ua_remove_placeholder( $WPT_DATA ){ | |
$WPT_DATA['search_select_placeholder'] = "Choose your text"; | |
//To hide placeholder, leave empty value | |
//$WPT_DATA['search_select_placeholder'] = ""; | |
return $WPT_DATA; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# END WordPress | |
php_value max_input_vars 4000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function ca_notice_timeout_change($WPT_DATA){ | |
$WPT_DATA['notice_timeout'] = 10000; //mili seconds | |
return $WPT_DATA; | |
} | |
add_filter('wpto_localize_data','ca_notice_timeout_change'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<php | |
/** | |
* Add the following code in your functions.php or any plugin. | |
*/ | |
if (!function_exists('wpt_remove_taxonomy_link')) { | |
function wpt_remove_taxonomy_link() | |
{ | |
?> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( !function_exists( 'load_terms_by_ajax' ) ) { | |
function load_terms_by_ajax(){ | |
$ky = isset( $_GET['q'] ) && !empty( $_GET['q'] ) ? $_GET['q'] : ''; | |
$term_name = isset( $_GET['key'] ) && !empty( $_GET['key'] ) ? $_GET['key'] : ''; | |
$texonomy_sarch_args = array('hide_empty' => true,'orderby' => 'name','order' => 'ASC', 'name__like' => $ky, ); | |
$tax_obj = get_terms( $term_name, $texonomy_sarch_args ); | |
$arr['results'] = array(); | |
if( count( $tax_obj ) > 0 ){ | |
foreach( $tax_obj as $item ){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul id="site-header-cart" class="site-header-cart "> | |
<li class=""> | |
<a class="cart-contents" href="http://localhost/CleaniaCommerce/cart/" title="View your shopping cart" style="opacity: 1;"> | |
<span class="amount">$40.00</span> <span class="count">3</span> | |
</a> | |
</li> | |
<li> | |
<div class="widget woocommerce widget_shopping_cart"> | |
<div class="widget_shopping_cart_content" style="opacity: 1;"> | |
<ul class="woocommerce-mini-cart cart_list product_list_widget "> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select.query_box_direct_value,label.search_keyword_label.single_keyword { | |
display: none; | |
} | |
.wpt_search_box .search_single .search_single_column { | |
width: 100%; | |
float: none; | |
} |