diff --git a/README.txt b/README.txt index 4a7ff51..4fe74e8 100644 --- a/README.txt +++ b/README.txt @@ -4,7 +4,7 @@ Donate link: https://www.udesly.com/ Tags: webflow to wordpress, editor, page builder, layout design, udesly, webflow Requires at least: 5.0 Tested up to: 5.2.3 -Stable tag: 2.0.0.27 +Stable tag: 2.0.0.28 License: GPLv3 or later License URI: https://www.udesly.com/terms-conditions-of-use/#udesly-wordpress-plugin Requires PHP: 5.6.0 @@ -80,6 +80,9 @@ That's all! Absolutely! You can use the Udesly Adapter to create more than one website. == Changelog == += 2.0.0.28 = +* Added general archive title option + = 2.0.0.27 = * fixed frontend editor with videos diff --git a/includes/Blog/Blog.php b/includes/Blog/Blog.php index ac33164..9af9441 100644 --- a/includes/Blog/Blog.php +++ b/includes/Blog/Blog.php @@ -149,7 +149,7 @@ public function filter_title($title) } } elseif (is_post_type_archive()) { /* translators: Post type archive title. 1: Post type name */ - $title = sprintf(__('Archives: %s'), post_type_archive_title('', false)); + $title = sprintf($this->settings['general_archive_title'], post_type_archive_title('', false)); } elseif (is_tax()) { $tax = get_taxonomy(get_queried_object()->taxonomy); /* translators: Taxonomy term archive title. 1: Taxonomy singular name, 2: Current taxonomy term */ diff --git a/includes/Dashboard/Views/Settings.php b/includes/Dashboard/Views/Settings.php index c40c781..a112723 100644 --- a/includes/Dashboard/Views/Settings.php +++ b/includes/Dashboard/Views/Settings.php @@ -85,6 +85,14 @@ private static function blog_tab() + + + + + +