WordPress.org

Ready to get started?Download WordPress

Forums

Include basic plugin into functions.php to load with theme (2 posts)

  1. mak1wp
    Member
    Posted 1 year ago #

    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!!

  2. mak1wp
    Member
    Posted 1 year ago #

    I think I need to register it? But not too sure how to go about doing this? :S

Topic Closed

This topic has been closed to new replies.

About this Topic