Skip to content
This repository was archived by the owner on Jan 28, 2019. It is now read-only.

Commit 1d85b31

Browse files
author
cristian-ungureanu
committed
#437 - add new documentation in about parallax
1 parent b7e41c5 commit 1d85b31

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

inc/admin/welcome-screen/sections/getting-started.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,14 @@
4949
</div>
5050

5151
<div class="prallax-one-tab-pane-half prallax-one-tab-pane-first-half">
52-
52+
<?php
53+
$link = 'http://docs.themeisle.com/article/14-how-to-create-a-child-theme/';
54+
if( class_exists('Parallax_One_Plus') ){
55+
$link = 'http://docs.themeisle.com/article/264-how-to-create-a-child-theme-if-you-use-parallax-one-plus';
56+
} ?>
5357
<h4><?php esc_html_e( 'Create a child theme', 'parallax-one' ); ?></h4>
5458
<p><?php esc_html_e( 'If you want to make changes to the theme\'s files, those changes are likely to be overwritten when you next update the theme. In order to prevent that from happening, you need to create a child theme. For this, please follow the documentation below.', 'parallax-one' ); ?></p>
55-
<p><a href="http://docs.themeisle.com/article/14-how-to-create-a-child-theme/" class="button"><?php esc_html_e( 'View how to do this', 'parallax-one' ); ?></a></p>
59+
<p><a href="<?php echo esc_url($link); ?>" class="button"><?php esc_html_e( 'View how to do this', 'parallax-one' ); ?></a></p>
5660

5761
<hr />
5862

0 commit comments

Comments
 (0)