en

If you have a question, please read the Frequently Asked Questions below to see if the answer is here. If you have a query that was not covered below, please don’t hesitate to contact us and we’ll be happy to help you out.

Answers to common questions about licenses, payment process, refunds and customer support can be found on the page Common Questions.

Usage

Will this plugin work on my WordPress.COM website?

Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites.

Can I use this plugin on my language?

Yes. This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. The POT file is included and placed in the “languages” folder. Just send the PO file to us at the [email protected] and we will include this translation within the next plugin update. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!

How does it work?

Simply go to the plugin settings page, place your custom PHP code in the field, switch the toggle to the “ON” position and click the “Save changes” button. Enjoy the result of applying your custom PHP code. It’s that simple!

You can find the plugin settings page at “WordPress Admin Area” -> “Settings” -> “PHP Inserter PRO”.

Can I use HTML/CSS/JS code integrated in PHP code?

Yes. But you need to do it properly, like this:

function my_custom_html_code() {

    // Print the custom HTML code
    echo '<script>YOUR CUSTOM HTML CODE HERE</script>';

}
add_action( 'wp_head', 'my_custom_html_code' );

How much of PHP code (characters) I can enter in the code editor?

We don’t limit the number of characters.

On the plugin settings page, an error message appears. What could be wrong?

Here are a few of the most likely causes of the error message:

  1. You make a syntax error in the code that you have entered. Check the syntax of your code and try again.
  2. You entered two functions with the same name. Use a unique names for your functions.
  3. You have entered function with a name that is already occupied by another function. Use a unique name for your function.
  4. You are trying to overwrite an existing function (of WordPress, theme, or plugin). Instead, use filters and hooks.

Does this plugin requires any modification of the theme?

Absolutely not. This plugin is configurable entirely from the plugin settings page that you can find in the Admin Area of your WordPress website.

Does this require any knowledge of HTML or CSS?

This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.

Can I add my custom PHP code to a specific page of my website?

For now, this plugin does not have an option to apply the custom PHP code only on specific pages. We plan to add this feature soon. But for now in order to apply your custom PHP code only on specific pages of your website, you need to wrap your custom PHP code in a PHP function that will determine the page you want. You need something like this:

function my_custom_php_code() {

    // Stop the function if this is not the Home page of website
    if ( !is_home() ) {
        return;
    }

    // YOUR CUSTOM PHP CODE HERE

}
my_custom_php_code();

How often do you update the plugin?

We do not have any strict rules regarding the frequency of the plugin updates. Updates are released as needed and as they become available, not on a particular schedule.

We have three types of updates:

  • Adding new features - We add new features to the plugin whenever we have a new cool feature requests by our customers, as well as our team.
  • Code improvement - This makes the plugin more stable and faster, and also improves security.
  • Solving bugs or issues - If any bugs or issues appear due to browser updates or WordPress version changes, we make sure to update all affected products ASAP to keep you and visitors of your website safe.

Regardless of the type of updates, they should be applied as soon as conveniently possible.

Troubleshooting

It’s not working. What could be wrong?

As with every plugin, it’s possible that things don’t work. The most common reason for this is a web browser’s cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser’s cache.​ Clearing your browser’s cache may solve the problem.

It’s impossible to tell what could be wrong exactly, but if you post a support request in the plugin’s support forum on WordPress.org, we’d be happy to give it a look and try to help out. Please include as much information as possible, including a link to your website where the problem can be seen.

What to do if this plugin crashed the website?

This plugin has a built-in functions for checking the custom code for syntax errors, duplicate functions names, and etc. But plugin is not perfect, so there are times when the entered custom code causes the error and white screen (WSOD). This is due to the fact that your custom code has a syntax error that this plugin could not detect. When this happens with you, please perform the following steps.

  1. Access your server via FTP or SFTP.

    If you aren’t sure how usually your web hosting provider will have instructions somewhere on their website.

  2. Browse to the directory wp-content/plugins/my-custom-functions-pro/.

    The location of the folder wp-content depends on your host’s setup. Typically, the folder public_html contains all the files of the website, among which you will find this folder. Please contact your web hosting company to get help if you can’t find this folder.

  3. Rename the file START to STOP. This will stop the execution of your custom code. Now your website should be returned to life and the WordPress Admin Area should be accessible.
  4. Log in to Admin Area of your WordPress website.
  5. Go to the plugin settings page Settings -> PHP Inserter PRO.
  6. Edit/fix your custom PHP code that you entered before the crash.
  7. Return to the plugin folder and rename the file STOP to START and you’re done!

This plugin stored you entered code in the database of your website. For getting your code, you also can go to the Database -> Table “wp_options” -> Option “spacexchimp_p011_settings” -> “option_value”.

We are already working on a feature to automatically stop the execution of users custom PHP code for cases when this plugin could not detect the error, and this caused the inaccessibility of the website.

The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?

This plugin can not cause such problem. More likely, the problem are related to the settings of the website. It could just be a cache, so please try to clear your website’s cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser. Also please try to re-login to the website, this too can help.

Where to report bug if found?

Bug reports are very welcome! Please visit our contact page and report. Thank you!

Misc

Where to share any ideas or suggestions to make the plugin better?

Any suggestions are very welcome! Please visit our contact page and share. Thank you!

I love this plugin! Can I help somehow?

Yes, any contributions are very welcome! Please visit our donation page. Thank you!