bbPress plugins customization
Remove breadcrumb
function bm_bbp_no_breadcrumb ( $param ){
return true;
}
add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');
Remove subcategory count. add_filter( 'woocommerce_subcategory_count_html', function(){ return ''; }); Change the number of loop shop columns. add_filter( 'loop_shop_columns', function(){ $cat_obj = get_queried_object(); $cat_id = $cat_obj->term_id; if( get_woocommerce_term_meta( $cat_id, 'display_type', true )== 'subcategories' ){ return 3; }else{ return 4; } }); Change the number of loop shop columns css. Just add a class on the body…
{% if page.handle == 'sweet-dolls' %} {{ 'sweetdoll.css' | asset_url | stylesheet_tag }} {% endif %} {% if page.handle == 'tous-summer' %} {% section 'toussummer1' %} {% endif %} <script> var custom_timeout_function = ( function () { var timers = {}; return function (callback, ms, uniqueId) { if (!uniqueId) { uniqueId = "Don't call this…
The7 pagination in custom WP_Query, just copy the code below and paste it in your functions.php. dt_paginator( $query, array( 'class' => 'paginator no-ajax', 'ajaxing' => false ) ); [php] Example: [php] $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args = array( 'cat' => '8', 'posts_per_page' => 8, 'paged' => $paged ); $query =…
Copy and paste the codes below to your custom template. global $current_user; echo get_avatar( $current_user->ID, 150, "https://www.anthonypagaycarbon.com/wp-content/uploads/2016/05/logo.png" ); For more detailed information, please visit here https://codex.wordpress.org/Function_Reference/get_avatar. Happy coding 🙂
Add Woocommerce product category image using GeneratePress WordPress theme in few steps. You need to access your functions.php. Either on a parent theme or a child theme. In my case I’m using a child theme so gonna paste the codes below on child themes functions.php Please copy the code below and paste it into your…
How to fix “Warning: Cannot modify header information – headers already sent” error? Do have something like this error on your WordPress site? Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/themes/template/file.php:1) in /public_html/post.php on line 197 To fix this, I simply go to this folder directory “/public_html/wp-content/themes/template/” and find…
It’s going to be end of mine day, however before end I am reading this enormous post to improve my knowledge.
I think the admin of this website is in fact working hard for
his website, for the reason that here every material is
quality based data.
Hey, thanks for sharing so much helpful information with us.
I believe I will reread this post a couple times. Great information!
I just want to say I am just new to blogging and site-building and certainly loved your web-site. More than likely I’m planning to bookmark your site . You definitely come with great articles. Thank you for sharing your web-site.
I just want to mention I am newbie to weblog and certainly enjoyed you’re blog site. Most likely I’m planning to bookmark your blog . You actually come with outstanding articles and reviews. Kudos for sharing with us your webpage.