Dark

Light

Dark

Light

Scroll to top
Amitpal Singh
Posted by Amitpal Singh
November 4, 2020

How to add custom role in wordpress?

add_role( 'test', 'Test Role', array( 'read' => true, // True allows that...

Read More
Amitpal Singh
Posted by Amitpal Singh
November 2, 2020

How to enable featured image for category and tags?

Things we will proceed with:1. edit Functions.php2. Create featured-image-for-categories.php file in theme...

Read More
Amitpal Singh
Posted by Amitpal Singh
November 2, 2020

Get Category ID inside Category template

$category = get_queried_object(); echo $category->term_id;

Read More
Amitpal Singh
Posted by Amitpal Singh
October 22, 2020

Custom Elementor Popup

// Add Shortcode function elementor_poup( $atts ) { // Attributes $atts =...

Read More
Amitpal Singh
Posted by Amitpal Singh
October 15, 2020

How to use shortcode with ob_start and ob_end_clean() ?

Now use [shortcodename] like this anywhere in the page or in between...

Read More
Amitpal Singh
Posted by Amitpal Singh
October 14, 2020

Localization of script in wordpress

Now you can use ajax url in js file with variable myajax.ajaxurl

Read More
Amitpal Singh
Posted by Amitpal Singh
September 8, 2020

How to index html table rows or how to Auto-number table rows?

CSS: Method 1 table {    counter-reset: rowNumber;}table tr { counter-increment: rowNumber;}table tr...

Read More
Amitpal Singh
Posted by Amitpal Singh
August 4, 2020

How to update data in wordpress database table with functions.php?

How to update data in wordpress database table with functions.php?

Read More
Amitpal Singh
Posted by Amitpal Singh
August 4, 2020

How to insert data in wordpress database table with functions.php?

How to insert data in wordpress database table with functions.php?

Read More