Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all articles
Browse latest Browse all 26892

Mark / t31os on "How to create a plugin to add a little snippet to function.php?"

$
0
0

You should leave the theme support to the theme, it's not your plugin's place to go modifying the theme's files, especially the functions file.

If your plugin requires that support, write it into the installation instructions, the FAQ section of the plugin page and/or explicitly display a message on the plugin's setup page that states what users are required to add to their themes to properly use the plugin.


Viewing all articles
Browse latest Browse all 26892

Trending Articles