Home / Blog

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

Make Required WordPress Theme foders with terminal

Category: Terminal

mkdir -p "part" "plugins" "template" "inc/ajax" "inc/posts" touch "plugins/includer.php" touch "inc/includer.php" "inc/ajax/index.php" "inc/posts/inde

WP Read/UnRead status checking code helper

Category: PHP, WordPress

<?php // Start of class build by PrismICT.com class isRead{ function _construct(){ } private $postType = 'status_check'; private $statusN

WordPress custom query and pagination

Category: , AJAX, jQuery, PHP, WordPress

1. Create the view section where data will show <div class="all_contact_area"> <form class="ViewListing SubmitAuto" action="<?php echo

Wo Custom User Login CODEX

Category: , PHP, WordPress

if(!$_email){ $error['_email'] = __('Enter username/email'); } if(!$_password){ $error['_password'] = __('Enter password'); } if(!$error){ $authen

WP Register new user CODEX

Category: , PHP, WordPress

// Start of validation if(!$_agree){ $error['_agree'] = __('Must need to accept terms'); } if(!$_email){ $error['_email'] = __('Enter email');

WP Add new settings page for plugins/theme

Category: , Uncategorized

<?php // Add settings link on plugin listing page function my_plugin_settings_link($links) { $settings_link = '<a href="themes.php?page=invoic

WordPress Add page template from plugins

Category: , PHP, WordPress

$var = new Prism_IG_Templates(); // Start of Create class class Prism_IG_Templates { function __construct() { add_filter ('theme_page_templates',

Register custom post type in WordPress from Class OOP

Category: , PHP, WordPress

// Register new post type $var = new CreateThePostNow(); class CreateThePostNow { private $post_type = 'post_type'; // Your Post Type pr

all rights reserved