WordPress.org

Ready to get started?Download WordPress

Forums

Point-of-Sale (POS) - better to publish as theme or plugin? (5 posts)

  1. potato5
    Member
    Posted 8 months ago #

    Hi everybody,
    Your feedback would be appreciated..

    I'm working on a "point-of-sale" (POS) system for WP and would like to publish it eventually on WP.org
    My prototype is a WP theme. The interface for the cashier looks similar to the Image results one gets when googeling for "HTML5 POS".
    I just wonder what is better...

    1) Publish the system as WP theme
    Technically no problem, designers could easily create child themes.
    Downside could be, that it wont be accepted for release because it would be a very special theme with lots of special functionality.

    2) Publish as WP plugin
    Could imagine there is no problem with the release on WP.org
    The "cashier interface" HTML could be a plugin file, which is fetched via the "template_redirect" hook and then used like a theme page template.
    But it will much more difficult for designers to adjust the HTML/CSS

    3) is there a third possibility ? :-)

  2. Rod Whiteley
    Member
    Posted 8 months ago #

    3) A plugin that contains a theme. When the plugin is activated, it installs and activates its theme.

    When I customize WordPress I usually end up with a plugin-theme pair that require each other to work properly. I like keeping appearance and functionality separate, although there are grey areas where it's hard to decide.

  3. potato5
    Member
    Posted 8 months ago #

    Thanks Rod!

    So if I understand it correctly the plugin would have a subfolder like this..
    ./wp-content/plugin/[plugin-name]/[theme - name]
    |
    ..which is then copied into..
    |
    -> ./wp-content/themes/[theme - name]

    Or would tell the user to move the theme files manually into "Themes"?

  4. Rod Whiteley
    Member
    Posted 8 months ago #

    I was thinking the plugin could copy the files and activate the theme automatically, but if you want to you could make the user do the work.

  5. potato5
    Member
    Posted 8 months ago #

    Right, have to try that out.
    Only problem I could imagine might be missing file permissions, but there should be way around.

    Do you know by any chance a plugin listed at WP.org which does it like this?

Reply

You must log in to post.

About this Topic