Below Linux command run for set all permission recursively for all files and folder contain in folder. sudo chmod -R 777 /var/www/wordpress/plugins/ above command run in putty with using […]
Get author name of blog posted in WordPress
How to each blog post Author name in Blog anywhere using PHP in WordPress <?php $author_id = $post->post_author; echo get_the_author_meta(‘display_name’, $author_id); ?>
Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer
PHPMailer Install with Composer and solve SMTP error: Could not authenticate PHP developer setup PHPMailer for sending mail by PHP code. PHP mail() function also supports directly sending mail but […]
Create a Unique ID by JavaScript Function and Store into Variable
Create Unique ID by JavaScript There are different way to generate Unique ID or unique identifier number in JS. Its very useful and use in may cases rendering […]
With PHP MySQL Query retrieve fetch all WordPress Blog categories in JSON REST API
PHP MySQL database query for fetching categories data in JSON Format. I run my WordPress website with MySQL database so need to fetch the database categories post data in […]
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 […]
Create, Import and Export Database in MySQL or MariaDB by Putty
How to import, export, and create a database in MySQL or MariaDB Create a new database in MySQL or MariaDB First login to MySQL shell or MariaDB in putty using […]
Get full current page URL in PHP
Echo current page URL in a PHP page. to echo or get the current page URL in a PHP page, use $_SERVER. Its build-in variable in PHP, which is used […]
Develop PHP Webhook for Google Lead Form Extension
How to set up PHP webhook code for forwards google lead extension form. create a webhook in PHP, save this file in the root folder with adwords_webhook.php for connecting your […]
Create Rest API with JSON output form MySQL Database Tables Data in PHP
Developed Simple Rest API data in array convert into JSON fetch from MySQL Database Tables. Below is code for creating JSON Array API data fetch from MySQL database. I use […]