Skip to content

Commit 056e445

Browse files
committed
Updating deprecated theme info
1 parent 3abc86b commit 056e445

11 files changed

Lines changed: 28 additions & 14 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
+important( 'Theme requirements' )
2-
p <strong>#{config.name}</strong> requires at least <strong>WordPress #{config.version.wp}</strong> and <strong>PHP #{config.version.php}</strong> to work properly. Please make sure to meet the requirements.
1+
if 'deprecated' !== config.source
2+
+important( 'Theme requirements' )
3+
p <strong>#{config.name}</strong> requires at least <strong>WordPress #{config.version.wp}</strong> and <strong>PHP #{config.version.php}</strong> to work properly. Please make sure to meet the requirements.
34

45
include about.pug

0app/includes/content/install/about.pug

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
block install/about
2-
if config.is_free
3-
include free.pug
2+
if 'deprecated' === config.source
3+
include deprecated.pug
44
else
5-
include paid.pug
5+
if config.is_free
6+
include free.pug
7+
else
8+
include paid.pug
69

7-
if false !== config.compatibility.welcome
10+
if false !== config.compatibility.welcome && 'deprecated' !== config.source
811
+tip( 'Welcome page' )#welcome-page
912
block install/welcome/notice
1013
p Don't forget to check the theme welcome page at #[+mark( 'nav', 'Appearance', 'Welcome' )]. It contains everything you need to start.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+danger( 'This theme is deprecated!' )
2+
p I'm sorry, but this theme was deprecated. It is <strong>no longer recommended to use this theme</strong>. I don't provide support for this theme any longer.
3+
p Please feel free to check a <a href="https://www.webmandesign.eu/project-type/themes/">newer theme from my portfolio</a>.
4+
hr
5+
p You can find legacy, deprecated themes at <a href="https://github.com/webmandesign/legacy/tree/master/themes">GitHub repository</a>. There are <em>new theme updates (critical only)</em> available in this repository. You can install a theme update following the manual theme update procedure below.

0app/includes/content/install/paid.pug

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
+mark( 'nav', 'Appearance', 'Themes', 'Add Theme', 'Upload Theme', 'Install Now', 'Activate' ).is-path-featured
22

3-
+video( 'https://youtu.be/hb0lxVNL6Uo?t=0' ) Install a theme obtained at ThemeForest
3+
if 'envato' === config.source
4+
+video( 'https://youtu.be/hb0lxVNL6Uo?t=0' ) Install a theme obtained at ThemeForest
45

56
ol
67
li Download the <strong title="#{config.slug}.zip">theme ZIP file</strong> from <a href="#{config.url.info}">the marketplace</a>.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include about.pug
2-
include auto.pug
2+
if 'deprecated' !== config.source
3+
include auto.pug
34
include manual.pug

0app/includes/content/update/about.pug

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
block update/about
2-
p You will be notified in the WordPress admin each time a new updated theme version is available. Install the update following instructions below.
2+
if 'deprecated' === config.source
3+
include ../install/deprecated.pug
4+
else
5+
p You will be notified in the WordPress admin each time a new updated theme version is available. Install the update following instructions below.
36

47
+tip( 'Info on social networks' )
58
p If there is a specific procedure required during update, this will be shared on the <a href="#{config.url.facebook}"><strong>Facebook</strong></a> and <a href="#{config.url.x}"><strong>X</strong> (Twitter)</a> pages.

auberge/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

mustang/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

mustang/index.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
slug : 'mustang',
99
screenshot : 'https://themedemos.webmandesign.eu/mustang/wp-content/themes/mustang/screenshot.jpg',
1010
is_free : false,
11-
source : 'other', //- Available values: wporg/envato/github/other
11+
source : 'deprecated', //- Available values: wporg/envato/github/other/deprecated
1212
compatibility : {
1313
accessibility : false,
1414
theme_builder : false,

qtron/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)