Hi @apsara19,
If I understand your concern correctly, your custom short code plugin, won’t activate and has no error visible? What happens when you try to activate it? What is the status?
Temporarily deactivate other plugins to check if there’s a conflict. If your plugin activates successfully when other plugins are deactivated, there might be a conflict that needs to be resolved.
Add the following lines to your wp-config.php file to enable debugging and display any potential error messages:
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);
This will display error messages on your site, which can help pinpoint the issue.
Best regards.
Thank you for your Response.
I have entered the code as you mentioned. But still I can’t activate the plugin. Now this error message is displayed. Plugin could not be activated because it triggered a fatal error.What can I do ? Please help.
Now you can see, and correct, the error caused by the plugin during activation. You can post the error in this thread if you need help.