Author: therichpost
-
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

-
Tables Relationship in Laravel to get data
Hello to all, welcome to therichpost.com. In this post, I will tell you, Tables Relationship in Laravel to get data. Laravel is one of the top php mvc framework and growing very faster. Here is the working to get data from multiple tables with relationship: Product-table Model: public function categories(){ return $this->hasMany(‘App\Category’,’product_id’); } Category-Table Model:…
Written by

-
How to Upload Multiple Files in Laravel?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to Upload Multiple Files in Laravel? Laravel is one of the top php mvc framework and growing very faster. Here is the working code for upload Multiple files in laravel: This is just an exmple code: $files = $request->file(‘file’); if($request->hasFile(‘file’)) { foreach ($files as…
Written by

-
How to Mapping Props to an Array in React?
Hello, welcome to therichpost.com. In this post, I will tell you, How to Mapping Props to an Array in React? Reactjs is a Javascript Library to build user interface. Here is the example code for this: Object.keys() is used to convert the object to array, and create the JSX using Array.map(): const props = { “links”: {…
Written by

-
How cluster speeds up the apps build in node js?
Hello, welcome to therichpost.com. In this post, I will tell you, How cluster speeds up the apps build in node js? Node Js is an open-source Javascript cross platform. Now came to, what is cluster? :- Cluster is the node js module, which is used to speed up the applications. Nodejs runs single threaded process, means one request at…
Written by

-
Fullcalendar with select month drop down
Hello to all, welcome to therichpost.com. In this post, I will tell you, Fullcalendar with select month drop down. fullcalendar is the best A JavaScript event calendar. Customizable and open source.In this post, I will add month dropdown in full-calendar navbar and with select month options, full-calendar will change the view according month. Here is the working…
Written by
