Skip to content

Instantly share code, notes, and snippets.

View Yeadh's full-sized avatar
🏠
Work For ThemeBeyond

MD. YEADH HASAN BAPPY Yeadh

🏠
Work For ThemeBeyond
View GitHub Profile
add_filter( 'woocommerce_product_tabs', 'woo_product_tab', 98 );
function woo_product_tab( $tabs ) {
// print_r( $tabs );
$tabs['additional_information']['title']="ASSEMBLY";
$tabs['description']['priority']=10;
$tabs['videos']['priority']=25;
$tabs['additional_information']['priority']=15;
@Yeadh
Yeadh / Register redux in wordpress function.php file
Created April 13, 2016 06:56
Register redux in wordpress function.php file
//adding redux fremwork theme options
if(!class_exists("ReduxFrameworkPlugin")){
require_once(get_template_directory()."/inc/redux-framework/redux-framework.php");
require_once(get_template_directory()."/inc/theme-option.php");
}
@Yeadh
Yeadh / Regester scripts and styles in function.php
Last active April 11, 2016 19:59
Regester scripts and styles in function.php
function add_function_name(){
//regester script from wordpress
wp_enqueue_script( 'jquery');
wp_enqueue_script( 'jquery-masonry');
//regester styles
wp_enqueue_style( 'cluster-main', get_stylesheet_uri() );
wp_enqueue_style( 'cluster-bootstrap', get_template_directory_uri() . '/css/bootstrap.min.css');
//regester scripts