Skip to content

Commit

Permalink
Change first Wonderflux options page content
Browse files Browse the repository at this point in the history
Change text content.
  • Loading branch information
Jonnyauk committed Jul 30, 2014
1 parent 7c524a2 commit f136056
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions wf-includes/admin-pages/wf-page-core.php
Expand Up @@ -5,28 +5,39 @@
$ct = ( WF_WORDPRESS_VERSION < 3.4 ) ? current_theme_info() : wp_get_theme();
?>

<h3><?php esc_attr_e('Current Wonderflux Child Theme', 'wonderflux'); ?></h3>
<h2><?php esc_attr_e('Welcome to Wonderflux', 'wonderflux'); ?></h2>
<div class="clear"></div>
<p>
<?php esc_attr_e('Wonderflux is an advanced, open source theme framework. ', 'wonderflux'); ?>
<?php esc_attr_e('It is built to provide a solid, reliable and easily updateable base for creating bespoke WordPress themes.', 'wonderflux'); ?>
</p>
<p>
<?php esc_attr_e('The best way to use Wonderflux is to create a child theme. ', 'wonderflux'); ?>
<?php esc_attr_e('Explore the links in the help and support section at the bottom of this page to find out more.', 'wonderflux'); ?>
</p>

<h2><?php esc_attr_e('Current Wonderflux Child Theme', 'wonderflux'); ?></h2>
<div class="clear"></div>
<div id="current-wf-theme">

<?php if ( $screenshot = $ct->get_screenshot() ) : ?>
<img src="<?php echo esc_url( $screenshot ); ?>" style="float:left; margin: 0 20px 20px 0;" />
<img src="<?php echo esc_url( $screenshot ); ?>" style="float:left; margin: 0 20px 20px 0; max-height:130px;" />
<?php endif; ?>

<h4><?php
/* translators: 1: theme title, 2: theme version, 3: theme author */
printf(__('%1$s %2$s by %3$s'), $ct->title, $ct->version, $ct->author) ; ?></h4>
<p class="theme-description"><?php echo $ct->description; ?></p>
<?php echo '<p>' . esc_attr__('The theme files are located in', 'wonderflux') . ' <code>'. WF_THEME_URL .'</code></p>'; ?>
<?php echo '<p>' . esc_attr__('The theme files are located in', 'wonderflux') . ' <code>'. WF_THEME_URL .'/</code></p>'; ?>

<div class="clear"></div>

<?php
// Backpat - depreciated function get_current_theme() in WordPress 3.4
$this_current_theme = ( WF_WORDPRESS_VERSION < 3.4 ) ? get_current_theme() : wp_get_theme()->Name;
//$this_current_theme = ( WF_WORDPRESS_VERSION < 3.4 ) ? get_current_theme() : wp_get_theme()->Name;

echo '<h2>' . apply_filters( 'wflux_options_theme_name_header', $this_current_theme ) . ' ' . esc_attr__('display functions', 'wonderflux') . '</h2>';
echo '<div class="clear"></div>';
echo '<p>' . esc_attr__('COMING SOON - Theme designers will be able to enable options to control theme scripts functionality.', 'wonderflux') . '</p>';
//echo '<h2>' . apply_filters( 'wflux_options_theme_name_header', $this_current_theme ) . ' ' . esc_attr__('display functions', 'wonderflux') . '</h2>';
//echo '<div class="clear"></div>';
//echo '<p>' . esc_attr__('COMING SOON - Theme designers will be able to enable options to control theme scripts functionality.', 'wonderflux') . '</p>';
?>
</div>

Expand Down

0 comments on commit f136056

Please sign in to comment.