Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to align center div in div in html ?

How to align center div in div in html ? <html> <head> <style> .outer{ width: 100%; height: 100vh; background:red; } .container{ width: 35%; height: 60vh; background:blue; position: absolute; top:0; bottom:

Read More »

How to create custom wordpress logout button(wp_logout_url) in wordpress?

custom wordpress logout button(wp_logout_url) in wordpress <li class=”menu-logout”><a href=”<?php echo wp_logout_url(); ?>”><span><i class=”fa fa-sign-out”></i></span>Logout</a></li> Or <li class=”signOut”><?php wp_logout(); ?></li> add_action( ‘wp_logout’, ‘auto_redirect_external_after_logout’); function auto_redirect_external_after_logout(){ wp_redirect( ‘http://redirect-url’ ); exit(); } Get

Read More »

How to fetch file name, extension and basename from url in php?

Fetch file name, extension and basename from url in php <?php $file = ‘http://localhost/brrrr/wp-content/uploads/2019/11/New-Business-card-4.jpg’; $ext = pathinfo($file); echo $ext[‘dirname’] . ‘<br/>’;   // Returns folder/directory echo $ext[‘basename’] . ‘<br/>’;  // Returns

Read More »

How to Remove WooCommerce Breadcrumbs in WordPress?

Remove WooCommerce Breadcrumbs in WordPress add_action(‘template_redirect’, ‘remove_shop_breadcrumbs’ ); function remove_shop_breadcrumbs(){     if (is_shop())         remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0); } OR if(is_shop()){ … } // shop

Read More »

How to stop and pause youtue video in jquery?

How to stop and pause youtue video in jquery?                                Html <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/mKt-MDwtVB4″ frameborder=”0″

Read More »