Month: May 2018
-
Check Html Element hasAttr with jquery
Hello, welcome to therichpost.com. In this post, I will tell you, Check Html Element hasAttr with jquery. I personally like jquery very much. Most of my code is full with jquery. When I stuck in php or other language then that stuckness I remove with jquery code. Today, with my code, we will check, html…
Written by
-
How to show of an array data in Laravel view?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to show of an array data in Laravel view? Laravel is one of the top php mvc framework and growing very faster. In this post, we will show laravel array controller data in laravel view and here is the working code for…
Written by
-
WooCommerce Single Product Page add_action Hooks
Hello, welcome to therichpost.com. In this post, I will tell you, WooCommerce Single Product Page add_action Hooks. WordPress is the best cms and Woocommerce is the best Ecommerce plugin. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress.…
Written by
-
How to remove the user avatar from WordPress admin toolbar?
Hello, welcome to therichpost.com. In this post, I will tell you, How to remove the user avatar from WordPress admin toolbar? Like I always say WordPress is the best cms. Here is the working code to remove user avatar from wordpress admin toolbar and you need to add this into your theme’s functions.php file: add_action(‘admin_head’,…
Written by
-
Redirect WordPress guest user if he tries to access a specific page
Hello, welcome to therichpost.com. In this post, I will tell you, Redirect WordPress guest user if he tries to access a specific page. Like I always say WordPress is the best cms. If guest user, in our wordpress website and we don’t want guest user to access our wordpress page then we can redirect that…
Written by
-
How to get Get author avatar for particular user inside the loop?
Hello, welcome to therichpost.com. In this post, I will tell you, How to get Get author avatar for particular user inside the loop? Like I always say WordPress is the best cms. Today In this post, we will get author avatar image in wordpress post loop and there are various methods and here are the…
Written by
-
WordPress hook load wp_enqueue_style only for specific plugin admin page
Hello, welcome to therichpost.com. In this post, I will tell you, WordPress hook load wp_enqueue_style only for specific plugin. Like I always say WordPress is the best cms. In this, I will tell you, If you want to load style for specific plugin admin page then please use below trick and here is the working…
Written by
-
How to delete the default post type and category in wordpress?
Hello, welcome to therichpost.com. In this post, I will tell you, How to delete the default post type and category in wordpress? Like I always say WordPress is the best cms. In this post, I will tell you code to remove default post type in wordpress dashboard menu and here is the working code: add_action(‘admin_menu’,’remove_default_post_type’);…
Written by
-
How to make dynamic bootstrap divs with vue for loop?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to make dynamic bootstrap divs with vue for loop? Laravel is one of the top php mvc framework and growing very faster. I liked Vue Js code because its simple and clean. Here is the working code for make dynamic bootstrap divs with…
Written by
-
How to use sessions and other libraries in codeigniter?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to use sessions and other libraries in codeigniter? Codeigniter is one of the top php mvc framework and growing very faster. Here we will use sessions and other libraries in Codeigniter controller file: Controller File: public function __construct() { parent::__construct(); $this->load->library(‘session’);//session library…
Written by