Title: Include basic plugin into functions.php to load with theme
Last modified: August 21, 2016

---

# Include basic plugin into functions.php to load with theme

 *  [mak1wp](https://wordpress.org/support/users/mak1wp/)
 * (@mak1wp)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/include-basic-plugin-into-functionsphp-to-load-with-theme/)
 * Hi,
 * I’m trying to include a basic plugin into a theme build, working on Localhost
   I’ve simply included `require_once('path/plugin.php');` ito functions.php and
   changed all required paths within the plugin itself and it seems to work absolutely
   fine. However! I dont seem to be able to install the theme on any other wordpress
   installation – I just get a white screen for the front and backend of the wordpress
   installation.
 * Does anyone know what I’ve done wrong here?
 * Many thanks in advance for any replies!!

Viewing 1 replies (of 1 total)

 *  Thread Starter [mak1wp](https://wordpress.org/support/users/mak1wp/)
 * (@mak1wp)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/include-basic-plugin-into-functionsphp-to-load-with-theme/#post-3696473)
 * I think I need to register it? But not too sure how to go about doing this? :
   S

Viewing 1 replies (of 1 total)

The topic ‘Include basic plugin into functions.php to load with theme’ is closed
to new replies.

## Tags

 * [white screen](https://wordpress.org/support/topic-tag/white-screen/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [mak1wp](https://wordpress.org/support/users/mak1wp/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/include-basic-plugin-into-functionsphp-to-load-with-theme/#post-3696473)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
