Create Sitemap XML in Laravel 8

You will learn create sitemap in laravel. This tutorial will give you simple example of sitemap generator in laravel. Simply step by step laravel sitemap example Here you will learn sitemap.xml in laravel. So, let’s follow few step to create example of sitemap in laravel. Google gives the size of the site as one of […]

Limit the pagination link amount in Laravel

Laravel pagination is a very simple way to complete. Because laravel already build default pagination system and if needed then build custom pagination. But many time we have face problem in mobile device responsive. when the pagination item more and more. I have a simple solution for this problem. please try this solution: {{ $items->links() […]

PHP Convert XML to JSON

PHP convert xml to json is a very easy for you. please follow this tutorial and get xml to json format. Add Xml File: <?xml version=”1.0″ encoding=”UTF-8″?> <men_fashion> <product> <name>Piped Luxe Pique Polo</name> <price>$10.99</price> <description>Price Reflects 40% Off</description> </product> <product> <name>Striped Luxe Pique Polo</name> <price>$12.99</price> <description>Our softest polo yet is perfect for hanging out at […]

Custom Post Type With Taxonomy

Custom post type is a  new post type of wordpress. You can open your theme folder and function.php and added below this code for custom post type. add_action(‘init’, ‘cl_service’); function cl_service() { $labels = array( ‘name’ => ‘Service’, ‘singular_name’ => ‘Service’, ‘menu_name’ => ‘Services’, ‘name_admin_bar’ => ‘Services’, ‘add_new’ => ‘Add New’, ‘add_new_item’ => ‘Add New […]

How to fix woocommerce image size

Woocommerce is very popular eCommerce website. Sometimes this site products images is now display in correct size. How to fix it? First you can open theme folder then function.php file & paste below code in this file last. Image will be full size. function woocommerce_template_loop_product_thumbnail(){ global $product; $image_size=’full’; echo $product ? $product->get_image( $image_size ) : ”; […]

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top