This is a simple currency converter made using:
- WordPress (theme customization)
- AJAX for backend communication
- jQuery for frontend interaction
-User action → JavaScript captures input. -AJAX call → JavaScript sends data to PHP. -PHP logic → Processes conversion using WordPress backend. -Response → PHP sends result back. -Update UI → JavaScript displays the converted value instantly.
functions.php– handles shortcode, script loading, and AJAXcurrency-converter.js– AJAX and UI logic
Built locally using XAMPP and WordPress 6.8.2
##STEPS I FOLLOWED FOR THIS:
1.Install Wordpress 2.extract zip and rename it as currency converter 3.place the extracted folder at C:\xampp\htdocs\currency-converter 4.created basic wordpress page here: http://localhost/currency-converter/wp-admin and published. 5.activated theme twentytwentyfour in wordpress dashboard. 6.start xampp. start Apache. start mysql. 7.create database in xampp: http://localhost/phpmyadmin/index.php?route=/database/structure&db=currency-converter 7.update files C:\xampp\htdocs\currency-converter\wp-content\themes\twentytwentyfour\functions.php 8.create currency-converter.js in same path 9.and project run on localhost: http://localhost/currency-converter/currency-converter/
