Home / Blog

PHP Pagination Function

Category: Uncategorized

If you are looking for an easy and effective solution for PHP pagination then you are in the right place now. You just need to provide 2 parameters


Flutter Design Assets

Category: Flutter, Flutter Cheat Sheet

Padding rules // It will work for padding top, right, left & bottom padding: const EdgeInsets.only( top: 10.0, right: 10.0, bottom: 10.0, l


Mac apache connection refused

Category: , Apache, mac

cd /etc/apache2/ sudo mv httpd.conf httpd.conf-afterupdate sudo mv httpd.conf.pre-update httpd.conf sudo apachectl configtest sudo apachectl r


WP Custom fields on category

Category: , Uncategorized

// Show the custom fields on add taxnomony function smm_category_sk_add_image( $term ) { ?> <div class="form-field"> <label for="item_icon"


WordPress Ajax request send and receive

Category: , AJAX, jQuery, WordPress

Send request from HTML form <form data-action="<?php echo get_site_url().'/wp-admin/admin-ajax.php'; ?>"> <input type="hidden" name="a


File Permission for WordPress site

Category: , Ubuntu, VPS, WordPress

Connect server via command prompt.Just copy paste below code and press enter. sudo chown -R www-data:www-data /var/www


WordPress Menu Functions

Category: , Menu, Uncategorized

Register a new menu // Start of Register menu function menu_registration_prism_10928(){ register_nav_menus(array( "primary_menu" => __


WP Advance Post query with meta taxonomy & pagination

Category: , Query, WordPress

<? function GetPosts($data = null){ $Return = new stdClass; if($data){ extract($data); } $page = (


Create MySQL View

Category: , MySql

CREATE VIEW products_trending AS SELECT `ProductID`, `P_Title`, (SELECT `product_analysis`.`An_SaleDate` as oldest_sale_date FROM `product_analysis`


VS Code enable git on internal terminal in Windows

Category: , Uncategorized

Add this code in settings.json file "git.enabled": true, // Enable git first "git.path": "C:\\Program Files\\Git\\bin\\git.exe", // Git Installe


all rights reserved