WordPress is an open-source Content Management System that is based on PHP and MySql and is used to create a dynamic website. It was developed by Matt Mullenweg and Written in PHP. WordPress is one of the most popular that allows customizing and managing the website from its back-end content management system.
It can be used for both client-side as well as server-side development.
For adding the code to your WordPress website follow these simple steps.
Step 1: First login to your WordPress website using the user id and password of your WordPress website.
Step 2: After login into your WordPress website, Now hover over the “Plugins” section and then click on the “Add New” button to add the “WP Code” plugin to your WordPress website.
Step 3: Now search for the “WP Code” in the search box and then click on the “Install Now” button to install the plugin.
Step 4: After installing the plugin click on the “Activate” button to activate the plugin.
Now the “WP Code” gets appearing in the WordPress website as “Code Snippets” on your WordPress website.
Step 6: Now the WP Code window appears on your screen, Click on the Your Custom Code” to add the custom code to your WordPress website.
console.log('Hello World'); alert("Hello GFG");
After saving the code snippet also activate the using the “Activate” toggle.
Step 9: Finally click on the “Update” button to save the code snippet and it will start working on your WordPress website.
Please Login to comment...