Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added media support for Product Short description and description. #2317

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions includes/Admin/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public function get_settings_sections() {
'title' => __( 'General', 'dokan-lite' ),
'icon_url' => DOKAN_PLUGIN_ASSEST . '/images/admin-settings-icons/general.svg',
'description' => __( 'Site Settings and Store Options', 'dokan-lite' ),
'document_link' => 'https://wedevs.com/docs/dokan/settings/general/',
'document_link' => 'https://dokan.co/docs/wordpress/settings/general/',
'settings_title' => __( 'General Settings', 'dokan-lite' ),
'settings_description' => __( 'You can configure your general site settings and vendor store options from this settings menu. Dokan offers countless custom options when setting up your store to provide you with the ultimate flexibility.', 'dokan-lite' ),
],
Expand All @@ -308,7 +308,7 @@ public function get_settings_sections() {
'title' => __( 'Selling Options', 'dokan-lite' ),
'icon_url' => DOKAN_PLUGIN_ASSEST . '/images/admin-settings-icons/selling.svg',
'description' => __( 'Store Settings, Commissions', 'dokan-lite' ),
'document_link' => 'https://wedevs.com/docs/dokan/settings/selling-options/',
'document_link' => 'https://dokan.co/docs/wordpress/settings/selling-options/',
'settings_title' => __( 'Selling Option Settings', 'dokan-lite' ),
'settings_description' => __( 'You can configure commissions scales and vendor capabilities from this menu.', 'dokan-lite' ),
],
Expand All @@ -317,7 +317,7 @@ public function get_settings_sections() {
'title' => __( 'Withdraw Options', 'dokan-lite' ),
'icon_url' => DOKAN_PLUGIN_ASSEST . '/images/admin-settings-icons/withdraw.svg',
'description' => __( 'Withdraw Settings, Threshold', 'dokan-lite' ),
'document_link' => 'https://wedevs.com/docs/dokan/settings/withdraw-options/',
'document_link' => 'https://dokan.co/docs/wordpress/settings/withdraw-options/',
'settings_title' => __( 'Withdraw Settings', 'dokan-lite' ),
'settings_description' => __( 'You can configure your store\'s withdrawal methods, charges, limits, order status and more.', 'dokan-lite' ),
],
Expand All @@ -326,7 +326,7 @@ public function get_settings_sections() {
'title' => __( 'Reverse Withdrawal', 'dokan-lite' ),
'icon_url' => DOKAN_PLUGIN_ASSEST . '/images/admin-settings-icons/reverse-witdrawal.svg',
'description' => __( 'Admin commission config (on COD)', 'dokan-lite' ),
'document_link' => 'https://wedevs.com/docs/dokan/withdraw/dokan-reverse-withdrawal/',
'document_link' => 'https://dokan.co/docs/wordpress/withdraw/dokan-reverse-withdrawal/',
'settings_title' => __( 'Reverse Withdrawal Settings', 'dokan-lite' ),
'settings_description' => __( 'Configure commission from vendors on Cash on Delivery orders, method and threshold for reverse balance, restrictive actions on vendors and more.', 'dokan-lite' ),
],
Expand All @@ -335,7 +335,7 @@ public function get_settings_sections() {
'title' => __( 'Page Settings', 'dokan-lite' ),
'icon_url' => DOKAN_PLUGIN_ASSEST . '/images/admin-settings-icons/page.svg',
'description' => __( 'Store Page Settings Manage', 'dokan-lite' ),
'document_link' => 'https://wedevs.com/docs/dokan/settings/page-settings-2/',
'document_link' => 'https://dokan.co/docs/wordpress/settings/page-settings-2/',
'settings_title' => __( 'Site and Store Page Settings', 'dokan-lite' ),
'settings_description' => __( 'You can configure and setup your necessary page settings from this menu.', 'dokan-lite' ),
],
Expand All @@ -344,7 +344,7 @@ public function get_settings_sections() {
'title' => __( 'Appearance', 'dokan-lite' ),
'icon_url' => DOKAN_PLUGIN_ASSEST . '/images/admin-settings-icons/appearance.svg',
'description' => __( 'Custom Store Appearance', 'dokan-lite' ),
'document_link' => 'https://wedevs.com/docs/dokan/settings/appearance/',
'document_link' => 'https://dokan.co/docs/wordpress/settings/appearance/',
'settings_title' => __( 'Appearance Settings', 'dokan-lite' ),
'settings_description' => __( 'You can configure your store appearance settings, configure map API, Google reCaptcha and more. Dokan offers various store header templates to choose from.', 'dokan-lite' ),
],
Expand Down
6 changes: 3 additions & 3 deletions templates/admin-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<?php esc_html_e( 'What’s New', 'dokan-lite' ); ?>
</a>
<a href="https://wedevs.com/account/tickets/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=dokan-lite" target="_blank">
<a href="https://app.dokan.co/support/create/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=dokan-lite" target="_blank">
<span class="dokan-icon">
<svg width="15" height="17" viewBox="0 0 15 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.15332 6.91895C3.37788 6.91895 2.74707 7.54976 2.74707 8.3252V12.1377C2.74707 12.9131 3.37788 13.5439 4.15332 13.5439C4.92876 13.5439 5.55957 12.9131 5.55957 12.1377V8.3252C5.55957 7.54976 4.92876 6.91895 4.15332 6.91895Z" fill="#A3A3A3"/>
Expand All @@ -54,7 +54,7 @@
</div>
<?php esc_html_e( 'Community', 'dokan-lite' ); ?>
</a>
<a href="https://wedevs.com/docs/dokan/getting-started/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=dokan-lite" target="_blank">
<a href="https://dokan.co/docs/wordpress/getting-started/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=dokan-lite" target="_blank">
<div class="dokan-icon">
<svg width="13" height="17" viewBox="0 0 13 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.21582 16.7109H11.5908C12.3663 16.7109 12.9971 16.0801 12.9971 15.3047V5.39844H9.71582C8.94038 5.39844 8.30957 4.76762 8.30957 3.99219V0.710938H2.21582C1.44038 0.710938 0.80957 1.34175 0.80957 2.11719V15.3047C0.80957 16.0801 1.44038 16.7109 2.21582 16.7109ZM4.09082 7.30469H9.71582C9.97491 7.30469 10.1846 7.51434 10.1846 7.77344C10.1846 8.03253 9.97491 8.24219 9.71582 8.24219H4.09082C3.83173 8.24219 3.62207 8.03253 3.62207 7.77344C3.62207 7.51434 3.83173 7.30469 4.09082 7.30469ZM4.09082 9.17969H9.71582C9.97491 9.17969 10.1846 9.38934 10.1846 9.64844C10.1846 9.90753 9.97491 10.1172 9.71582 10.1172H4.09082C3.83173 10.1172 3.62207 9.90753 3.62207 9.64844C3.62207 9.38934 3.83173 9.17969 4.09082 9.17969ZM4.09082 11.0547H9.71582C9.97491 11.0547 10.1846 11.2643 10.1846 11.5234C10.1846 11.7825 9.97491 11.9922 9.71582 11.9922H4.09082C3.83173 11.9922 3.62207 11.7825 3.62207 11.5234C3.62207 11.2643 3.83173 11.0547 4.09082 11.0547ZM4.09082 12.9297H7.84082C8.09991 12.9297 8.30957 13.1393 8.30957 13.3984C8.30957 13.6575 8.09991 13.8672 7.84082 13.8672H4.09082C3.83173 13.8672 3.62207 13.6575 3.62207 13.3984C3.62207 13.1393 3.83173 12.9297 4.09082 12.9297Z" fill="#A3A3A3"/>
Expand All @@ -79,7 +79,7 @@
</div>
<?php esc_html_e( 'Basic & Fundamental', 'dokan-lite' ); ?>
</a>
<a href="https://wedevs.com/account/dokan-feature-requests/" target="_blank">
<a href="https://dokan.co/wordpress/feature-requests/" target="_blank">
<div class="dokan-icon">
<svg width="12" height="17" viewBox="0 0 12 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.33962 1.5463C8.00147 0.490479 6.27038 0.109934 4.57616 0.515074C2.61184 0.969322 1.02815 2.52846 0.549312 4.48053C0.0705107 6.44481 0.622974 8.43368 2.03478 9.82097C2.53818 10.3244 2.83283 11.1141 2.83283 11.9245V12.0595C2.83283 12.4032 3.10288 12.6734 3.44668 12.6734H8.35746C8.70126 12.6734 8.97131 12.4032 8.97131 12.0595V11.9245C8.97131 11.1264 9.27824 10.3121 9.81842 9.78414C10.8497 8.7406 11.4267 7.35334 11.4267 5.88011C11.4267 4.18589 10.6655 2.60212 9.33962 1.5463ZM5.90207 4.03856C4.97598 4.03856 4.30181 4.65286 4.12527 5.36398C4.04493 5.6874 3.71951 5.89382 3.38132 5.81238C3.05283 5.73086 2.85198 5.39754 2.93354 5.06905C3.23768 3.84135 4.39082 2.81087 5.90207 2.81087C6.24136 2.81087 6.51592 3.08542 6.51592 3.42472C6.51592 3.76401 6.24136 4.03856 5.90207 4.03856Z" fill="#A3A3A3"/>
Expand Down
4 changes: 2 additions & 2 deletions templates/products/edit-product-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@
[
'editor_height' => 50,
'quicktags' => true,
'media_buttons' => false,
'media_buttons' => true,
'teeny' => false,
'editor_class' => 'post_excerpt',
]
Expand All @@ -455,7 +455,7 @@
[
'editor_height' => 50,
'quicktags' => true,
'media_buttons' => false,
'media_buttons' => true,
'teeny' => false,
'editor_class' => 'post_content',
]
Expand Down
Loading