Commit f5165a97 authored by agata's avatar agata

R* in footer themes

parent 0e6cb96e
......@@ -4,7 +4,7 @@
<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 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 id="theme-link">Powered by <a href="https://www.autistici.org">R*</a></span><!-- Theme design credit, that's all -->
<span class="meta-sep">|</span>
<span id="web-standards"> <?php _e('Standards Compliant', 'barthelme') ?> <a href="http://validator.w3.org/check/referer" title="Valid XHTML">XHTML</a> &amp; <a href="http://jigsaw.w3.org/css-validator/validator?profile=css2&amp;warning=2&amp;uri=<?php bloginfo('stylesheet_url'); ?>" title="<?php _e('Valid CSS', 'barthelme') ?>">CSS</a></span>
<span class="meta-sep">|</span>
......@@ -16,4 +16,4 @@
</div><!-- #wrapper -->
</body><!-- end trasmission -->
</html>
\ No newline at end of file
</html>
......@@ -52,8 +52,8 @@
<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' ),
date('Y'), esc_attr(get_bloginfo('name')), 'http://www.mardesco.com/themes/bliss/', 'http://www.wordpress.org' );
__( 'Copyright &#169; %d by %s. Powered by Powered by <a href="https://www.autistici.org">R*</a>', 'bliss' ),
date('Y'), esc_attr(get_bloginfo('name')), ' ', ' ' );
?>
</p>
</div>
......@@ -64,4 +64,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> Powered by <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 <a href="https://www.autistici.org">R*</a>', $domain ) . '</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 <a href="https://www.autistici.org">R*</a>', $domain ) . '</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
?>
<?php
/**
* Functions for dealing with theme settings on both the front end of the site and the admin. This allows us
* to set some default settings and make it easy for theme developers to quickly grab theme settings from
* the database. This file is only loaded if the theme adds support for the 'hybrid-core-theme-settings'
* Functions for dealing with theme settings on both the front end of the site and the admin. This allows us
* to set some default settings and make it easy for theme developers to quickly grab theme settings from
* the database. This file is only loaded if the theme adds support for the 'hybrid-core-theme-settings'
* feature.
*
* @package HybridCore
......@@ -14,8 +14,8 @@
*/
/**
* Loads the Hybrid theme settings once and allows the input of the specific field the user would
* like to show. Hybrid theme settings are added with 'autoload' set to 'yes', so the settings are
* Loads the Hybrid theme settings once and allows the input of the specific field the user would
* like to show. Hybrid theme settings are added with 'autoload' set to 'yes', so the settings are
* only loaded once on each page load.
*
* @since 0.7.0
......@@ -51,8 +51,8 @@ function hybrid_get_setting( $option = '' ) {
}
/**
* Sets up a default array of theme settings for use with the theme. Theme developers should filter the
* "{$prefix}_default_theme_settings" hook to define any default theme settings. WordPress does not
* Sets up a default array of theme settings for use with the theme. Theme developers should filter the
* "{$prefix}_default_theme_settings" hook to define any default theme settings. WordPress does not
* provide a hook for default settings at this time.
*
* @since 1.0.0
......@@ -73,15 +73,15 @@ function hybrid_get_default_theme_settings() {
/* If there is a child theme active, add the [child-link] shortcode to the $footer_insert. */
if ( is_child_theme() )
$settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link], [theme-link], and [child-link].', 'hybrid-core' ) . '</p>';
$settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by <a href="https://www.autistici.org">R*</a>', 'hybrid-core' ) . '</p>';
/* If no child theme is active, leave out the [child-link] shortcode. */
else
$settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by [wp-link] and [theme-link].', 'hybrid-core' ) . '</p>';
$settings['footer_insert'] = '<p class="copyright">' . __( 'Copyright &#169; [the-year] [site-link].', 'hybrid-core' ) . '</p>' . "\n\n" . '<p class="credit">' . __( 'Powered by <a href="https://www.autistici.org">R*</a>', 'hybrid-core' ) . '</p>';
}
/* Return the $settings array and provide a hook for overwriting the default settings. */
return apply_filters( "{$prefix}_default_theme_settings", $settings );
}
?>
\ No newline at end of file
?>
......@@ -4,7 +4,7 @@
<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->
<p>
<?php printf(__('%1$s powered by %2$s', 'minimalism'), get_bloginfo('name'),
'<a href="http://autistici.org/">R*</a>'); ?> | <a href="http://www.genaehr.com/minimalism/">minimalism</a> by <a href="http://www.genaehr.com/">www.genaehr.com</a>
'<a href="http://autistici.org/">R*</a>'); ?>
<br /><?php printf(__('%1$s and %2$s.', 'minimalism'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'minimalism') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'minimalism') . '</a>'); ?>
<!-- <?php printf(__('%d queries. %s seconds.', 'minimalism'), get_num_queries(), timer_stop(0, 3)); ?> -->
</p>
......
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