Grow your CSS skills. Land your dream job.

WordPress: Embed a Plugin to a theme

  • # October 8, 2012 at 10:13 am

    Hello guys,
    Am developing a free WordPress theme, and i want to make an already existing responsive image slider plugin a part of the theme such that when the theme is installed and activated, the slider plugin is automatically activated as well.

    I don’t want to develop an image slider from scratch for two reasons

    1. very good ones already exists

    2. since its a free theme, i may not have all the time to provide world class support, so i’d prefer to use something made and regularly update by someone else

    # October 9, 2012 at 3:39 am

    ask people to install it themselves. put it on readme file.

    i don’t know if it is possible to activate plugin when activating your theme.

    but i know you can call function when activating theme . check add_action or register_activation_hook etc.

    maybe call plugin’s function when activating theme?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".