Skip to Content
PHPCODE
November 26, 2022
How to create post type in wordpress
How to create post type in wordpress: /* register Gallery post type*/ function wodpress_gallery_posttype() {…
October 29, 2022
Cookies ajax in WordPress
/*Start COOKIES SET*/ add_action("wp_ajax_close_emergency" , "close_emergency"); add_action("wp_ajax_nopriv_close_emergency" , "close_emergency"); function close_emergency(){ $repeat_announcement=get_field('repeat_announcement','option'); if(!empty($repeat_announcement)){ $repeat_ann_var=$repeat_announcement; }else{…
October 29, 2022
Message of featured image in wordpress
function add_featured_image_instruction($content) { global $post; $post_type = get_post_type(); if($post_type == 'c_news'){ $content .= '<p>Please upload…
October 23, 2022
all in onewp migration and alli n one wp migration unlimited extension plugin
(1) all-in-one-wp-migration Link https://drive.google.com/file/d/1BuKkTvFB2BO8bvNU0ZE3pucFD0XMR_cw/view?usp=sharing (2) all-in-one-wp-migration-unlimited-extension Link https://drive.google.com/file/d/118c-u1FrpmdmPFHhCx7oiVD6dsgpdLDP/view?usp=sharing  
October 18, 2022
loader
.loader { width: 50px; height: 50px; margin: 0 auto 20px; background-image: url(images/loader-outline.gif); background-position: center; background-repeat:…
October 18, 2022
Theme Setup
https://underscores.me/ include folder (1) themesetup.php (2) general_function.php (3) custom_post.php (4) custom_image_size.php functions.php /** * Include…
September 24, 2022
Ajax load more in WordPress
how to add load more button in word press without plugin Step by Step :…
April 15, 2022
phpcodeinformation Standard in all projects
First, you need to follow this phpcodeinformation Standard in all projects You must know below…
April 15, 2022
phpcodeinformation WordPress Standard
phpcodeinformation WordPress Standard   Create theme from “http://underscores.me” with proper name and comments Theme Name:…
April 14, 2022
Simple Pagination Post Type
$paged = get_query_var(‘paged’) ? get_query_var(‘paged’) : 1; $args = array(‘post_type’ => ‘post’, ‘posts_per_page’ => 1,…
PHPCODE © 2023