bbPress plugins customization
Remove breadcrumb
function bm_bbp_no_breadcrumb ( $param ){ return true; } add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');
Option 1 add_filter( ‘genesis_pre_get_option_site_layout’, ‘genesiscustomlayout’ ); function genesiscustomlayout(){ $pageobj = get_queried_object(); $pageid = absint($pageobj->ID); $pagelayout = get_post_meta($pageid , "_genesis_layout" , true); return $pagelayout; } Option 2 This function is to forced your custom post type content layout to full width. Common post type is post, page, and product ( woocommerce plugin pages ) and etc….
How to fix this kind of error? This is showing on your console of a browser. adsbygoogle.js:35 Uncaught TagError: adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them. With this codes below, your problem is solve. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> jQuery(document).ready(function($){ $(‘ins’).each(function(){ (adsbygoogle = window.adsbygoogle || []).push({}); }); });…
Step 1 Think about the name of your plugin. Step 2 Example is Shortcode URL plugin. Create a shortcode-url folder name inside of wp-content/plugins/. Step 3 Create shortcode-url.php file inside wp-content/plugins/ folder and put the codes below inside of your shortcode-url.php file. <?php /** * Plugin Name: Shortcode URL * Plugin URI: https://www.anthonypagaycarbon.com/ * Description: Shortcode URL is…
Page Settings In every popup created, each of them has a dedicated page settings that applies only that specific popup. You can setup an awesome popup using this features. [wdes-popup-title id=”1603″ class=”button”] Shortcode attributes Popup Title Shortcode attributes id – (required) This is your popup ID, without this, the popup will not work. class –…
Copy this this on your choosed templates. Locate a file code : locate_template( array( 'function-custom.php' ), true ); Require a file code : require_once( 'functions-custom.php' ); Include a file code : include( 'functions-custom.php' ); Get template functions-woocommerce.php Ex: get_template_part( ‘partials/content’, ‘page’ ); get_template_part( 'functions-woocommerce' );
Add BCC email in Woocommerce new order via product post meta? How to do that? Create a custom field with a meta_key of ’email_address’ and put the codes to your functions.php add_filter( ‘woocommerce_email_headers’, ‘mycustom_headers_filter_function’, 10, 2 ); function mycustom_headers_filter_function( $headers, $object ) { if( $object == ‘new_order’ ){ global $woocommerce; $cart = $woocommerce->cart; if(!empty($cart)){ $group…
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.