Skip to content

Commit

Permalink
Merge pull request #58 from codersaiful/2.7.8.1
Browse files Browse the repository at this point in the history
2.7.8.1
  • Loading branch information
codersaiful authored Dec 10, 2020
2 parents c56e564 + ae9348e commit 574d39e
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 5 deletions.
11 changes: 10 additions & 1 deletion admin/action-hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,20 @@ function wpt_admin_form_top(){
?>
<ul class="wpt_admin_form_links" style="margin: 0">
<li><a class="wpt_get_pro_form_top_link" target="_blank" title="Awesome Pro features is Waiting for you!" href="https://codecanyon.net/item/woo-product-table-pro/20676867">Get Pro</a></li>
<li>
<a class="Header-link " href="https://github.com/codersaiful/woo-product-table" target="_blank">
<svg class="octicon octicon-mark-github v-align-middle" height="16"
viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true">
<path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path>
</svg>

GitHub Ropo</a></li>
<li><a target="_blank" href="https://demo.wooproducttable.com/">Demo</a></li>
<li><a target="_blank" href="https://github.com/codersaiful/woo-product-table/discussions">Forum on Repo</a></li>
<li><a target="_blank" href="https://wooproducttable.com/docs/">Basic Helps</a></li>
<li><a target="_blank" href="https://docs.codeastrology.com/woo-product-table-pro/#intro">Documentation</a></li>
<li><a target="_blank" href="https://codeastrology.com/support/">Get Support</a></li>
<li><a target="_blank" href="https://codeastrology.com/support/forums/forum/woo-product-table-pro-making-quick-order-table/">Forum</a></li>


</ul>
<?php
Expand Down
21 changes: 19 additions & 2 deletions admin/includes/right_side.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,18 @@
<small>Feel free to knock me Any time.</small>
</div>
</div>

<div class="wpt_right_side_in_wrapper" style="padding: 10px;">
<div class="need_help_wrapper">
<h1>Need Help?</h1>
<a style="display: block;text-align: left;" target="_blank" href="https://codeastrology.com/support/">
<img style="max-width: 100px" src="<?php echo WPT_BASE_URL; ?>assets/images/customer_support.png">
<h3>Customer Support</h3>
</a>
<span>Email: <a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&su=<?php echo urlencode("Need help for " . site_url()); ?>&body=<?php echo urlencode("Hey Saiful, I need help.\nNow I will explain my Issue.\n...________\n"); ?>&ui=2&tf=1&to=<?php echo urlencode("Saiful Islam<[email protected]>"); ?>" target="_top">Gmail Me <b>([email protected])</b></a></span>
<span>Discussion: <a href="https://github.com/codersaiful/woo-product-table/discussions" target="_blank">Forumn and Discussion on <b>(Github)</b></a></span>
<span>Issue on Github: <a href="https://github.com/codersaiful/woo-product-table/issues" target="_blank">Submit your Issue on <b>(Github)</b></a></span>
<span>Topin on WordPress.org: <a href="https://github.com/codersaiful/woo-product-table/issues" target="_blank">Submit your topic on <b>(WordPress.org)</b></a></span>
<span>Email: <a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&su=<?php echo urlencode("Need help for " . site_url()); ?>&body=<?php echo urlencode("Hey Saiful, I need help.\nNow I will explain my Issue.\n...________\n"); ?>&ui=2&tf=1&to=<?php echo urlencode("Saiful Islam<[email protected]>"); ?>" target="_blank">Gmail Me <b>([email protected])</b></a></span>
<span>FB Group: <a target="_blank" href="https://www.facebook.com/groups/CodeAstrology/">Join to CodeAstrology Group</a></span>
<span>Skype: <a href="#">codersaiful</a></span>

Expand All @@ -57,6 +60,20 @@
<span>Youtube: <a href="https://www.youtube.com/playlist?list=PL__UrUIHRxdzupiUk2KKJloistwDMP28t" target="_blank">Youtube Playlist - Video Tutorial</a></span>
</div>
</div>


<div class="wpt_right_side_in_wrapper" style="padding: 10px;">
<div class="need_help_wrapper">
<h1>Are you Coder?</h1>

<span class="fork-button-wpt">To be a Contributor <a href="https://github.com/codersaiful/woo-product-table/fork?fragment=1" target="_blank">Fork and <b>(Contribute)</b></a></span>


<span>Discussion: <a href="https://github.com/codersaiful/woo-product-table/discussions" target="_blank">Forumn and Discussion on <b>(Github)</b></a></span>
<span>Issue on Github: <a href="https://github.com/codersaiful/woo-product-table/issues" target="_blank">Submit your Issue on <b>(Github)</b></a></span>
<span>Topin on WordPress.org: <a href="https://github.com/codersaiful/woo-product-table/issues" target="_blank">Submit your topic on <b>(WordPress.org)</b></a></span>
</div>
</div>
<div class="wpt_right_side_in_wrapper" style="padding: 10px;">
<div class="rate_us_wrapper">
<a href="https://codecanyon.net/downloads" target="_blank"><img class="rate_us_image" src="<?php echo WPT_Product_Table::getPath( 'BASE_URL' ); ?>assets/images/rate_us.png"></a>
Expand Down
2 changes: 2 additions & 0 deletions admin/menu_plugin_setting_link.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function wpt_add_action_links($links) {
$wpt_links[] = '<a href="' . admin_url( 'post-new.php?post_type=wpt_product_table' ) . '" title="' . esc_attr__( 'Add new Shortcode', 'wpt_pro' ) . '">' . esc_html__( 'Create Table', 'wpt_pro' ).'</a>';
$wpt_links[] = '<a href="' . admin_url( 'edit.php?post_type=wpt_product_table&page=woo-product-table-config' ) . '" title="' . esc_attr__( 'Configure for Universal', 'wpt_pro' ) . '">' . esc_html__( 'Configure', 'wpt_pro' ) . '</a>';
$wpt_links[] = '<a href="https://codeastrology.com/support/" title="' . esc_attr__( 'CodeAstrology Support', 'wpt_pro' ) . '" target="_blank">'.esc_html__( 'Support','wpt_pro' ).'</a>';
$wpt_links[] = '<a href="https://github.com/codersaiful/woo-product-table" title="' . esc_attr__( 'Github Repo Link', 'wpt_pro' ) . '" target="_blank">'.esc_html__( 'Github Repository','wpt_pro' ).'</a>';
return array_merge( $wpt_links, $links );
}
}
Expand All @@ -31,6 +32,7 @@ function wpt_add_action_links($links) {
function wpt_admin_menu() {

add_submenu_page( 'edit.php?post_type=wpt_product_table', esc_html__( 'Configuration WPTpro', 'wpt_pro' ), esc_html__( 'Configure', 'wpt_pro' ), WPT_CAPABILITY, 'woo-product-table-config', 'wpt_configuration_page' );
add_submenu_page( 'edit.php?post_type=wpt_product_table', esc_html__( 'Contribute Here', 'wpt_pro' ), sprintf( esc_html__( 'Contribute %s Repo%s', 'wpt_pro' ), '<span style="color:#ffff21;">', '</span>'), WPT_CAPABILITY, 'https://github.com/codersaiful/woo-product-table' );
add_submenu_page( 'edit.php?post_type=wpt_product_table', esc_html__( 'FAQ & Support page - Contact With US', 'wpt_pro' ), sprintf( esc_html__( 'FAQ %s& Contact%s', 'wpt_pro' ), '<span style="color:#ff8921;">', '</span>'), WPT_CAPABILITY, 'wpt_fac_contact_page', 'wpt_fac_support_page' );
add_submenu_page( 'edit.php?post_type=wpt_product_table', esc_html__( 'GET PRO VERSION', 'wpt_pro' ), __( '<i>Get <strong>Pro</strong></i>', 'wpt_pro' ), WPT_CAPABILITY, 'https://codecanyon.net/item/woo-product-table-pro/20676867' );
add_submenu_page( 'edit.php?post_type=wpt_product_table', esc_html__( 'Pro Features', 'wpt_pro' ), __( 'Pro Features', 'wpt_pro' ), 'manage_options', 'wpt-pro-features', 'wpt_pro_features_content' );
Expand Down
18 changes: 17 additions & 1 deletion admin/post_metabox.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,26 @@ function wpt_shortcode_metabox_render(){
global $post;
$curent_post_id = $post->ID;
$post_title = preg_replace( '/[#$%^&*()+=\-\[\]\';,.\/{}|":<>?~\\\\]/',"$1", $post->post_title );
echo '<div class="wpt-shortcode-box-inside">';
echo '<input type="text" value="[Product_Table id=\'' . $curent_post_id . '\' name=\'' . $post_title . '\']" class="wpt_auto_select_n_copy wpt_meta_box_shortcode mb-text-input mb-field" id="wpt_metabox_copy_content" readonly>'; // class='wpt_auto_select_n_copy'
echo '<a style="display:none;" class="button button-primary wpt_copy_button_metabox" data-target_id="wpt_metabox_copy_content">Copy</a>';
echo '<p style="color: #007692;font-weight:bold;display:none; padding-left: 12px;" class="wpt_metabox_copy_content"></p>';

echo '</div>';
?>
<div class="wpt-tips-github">
<p>
<b><?php echo esc_html__( 'Tips:', 'wpt_pro' ); ?></b>
<span>
<?php echo esc_html__( 'If you want to be a Contributor, Go to ', 'wpt_pro' ); ?>
<a target="_blank" href="https://github.com/codersaiful/woo-product-table"><?php echo esc_html__( 'Github Repo', 'wpt_pro' ); ?></a>.
|
<?php echo esc_html__( 'Any Idea? Please ', 'wpt_pro' ); ?>
<a target="_blank" href="https://github.com/codersaiful/woo-product-table/discussions/new"><?php echo esc_html__( 'Send your Suggestion or Idea', 'wpt_pro' ); ?></a>

</span>
</p>
</div>
<?php
}
}

Expand Down
24 changes: 23 additions & 1 deletion assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ body.wpt_admin_body h1.nav-tab-wrapper {
padding-top: 15px;
}

#wpt_shortcode_metabox_id .inside {
#wpt_shortcode_metabox_id .inside .wpt-shortcode-box-inside {
display: flex;
margin: 10px 0;
}
Expand Down Expand Up @@ -1075,6 +1075,28 @@ ul#wpt_column_sortable>li.wpt_sortable_peritem.enabled{display: flex;}
color: black;
}

svg.octicon.octicon-mark-github.v-align-middle {
margin-bottom: -3px;
}
span.fork-button-wpt>a {
font-size: 25px;
color: #304a56;
background: #dddddd52;
padding: 22px;
display: block;
transition: all .3s;
margin: 10px 0;
}
span.fork-button-wpt>a:hover {
color: #ffffff;
background: #607D8B;
}
.wpt-tips-github p {
opacity: 0.6;
margin: 0;
padding: 0;
}

/* Responsive Design Starts */
@media screen and (max-width: 782px){
.wpt_column_setting_single_extra>div label {
Expand Down

0 comments on commit 574d39e

Please sign in to comment.