HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/martyknows.com/wp-content/themes/fauna/functions.php
<?php
/**
 * @package WordPress
 * @subpackage Fauna
 */

$themecolors = array(
	'bg' => 'ffffff',
	'text' => '565654',
	'link' => '1177aa',
	'border' => 'f5f5ef',
	'url' => '66bbdd',
);

$content_width = 500;

function fauna_body_class( $classes, $class ) {
	return $class;
}

add_filter( 'body_class', 'fauna_body_class', 1, 2 );

register_sidebar( array(
	'name'          => __('Sidebar'),
	'id'            => 'sidebar',
	'before_widget' => '',
	'after_widget'  => '',
	'before_title'  => '<h4>',
	'after_title'   => '</h4>' )
);

add_theme_support( 'automatic-feed-links' );

// Custom background
add_custom_background();

add_theme_support( 'print-style' );

function fauna_custom_background() {
	if ( '' != get_background_color() && '' == get_background_image() ) { ?>
	<style type="text/css">
		body { background-image: none; background-color: #<?php echo get_background_color(); ?>; }
	</style>
	<?php }
}
add_action( 'wp_head', 'fauna_custom_background' );

// Navigation menu
register_nav_menus( array(
	'primary' => __( 'Primary Navigation', 'fauna' )
) );

// Fallback for primary navigation
function fauna_page_menu() { ?>
	<ul class="menu">
		<li id="current-index"><a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo( 'name' ); ?>" accesskey="1"><?php _e( 'Blog' ) ?></a></li>
		<?php wp_list_pages( 'sort_column=menu_order&depth=1&title_li=' ); ?>
	</ul>
<?php }