-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
82 additions
and
189 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,5 @@ | |
"UIlib\\Gumpress\\": "includes/" | ||
}, | ||
"files": ["includes/functions.php"] | ||
}, | ||
"require-dev": { | ||
|
||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,7 @@ | |
/** | ||
* The Menu handler class | ||
*/ | ||
class Product | ||
{ | ||
class Product { | ||
|
||
/** | ||
* Initialize the class | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
<div class="wrap"> | ||
<h1 class="wp-heading-inline"><?php _e('Gumpress', 'uilib-gumpress');?></h1> | ||
<br> | ||
<br> | ||
<form action="" style="max-width: 380px;" method="post"> | ||
<form action="" style="max-width: 660px;" method="post"> | ||
<table class="form-table"> | ||
<tbody> | ||
<tr class="row"> | ||
<tr> | ||
<th>Gumroad access token [<a href="https://help.gumroad.com/article/280-create-application-api#Generatinganaccessto" title="Generating an access token">?</a>]</th> | ||
<td> | ||
<input type="text" value="<?php echo esc_attr(get_option('gumroad_http_token')); ?>" placeholder="Gumroad api key" name="gumroad-http-token" id="gumroad-http-token" class="regular-text"> | ||
<input type="text" value="<?php echo esc_attr(get_option('gumroad_http_token')); ?>" placeholder="Gumroad token" name="gumroad-http-token" id="gumroad-http-token" class="regular-text"> | ||
</td> | ||
<td> | ||
<?php wp_nonce_field('gumroad-http-token');?> | ||
<?php submit_button(__('Save', 'uilib-gumpress'), 'primary', 'save_gumroad_http_token');?> | ||
<?php submit_button(__( 'Save', 'uilib-gumpress'), 'primary', 'save_gumroad_http_token', false );?> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</form> | ||
<h2 class="title">Sync Products</h2> | ||
<p><?php echo __('Import all of your products from Gumroad.', 'uilib-gumpress') ?></p> | ||
<br> | ||
<br> | ||
|
||
<h2 class="wp-heading-inline">Sync products</h2> | ||
<a href="<?php echo admin_url('admin.php?page=uilib-gumpress&action=sync'); ?>" class="page-title-action"><?php _e('Sync Products', 'uilib-gumpress');?></a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
=== Gumpress === | ||
Contributors: uilib | ||
Tags: gumroad, woocommerce | ||
Requires at least: 4.7 | ||
Tested up to: 5.4 | ||
Stable tag: 1.0 | ||
Requires PHP: 7.0 | ||
License: GPLv2 or later | ||
License URI: https://www.gnu.org/licenses/gpl-2.0.html | ||
|
||
Sync and checkout with Gumroad. | ||
|
||
== Description == | ||
|
||
Import and sync your Gumroad products with your woocommerce products. | ||
This plugin also integrates gumroad checkout. Works with any woocommerce theme. | ||
|
||
== Changelog == | ||
|
||
= 1.0 = | ||
* Initial release |