How to add custom role in wordpress?
add_role( 'test', 'Test Role', array( 'read' => true, // True allows that...
Read MoreHow 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 MoreGet Category ID inside Category template
$category = get_queried_object(); echo $category->term_id;
Read MoreCustom Elementor Popup
// Add Shortcode function elementor_poup( $atts ) { // Attributes $atts =...
Read MoreHow to use shortcode with ob_start and ob_end_clean() ?
Now use [shortcodename] like this anywhere in the page or in between...
Read MoreLocalization of script in wordpress
Now you can use ajax url in js file with variable myajax.ajaxurl
Read MoreHow to index html table rows or how to Auto-number table rows?
Auto number table rows with CSS and JS 1. CSS Method table...
Read MoreHow to update data in wordpress database table with functions.php?
How to update data in wordpress database table with functions.php?
Read MoreHow to insert data in wordpress database table with functions.php?
How to insert data in wordpress database table with functions.php?
Read More