WordPress.org

Support

[Resolved] Override templates

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sean Voss

    @seanvoss

    Hey Miocene,

    Unfortunately the way I have Striper setup now, it’s not overriding any templates, it just includes that file.

    I will explore a way to add your own custom template, it should be possible, I’m sure wordpress will let me find the path to the currently loaded template, but for now, just override payment.php, I’m afraid.

    Plugin Author mgiulio

    @giuliom

    Hi Sean,

    I implemented(just some final testing to do)a templating system based on the one provided by WooCommerce.

    So, to override payments.php(or any other template), a plugin user has to put its version in the ‘striper’ folder in its theme.

    You can see the src on my gh fork(so is a fork of the 0.28 plugin version): https://github.com/mgiulio/striper/compare/templating?expand=1

    I’m very interested in contributions/takeover. Next step would be the I18N task, I think.

    Let me know how you would like to proceed.

    Giulio.

    Plugin Author mgiulio

    @giuliom

    This will ship in 0.30.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Override templates’ is closed to new replies.
Skip to toolbar