Commit a631a2f3 authored by agata's avatar agata

R* footer

parent 0630f8bc
......@@ -2,7 +2,7 @@
<div id="footer">
<span id="copyright">&copy; <?php echo( date('Y') ); ?> <?php barthelme_admin_hCard(); ?></span>
<span class="meta-sep">|</span>
<span id="generator-link"><?php _e('Thanks, <a href="http://wordpress.org/" title="WordPress" rel="generator">WordPress</a>', 'barthelme') ?></span>
<span id="generator-link"><?php _e('Thanks, <a href="http://wordpress.org/" title="WordPress" rel="generator">WP</a>', 'barthelme') ?><strong> and <a href="https://www.autistici.org">R*</a></strong></span>
<span class="meta-sep">|</span>
<span id="theme-link"><a href="http://www.plaintxt.org/themes/barthelme/" title="<?php _e('Barthelme theme for WordPress', 'barthelme') ?>" rel="follow designer">Barthelme</a> <?php _e('theme by', 'barthelme') ?> <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span></span><!-- Theme design credit, that's all -->
<span class="meta-sep">|</span>
......@@ -16,4 +16,4 @@
</div><!-- #wrapper -->
</body><!-- end trasmission -->
</html>
\ No newline at end of file
</html>
......@@ -52,9 +52,10 @@
<p class="credit spacer small">
<?php
printf(
__( 'Copyright &#169; %d by %s. Powered by <a rel="nofollow" href="%s">Bliss</a> for <a rel="nofollow" href="%s">WordPress</a>', 'bliss' ),
__( 'Copyright &#169; %d by %s. Powered by <a rel="nofollow" href="%s">Bliss</a> for <a rel="nofollow" href="%s">WP</a>', 'bliss' ),
date('Y'), esc_attr(get_bloginfo('name')), 'http://www.mardesco.com/themes/bliss/', 'http://www.wordpress.org' );
?>
<strong> and <a href="https://www.autistici.org">R*</a></strong>
</p>
</div>
......@@ -64,4 +65,4 @@
</div> <!--! end of #container -->
</body>
</html>
\ No newline at end of file
</html>
<div id="bottom">
<p style="padding-top:110px; clear:both;">Copyright &copy; <?php echo date("Y"); ?> <strong><?php bloginfo('name'); ?></strong>. Design by <a style="text-decoration:none; color: #635537;" href="http://www.geekwithlaptop.com" title="Geek with Laptop">Laptop Geek</a> for <?php wp_footer(); ?>.</p>
<p style="padding-top:110px; clear:both;">Copyright &copy; <?php echo date("Y"); ?> <strong><?php bloginfo('name'); ?></strong>. Design by <a style="text-decoration:none; color: #635537;" href="http://www.geekwithlaptop.com" title="Geek with Laptop">Laptop Geek</a> for <?php wp_footer(); ?><strong> and <a href="https://www.autistici.org">R*</a></strong>.</p>
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
......@@ -3,9 +3,9 @@
* Handles the display and functionality of the theme settings page. This provides the needed hooks and
* meta box calls for developers to create any number of theme settings needed.
*
* Provides the ability for developers to add custom meta boxes to the theme settings page by using the
* add_meta_box() function. Developers should hook their meta box registration function to 'admin_menu'
* and register the meta box for 'appearance_page-theme-settings'. If data needs to be saved, devs can
* Provides the ability for developers to add custom meta boxes to the theme settings page by using the
* add_meta_box() function. Developers should hook their meta box registration function to 'admin_menu'
* and register the meta box for 'appearance_page-theme-settings'. If data needs to be saved, devs can
* use the '$prefix_update_settings_page' action hook to save their data.
*
* @package Hybrid
......@@ -13,7 +13,7 @@
*/
/**
* Initializes all the theme settings page functions. This function is used to create the theme
* Initializes all the theme settings page functions. This function is used to create the theme
* settings page, then use that as a launchpad for specific actions that need to be tied to the
* settings page.
*
......@@ -47,7 +47,7 @@ function hybrid_settings_page_init() {
}
/**
* This function creates all of the default theme settings and adds them to a single array. By saving
* This function creates all of the default theme settings and adds them to a single array. By saving
* them in one array, the function only creates one setting in the {$wpdb->prefix}_options table.
*
* @since 0.4
......@@ -64,20 +64,20 @@ function hybrid_theme_settings() {
'superfish_js' => true,
'seo_plugin' => false,
'use_menus' => true,
'footer_insert' => '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', $domain ) . '</p>',
'footer_insert' => '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', $domain ) . '<strong> and <a href="https://www.autistici.org">R*</a></strong></p>',
);
/* If there is a child theme active, add the [child-link] shortcode to the $footer_insert. */
if ( STYLESHEETPATH !== TEMPLATEPATH )
$settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', $domain ) . '</p>';
$settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', $domain ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', $domain ) . '<strong> and <a href="https://www.autistici.org">R*</a></strong></p>';
return apply_filters( hybrid_get_prefix() . '_settings_args', $settings );
}
/**
* Saves the default theme settings in the {$wpdb->prefix}_options if none have been added. The
* settings are given a unique name depending on the theme directory. They are always saved as
* {$prefix}_theme_settings in the database. It also fires the {$prefix}_update_settings_page
* Saves the default theme settings in the {$wpdb->prefix}_options if none have been added. The
* settings are given a unique name depending on the theme directory. They are always saved as
* {$prefix}_theme_settings in the database. It also fires the {$prefix}_update_settings_page
* hook for saving custom settings.
*
* @since 0.7
......@@ -115,8 +115,8 @@ function hybrid_load_settings_page() {
/**
* Updates the default theme settings if the settings page has been updated. It validates the values
* added through the default theme settings page meta boxes. Only settings returned by the
* hybrid_theme_settings() function will be saved. Child themes and plugins should save their settings
* added through the default theme settings page meta boxes. Only settings returned by the
* hybrid_theme_settings() function will be saved. Child themes and plugins should save their settings
* separately.
*
* @since 0.7
......@@ -160,7 +160,7 @@ function hybrid_create_settings_meta_boxes() {
/* Adds the About box for the parent theme. */
add_meta_box( "{$prefix}-about-theme-meta-box", sprintf( __( 'About %1$s', $domain ), $theme_data['Title'] ), 'hybrid_about_theme_meta_box', $hybrid->settings_page, 'normal', 'high' );
/* If the user is using a child theme, add an About box for it. */
if ( TEMPLATEPATH != STYLESHEETPATH ) {
$child_data = get_theme_data( STYLESHEETPATH . '/style.css' );
......@@ -226,21 +226,21 @@ function hybrid_general_settings_meta_box() {
<tr>
<th><label for="print_style"><?php _e( 'Stylesheets:', $domain ); ?></label></th>
<td>
<input id="print_style" name="print_style" type="checkbox" <?php if ( hybrid_get_setting( 'print_style' ) ) echo 'checked="checked"'; ?> value="true" />
<input id="print_style" name="print_style" type="checkbox" <?php if ( hybrid_get_setting( 'print_style' ) ) echo 'checked="checked"'; ?> value="true" />
<label for="print_style"><?php _e( 'Select this to have the theme automatically include a print stylesheet.', $domain ); ?></label>
</td>
</tr>
<tr>
<th><label for="superfish_js"><?php _e( 'JavaScript:', $domain ); ?></label></th>
<td>
<input id="superfish_js" name="superfish_js" type="checkbox" <?php if ( hybrid_get_setting( 'superfish_js' ) ) echo 'checked="checked"'; ?> value="true" />
<input id="superfish_js" name="superfish_js" type="checkbox" <?php if ( hybrid_get_setting( 'superfish_js' ) ) echo 'checked="checked"'; ?> value="true" />
<label for="superfish_js"><?php _e( 'Include the drop-down menu JavaScript.', $domain ); ?></label>
</td>
</tr>
<tr>
<th><label for="use_menus"><?php _e( 'Menus:', $domain ); ?></label></th>
<td>
<input id="use_menus" name="use_menus" type="checkbox" <?php if ( hybrid_get_setting( 'use_menus' ) ) echo 'checked="checked"'; ?> value="true" />
<input id="use_menus" name="use_menus" type="checkbox" <?php if ( hybrid_get_setting( 'use_menus' ) ) echo 'checked="checked"'; ?> value="true" />
<label for="use_menus"><?php _e( 'Use the WordPress 3.0+ menu system? Child themes built prior to <em>Hybrid</em> 0.8 may need to be updated to use this.', $domain ); ?></label>
</td>
</tr>
......@@ -249,14 +249,14 @@ function hybrid_general_settings_meta_box() {
<td>
<input id="feed_url" name="feed_url" type="text" value="<?php echo hybrid_get_setting( 'feed_url' ); ?>" size="30" /><br />
<?php _e( 'If you have an alternate feed address, such as one from <a href="http://feedburner.com" title="Feedburner">Feedburner</a>, you can enter it here to have the theme redirect your feed links.', $domain ); ?><br /><br />
<input id="feeds_redirect" name="feeds_redirect" type="checkbox" <?php if ( hybrid_get_setting( 'feeds_redirect' ) ) echo 'checked="checked"'; ?> value="true" />
<input id="feeds_redirect" name="feeds_redirect" type="checkbox" <?php if ( hybrid_get_setting( 'feeds_redirect' ) ) echo 'checked="checked"'; ?> value="true" />
<label for="feeds_redirect"><?php _e( 'Direct category, tag, search, and author feeds to your alternate feed address?', $domain ); ?></label>
</td>
</tr>
<tr>
<th><label for="seo_plugin"><acronym title="<?php _e( 'Search Engine Optimization', $domain ); ?>"><?php _e( 'SEO:', $domain ); ?></acronym></label></th>
<td>
<input id="seo_plugin" name="seo_plugin" type="checkbox" <?php if ( hybrid_get_setting( 'seo_plugin' ) ) echo 'checked="checked"'; ?> value="true" />
<input id="seo_plugin" name="seo_plugin" type="checkbox" <?php if ( hybrid_get_setting( 'seo_plugin' ) ) echo 'checked="checked"'; ?> value="true" />
<label for="seo_plugin"><?php _e( 'Are you using an <acronym title="Search Engine Optimization">SEO</acronym> plugin? Select this to disable the theme\'s meta and indexing features.', $domain ); ?></label>
</td>
</tr>
......@@ -374,4 +374,4 @@ function hybrid_settings_page_load_scripts() {
</script><?php
}
?>
\ No newline at end of file
?>
......@@ -3,10 +3,10 @@
* Footer Template
*
* This template closes #main div and displays the #footer div.
*
*
* Thematic Action Hooks: thematic_abovefooter thematic_belowfooter thematic_after
* Thematic Filters: thematic_close_wrapper can be used to remove the closing of the #wrapper div
*
*
* @package Thematic
* @subpackage Templates
*/
......@@ -14,42 +14,42 @@
<?php // action hook for placing content above the closing of the #main div
thematic_abovemainclose();
?>
</div><!-- #main -->
<?php
// action hook for placing content above the footer
thematic_abovefooter();
// Filter provided for altering output of the footer opening element
echo ( apply_filters( 'thematic_open_footer', '<div id="footer">' ) );
?>
?>
<?php
// action hook creating the footer
// action hook creating the footer
thematic_footer();
?>
<?php
// Filter provided for altering output of the footer closing element
echo ( apply_filters( 'thematic_close_footer', '</div><!-- #footer -->' . "\n" ) );
echo ( apply_filters( 'thematic_close_footer', '<strong> and <a href="https://www.autistici.org">R*</a></strong></div><!-- #footer -->' . "\n" ) );
// action hook for placing content below the footer
thematic_belowfooter();
?>
<?php
// Filter provided for altering output of wrapping element follows the body tag
if ( apply_filters( 'thematic_close_wrapper', true ) )
// Filter provided for altering output of wrapping element follows the body tag
if ( apply_filters( 'thematic_close_wrapper', true ) )
echo ( '</div><!-- #wrapper .hfeed -->' . "\n" );
// action hook for placing content before closing the BODY tag
thematic_after();
thematic_after();
// calling WordPress' footer action hook
wp_footer();
?>
</body>
</html>
\ No newline at end of file
</html>
......@@ -9,7 +9,7 @@
*/
?>
<div class="site-info">
<div class="site-info">Proudly powered by
<?php
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
......@@ -18,7 +18,8 @@
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>" class="imprint">
<?php
/* translators: %s: WordPress */
printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' );
printf( __( ' %s', 'twentyseventeen' ), 'WP' );
?>
</a>
<strong> and <a href="https://www.autistici.org">R*</a></strong>
</div><!-- .site-info -->
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
</div><!-- .site-content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php if ( has_nav_menu( 'primary' ) ) : ?>
<nav class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Primary Menu', 'twentysixteen' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'primary',
'menu_class' => 'primary-menu',
)
);
?>
</nav><!-- .main-navigation -->
<?php endif; ?>
<?php if ( has_nav_menu( 'social' ) ) : ?>
<nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentysixteen' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'social',
'menu_class' => 'social-links-menu',
'depth' => 1,
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
)
);
?>
</nav><!-- .social-navigation -->
<?php endif; ?>
<div class="site-info">
<?php
/**
* Fires before the twentysixteen footer text for footer customization.
*
* @since Twenty Sixteen 1.0
*/
do_action( 'twentysixteen_credits' );
?>
<span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
<?php
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
}
?>
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>" class="imprint">
<?php
/* translators: %s: WordPress */
printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' );
?>
</a>
</div><!-- .site-info -->
</footer><!-- .site-footer -->
</div><!-- .site-inner -->
</div><!-- .site -->
<?php wp_footer(); ?>
</body>
</html>
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
</div><!-- .site-content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php if ( has_nav_menu( 'primary' ) ) : ?>
<nav class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Primary Menu', 'twentysixteen' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'primary',
'menu_class' => 'primary-menu',
)
);
?>
</nav><!-- .main-navigation -->
<?php endif; ?>
<?php if ( has_nav_menu( 'social' ) ) : ?>
<nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentysixteen' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'social',
'menu_class' => 'social-links-menu',
'depth' => 1,
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
)
);
?>
</nav><!-- .social-navigation -->
<?php endif; ?>
<div class="site-info">
<?php
/**
* Fires before the twentysixteen footer text for footer customization.
*
* @since Twenty Sixteen 1.0
*/
do_action( 'twentysixteen_credits' );
?>
<span class="site-title">Proudly powered by<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
<?php
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
}
?>
<?php printf( __( ' %s', 'twentysixteen' ), 'WP' ); ?>
<strong> and <a href="https://www.autistici.org">R*</a></strong>
</div><!-- .site-info -->
</footer><!-- .site-footer -->
</div><!-- .site-inner -->
</div><!-- .site -->
<?php wp_footer(); ?>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment