Integrate Transmitsms SMS API use with PHP cURL

Transmit SMS API use with PHP cURL. Send SMS by using API to retrieve information about messages and campaigns. Below the PHP code for how to use Transmit SMS API. <?php $post = array( ‘to’ => ‘919999******’, ‘from’ => ‘MyFreeOnlineTools’, ‘message’ => ‘Thanks for subscribe with MyFreeOnlineTools. Our Online Free tools help you for work […]

Text Replace By Define Simple Function in WordPress

Text replacement in WordPress By Define Simple Function In WordPress replace text by define function in function.php file. By this code allow to easily define text or HTML that replace in Wodpress Post, pages or comment. By this text, replacements can easily work on the comment, post, and pages.   function start_modify_html() { ob_start(); } […]

JavaScript Spread Operator

JavaScript Spread Operator   const array =[1,2,3,4]; const arrayTwo = […array, 4]; console.log(arrayTwo); const person = { name:’Brad’, age:36 } const newPerson = { …person, email: ‘[email protected]’ } console.log(newPerson); You can also use filter and stroe values in new array const arrayThree = […array.filter(num => num !== 2)]; console.log(arrayThree);  

HTML 5 Page Structure | HTML 5 Code Layout

Sample Code for HTML 5 Page Structure <!DOCTYPE HTML> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /> <meta name=”viewport” content=”width=device-width”> <meta name=”viewport” content= “width=device-width, initial-scale=1.0”> <title>HTML 5 Page Title</title> </head> <body> <header> <nav> <ul> <li>Navigation Menu List</li> </ul> </nav> </header> <section> <article> <header> <h2>Article Title Here</h2> <p>Sample Code for Paragraph</p> </header> <p>Sample code for HTML 5 […]

Upload Image By Ajax Using jQuery FormData Without Submit Form

Image Upload By JQuery Ajax and PHP File uploading by jQuery Ajax,  PHP, and  HTML it’s a common feature for the dynamic application but sometimes when form submitted page got refresh after clicked submitted button. But if don’t need to refresh the page use jQuery and Ajax for sending form-data to PHP File.  In this […]

Create an Accordion with HTML and jQuery

Simple Accordion with HTML & JQuery An accordion used to create FAQ and Question & Answers. A vertical accordion is the show list. Each item can be expanded or collapsed to show and hide content with that item. It helps to allow the developer to handle the larget amount of text into small spaces on […]

Send Mail by JavaScript AJAX PHP Mail Function by Submit form

JQuery AJAX and PHP Code for Contact Form Ajax (Asynchronous JavaScript and XML) means by send or receive data with the server without refreshing or reloading the web page. In this post explain about form data submitted using by Ajax and using mail function for send email. In this post also given code with an […]

Put Multiple Properties of CSS in jQuery

Put Multiple Properties of CSS in jQuery jQuery(‘container’).children().css({‘color’:’pink’, ‘background-color’:’blue’, ‘font-family’:’arial’, ‘font-size’:’20px’});

Get selected uploaded file name in input file by jQuery without fake path

Uploaded file value comes with a fake path, how to get filename without a fake path. In this code, how to get filename without full path, only use the file name which is upload in the input file.  In other words, get an image or file temp name by jquery when user upload file in input […]

How to add blog post title or heading in WordPress Single Blog

How to add blog post title or heading in WordPress Single Blog   <h2><?php single_post_title( ‘Current Open Post: ‘ ); ?></h2>