Require for Create Gutenberg Block with NPX (Node) Code editor Node.js development tools Local WordPress environment Firstly, go to your WordPress plugin directory, and then open it on the terminal […]
Get Image Path in WP Query Loop
Get Image Path in WP Query Loop $image = wp_get_attachement_images_src( get_post_thubnail_id(get_the_ID()), ‘thumbnail’ ); <img src”<?php echo $image[0]; ?>” alt=”<?php echo wp_get_atttachment_caption( get_the_ID() );?>” />
How to Dynamically Update the HTML Lang Attribute in WordPress Using functions.php
WordPress and dynamically update the <html lang=””> attribute for English and French pages by editing your functions.php file. function swigroup_custom_language_attributes( $output ) { // Get the current URL $url_path […]
Create a Taxonomies in Custom Post Type (CPT Plugin) and fetch category post results
Below is the code for fetch a particular CPT with created category/ Taxonomies with PHP WP_Query function.
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 […]
MySql query for fetch/ retrieve category data in WordPress with image thumbnail
MySql query for fetch WP post_id, post_title, post_date & name with using thumbnail for a particular WordPress category. WordPress also provides some methods for retrieving post data with thumbnails but […]
