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 get wordpress site title name from url ?

get wordpress site title name from url  <?php // Exit if accessed directlyif ( !defined( ‘ABSPATH’ ) ) exit; function oops_script(){ wp_enqueue_style(“oops-style”, plugin_dir_url(__FILE__).”style.css”); }add_action(“wp_enqueue_scripts”,”oops_script”); /*+++++++ Declaring Global Variables +++++++++*/$domain =

Read More »

How to create login page with session in wordpress.

create login page with session in wordpres <?phpsession_start();if (isset($_SESSION[‘ID’])){ echo ‘<script LANGUAGE=”JavaScript”>window.location.href=”‘.site_url().’/login-dashboard”;</script>’;} <?php if(isset($_POST[‘submit’])) { $email=$_POST[’email’]; $password=$_POST[‘password’];                 global $wpdb;      

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 create professional login form in HTML and CSS ?

 create professional login form <html> <head> <style> section.elementor-element.elementor-element-809d463.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section { display: none; } .elementor-inner { display: none; } .wrapper{ width:100%; height:100vh; display: flex; justify-content: center; align-items: center; } .wrap{ width:80%; margin:auto;

Read More »