1

I am new to WordPress and I want ask that how I can add .php files in the WordPress through Visual Editor. I won't be using those files directly but I need to validate some HTML form by calling that php script through Ajax. I am very good at PHP and many other web programming languages but I have never use WordPress. I would be highly grateful if you could help me with that. I can have more than 20 php files so I think it would pretty absurd to add all these files by adding new pages in the WordPress.

2 Answers 2

1

Since you do not have access to the FTP server, you will need a plugin, like https://wordpress.org/plugins/wp-file-upload/ to upload the PHP script to wp-contents folder.

Sign up to request clarification or add additional context in comments.

Comments

0

I would recommend uploading them to a /php/ subfolder in your wp-content/uploads/ folder via FTP. Then on your form you would point to a url like action=/wp-content/uploads/php/test.php

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.