/** * Shortcode to display a link to the parent theme page. * * @since 0.6.0 * @access public * @uses get_theme_data() Gets theme (parent theme) information. * @return string */ function hybrid_theme_link_shortcode() { return hybrid_get_theme_link(); }
hybrid_get_sidebar('subsidiary'); // Loads the sidebar/subsidiary.php template. ?> </div><!-- .wrap --> <footer <?php hybrid_attr('footer'); ?> > <div class="wrap"> <p class="credit"> <?php printf(__('Copyright © %1$s %2$s. Powered by %3$s and %4$s.', 'ex-astris'), date_i18n('Y'), hybrid_get_site_link(), hybrid_get_wp_link(), hybrid_get_theme_link()); ?> </p><!-- .credit --> </div><!-- .wrap --> </footer><!-- #footer --> </div><!-- #container --> <?php wp_footer(); // WordPress hook for loading JavaScript, toolbar, and other things in the footer. ?> </body>
/** * Displays a link to the parent theme URI. * * @since 2.0.0 * @access public * @return void */ function hybrid_theme_link() { echo hybrid_get_theme_link(); }
> <div class="row"> <?php hybrid_get_menu('subsidiary'); // Loads the menu/subsidiary.php template. ?> <div class="site-info"> <div class="copyright"> <?php printf(esc_html__('Copyright © %1$s %2$s', 'croft'), date_i18n('Y'), hybrid_get_site_link()); ?> </div><!-- .copyright --> <div class="credit"> <?php printf(esc_html__('Powered by %1$s and %2$s', 'croft'), hybrid_get_wp_link(), hybrid_get_theme_link()); ?> </div><!-- .credit --> </div><!-- .site-info --> </div><!-- .row --> </footer><!-- #colophon --> </div><!-- #page --> <?php wp_footer(); ?> </body> </html>
// Loads the sidebar/subsidiary.php template. ?> <?php hybrid_get_menu('subsidiary'); // Loads the menu/subsidiary.php template. ?> <footer <?php hybrid_attr('footer'); ?> > <p class="credit"> <?php printf(esc_html__('Copyright © %1$s %2$s. Powered by %3$s and %4$s.', '<%= themeSlug %>'), date_i18n('Y'), hybrid_get_site_link(), hybrid_get_wp_link(), hybrid_get_theme_link()); ?> </p><!-- .credit --> </footer><!-- #footer --> </div><!-- #container --> <?php wp_footer(); // WordPress hook for loading JavaScript, toolbar, and other things in the footer. ?> </body> </html>
/** * Display footer credits for the theme. * * @since 1.0.0 * @return void */ function compass_footer_creds() { echo '<p class="credit">'; printf(__('Copyright © %1$s %2$s. Powered by %3$s and %4$s.', 'compass'), date_i18n('Y'), hybrid_get_site_link(), hybrid_get_wp_link(), hybrid_get_theme_link()); echo '</p><!-- .credit -->'; }
?> <?php hybrid_get_menu('social'); // Loads the menu/social.php template. ?> <div class="site-info"> <p class="copyright"> <?php printf(esc_html__('Copyright © %1$s %2$s.', 'the-one'), date_i18n('Y'), hybrid_get_site_link()); ?> </p><!-- .copyright --> <p class="credit"> <?php printf(esc_html__('Powered by %1$s and %2$s.', 'the-one'), hybrid_get_wp_link(), hybrid_get_theme_link()); ?> </p><!-- .credit --> </div><!-- .site-info --> </div><!-- .wrap --> </footer><!-- #colophon --> </div><!-- #page --> <?php wp_footer(); ?> </body> </html>
<footer id="footer"> <div class="wrap"> <?php hybrid_get_menu('social'); // Loads the menu/social.php template. ?> <p class="credit"> <?php printf(__('Copyright © %1$s %2$s.', 'socially-awkward'), date_i18n('Y'), hybrid_get_site_link()); ?> <br /> <?php printf(__('Powered by %1$s and %2$s.', 'socially-awkward'), hybrid_get_wp_link(), hybrid_get_theme_link()); ?> </p><!-- .credit --> </div><!-- .wrap --> </footer><!-- #footer --> </div><!-- #container --> <?php wp_footer(); // wp_footer ?> </body>