Ejemplo n.º 1
0
<?php

/**
 * Wonderflux header content template part
 *
 * Customise this in your child theme by:
 * - Using hooks and your own functions
 * - Using the 'header-content' template part 'header-content-404.php' or 'header-content.php' (fallback if location specific file not available)
 * - Copying this file to your child theme and customising - it will over-ride this file
 *
 * @package Wonderflux
 */
?>
<div <?php 
wfx_css('size=full&id=header-content');
?>
>

	<div class="box-header">
		<h1><a href="<?php 
echo home_url();
?>
/" title="<?php 
echo esc_attr(get_bloginfo('name', 'display'));
?>
" rel="home"><?php 
echo esc_attr(get_bloginfo('name', 'display'));
?>
</a></h1>
		<h2><?php 
echo esc_attr(get_bloginfo('description', 'display'));
Ejemplo n.º 2
0
<?php

/**
 * Wonderflux footer content template part
 *
 * Customise this in your child theme by:
 * - Using hooks and your own functions
 * - Using the 'footer-content' template part 'footer-content-404.php' or 'footer-content.php' (fallback if location specific file not available)
 * - Copying this file to your child theme and customising - it will over-ride this file
 *
 * @package Wonderflux
 */
?>
<div <?php 
wfx_css('size=full&id=footer-content');
?>
>

	<div class="box-footer">
		<h4><?php 
echo esc_attr(get_bloginfo('description', 'display'));
?>
</h4>
		<p><?php 
wfx_login_logout('');
?>
</p>
	</div>

</div>
Ejemplo n.º 3
0
 /**
  *
  * @since 0.3
  * @updated 0.931
  *
  * Footer credit
  *
  */
 function wf_credit($args)
 {
     // Defaults
     $footer_credit_format = 'p';
     $footer_credit_wp = esc_attr__('Powered by ', 'wonderflux') . '<a href="http://wordpress.org" title="' . esc_attr__('WordPress', 'wonderflux') . '" rel="nofollow">' . esc_attr__('WordPress', 'wonderflux') . '</a>';
     $footer_credit_divider = ' | ';
     $footer_credit_wf = esc_attr__('Built with ', 'wonderflux') . '<a href="http://wonderflux.com" title="' . esc_attr__('Wonderflux WordPress theme framework', 'wonderflux') . '" rel="nofollow">' . esc_attr__('Wonderflux Framework', 'wonderflux') . '</a>';
     $footer_credit_div = '';
     // Setup for individual filtering
     $footer_credit_format = apply_filters('wflux_footer_credit_format', $footer_credit_format);
     $footer_credit_wp = apply_filters('wflux_footer_credit_wp', $footer_credit_wp);
     $footer_credit_divider = apply_filters('wflux_footer_divider', $footer_credit_divider);
     $footer_credit_wf = apply_filters('wflux_footer_credit_wf', $footer_credit_wf);
     $footer_credit_div = apply_filters('wflux_footer_credit_div', $footer_credit_div);
     $footer_credit_content = $footer_credit_wp . $footer_credit_divider . $footer_credit_wf;
     //We are setup for a custom div
     if ($footer_credit_div != '') {
         echo '<div class="';
         echo apply_filters('wflux_footer_credit_div', $footer_credit_div);
         echo '" id="wf-footer-credit">';
     } else {
         wfx_css('size=full&id=footer-wfx-credit&divoutput=Y');
     }
     $footer_credit = '<' . $footer_credit_format . '>';
     //Filter to overide all of wflux_footer_credit_content - but keep inside CSS formatting
     $footer_credit .= apply_filters('wflux_footer_credit_content', $footer_credit_content);
     $footer_credit .= '</' . $footer_credit_format . '>';
     //Filter to overide all of wflux_footer_credit
     echo apply_filters('wflux_footer_credit', $footer_credit);
     echo "\n";
     //Now close the div we opened
     echo '</div>';
 }