Below is the code for fetch a particular CPT with created category/ Taxonomies with PHP WP_Query function.
Creating WordPress PHP Fetch Result to Custom Templates with CPT (Custom Post Type UI Plugin)
Add CPT plugin in your WordPress, then after create a Post type with plugin after create post type its appear in left side WordPress menu. Create Custom post type with […]
Gravity Form Submission with Zoho Lead Integration Or Form Data push to Zoho CRM
Gravity form predefined function gform_after_submission is executed at the end of form submission process when user submit the form.Gravity form gform_after_submission function contact entry object parameter contains all submitted values […]
How to change any WordPress blog inner content link href by PHP code
WordPress Blog Inner Content Href Link change or update with PHP. Firstly, go to includes directory in the WordPress theme folder below path ../blog/wp-content/themes/enfold/includes in includes folder find loop-index.php Find […]
Send Object data and variable data with FormData objects using Ajax-requests in jQuery
Send additional parameter as object and variable with form data with ajax using jQuery. JavaScript / Ajax Code FormData object is an iterable structure that resembles an array and contains […]
Code Implement JavaScript Async/Await
Implement JavaScript Async/Await Async keyword before a function return a promise and await keyword used inside async function. Await pause the execution and wait fo promise response result. async function […]
JavaScript Try Catch Throw error handling when using API fetch promise
Handling of JavaScript Try Catch Throw errors while utilizing the API fetch promise JavaScript Promise Fetch API with error handling of try catch and throw. Below I explain with code, […]
Use chown -R for user premission in linux
[av_codeblock wrapper_element=” wrapper_element_attributes=” codeblock_type=” av_uid=’av-lf4zais4′ custom_class=”] Grant user premission using chown command in linux Linux command for grant all permission to specified folder. Permission like 755, that folder can can […]
Fetch all H1 and H2 text and push into an array
[av_codeblock wrapper_element=” wrapper_element_attributes=” codeblock_type=” av_uid=’av-lczzquub’ custom_class=”] Get all H1 and H2 heading content and text push to array var headingOne = []; var headingTwo = []; var bothHeading = []; […]
How To Export Databases in MySQL or MariaDB
Export Databases in MySQL or MariaDB Export databases is a basic task for all web developers when using MySQL or MariaDB. Use MySQL dump for database backup its require for […]