Year: 2018
-
Install Reactjs easy and simple
Hello, welcome to therichpost.com. In this post, I will tell you, How to install reactjs on your local machine in easy and simple manner? Reactjs is a Javascript Library to build user interface. Now I am also learning Reactjs these day because of my passion to learn new things. In this post, we will see,…
Written by
-
Reactjs fetch data from wordpress
Hello, welcome to therichpost.com. In this post, I will tell you, Reactjs fetch data from wordpress. Reactjs is a Javascript Library to build user interface. This is data coming from wordpress in reactjs app index.html file: In this post, I will tell you, how to fetch data from wordpress(wordpress user) with reactjs. In my app,…
Written by
-
How to Add new country to WooCommerce countries list?
Hello, welcome to therichpost.com. In this post, I will tell you , How to Add new country to WooCommerce countries list? 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…
Written by
-
How to disable automatic updates in wordpress?
Welcome to therichpost.com. In this post, I will tell you, How to disable automatic updates in wordpress? Like I always say WordPress is the best cms. Here is working code to stop automatic updates in wordpress and you need to add this into wp-config.php file: //To disable automatic updates for major releases or development purposes, the…
Written by
-
How to get wordpress theme information?
Welcome to therichpost.com. In this post, I will tell you, How to get wordpress theme information? Like I always say WordPress is the best cms. Here is the working and tested for How to get wordpress theme information: <?php $theme_data = wp_get_theme(); echo $theme_data->get( ‘Name’ ); echo $theme_data->get( ‘ThemeURI’ ); echo $theme_data->get( ‘Description’ ); echo $theme_data->get(…
Written by
-
How to Add custom attribute to wordpress the_post_thumbnail?
Welcome to therichpost.com. In this post, I will tell you, How to Add custom attribute to wordpress the_post_thumbnail? Like I always say WordPress is the best cms. Here is the working and tested code and you need to add this with your the_post_thumbnail: the_post_thumbnail( ‘thumbnail’, array(‘itemprop’=>’image’) ); There are so many tricks in wordpress and i…
Written by
-
WooCommerce hook Displaying custom text in single product page summary
Hello, welcome to therichpost.com. In this post, I will tell you , WooCommerce hook Displaying custom text in single product page summary. 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…
Written by
-
How to Split Laravel Routes into Multiple Files?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to Split Laravel Routes into Multiple Files? Laravel is one of the top php mvc framework and growing very faster. First, we need to check route files defined in app/Providers/RouteServiceProvider.php. In that file, there are two functions called mapWebRoutes() and mapApiRoutes(). Those…
Written by
-
Woocommerce hook to hide place order button for a specific shipping class
Hello, welcome to therichpost.com. In this post, I will tell you, Woocommerce hook to hide place order button for a specific shipping class. 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…
Written by
-
How to get WP_query posts according acf field values?
Welcome to therichpost.com. In this post, I will tell you, How to get WP_query posts according acf field values? Like I always say WordPress is the best cms. Here is working and tested wp_query posts according to acf fields value and you can add this code any your theme’s template file: <?php $args = array(…
Written by