get custom post by acf custom field value
To get custom posts by meta field value: $args = array( 'post_type' => 'student_tc', 'meta_query' => array( 'relation' => 'OR',…
Read Article16 articles found
To get custom posts by meta field value: $args = array( 'post_type' => 'student_tc', 'meta_query' => array( 'relation' => 'OR',…
Read ArticleFollow these steps to remove google fonts in your wordpress website: Open your theme file: wp-content/themes/pro/cornerstone/includes/classes/styling/class-font-manager.php comment or delete the following…
Read Articlecopy or paste the below code into functions.php file add_action( 'init', 'user_role_permision'); function user_role_permision() { $role = get_role('dc_vendor'); //$role->add_cap("import"); //…
Read ArticleCopy and Paste the following code for creating a custom popup with html/css and js or download the file click…
Read ArticleAdvertisement
Increase/Reset and manage jwt token expirattion time in wordpress using filter. Use jwt_auth_token_before_sign filter for managing JWT token. add_filter( 'jwt_auth_token_before_sign',…
Read ArticleCreate a custom elementor widget with section and multiple elementor controls: Follow the below instruction: 1. Copy and paste the…
Read ArticleAdd script after page scroll: Copy and paste following code into your js file and add your script to addscriptfunc…
Read Article//create new Admin User in WordPress add_action('init','create_new_admin_user'); function create_new_admin_user(){ $user = 'your username'; $pass = 'Password'; $email = 'your email…
Read ArticleAdvertisement
Create a New WordPress user without admin login through function.php file. Follow the below steps to create a user –…
Read Article1. Open function.php file and paste the below code to deined wordpress ajaxurl /*defined ajax url*/ add_action('wp_head', 'wordpress_frontend_ajaxurl'); function wordpress_frontend_ajaxurl()…
Read ArticleAdvertisement