Upload files to "/"
Added style.css, footer.php, and functions.php Signed-off-by: Nicholas A. Ferrell <naferrell@noreply.giteacoffee.emucafe.org>
This commit is contained in:
parent
6c2fbfcda8
commit
2db7447464
46
footer.php
Normal file
46
footer.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
/**
|
||||
* The template for displaying the footer.
|
||||
*
|
||||
* Contains the closing of the id=main div and all content after
|
||||
*
|
||||
* @package SemPress
|
||||
* @since SemPress 1.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
</div><!-- #main -->
|
||||
|
||||
<footer id="colophon" role="contentinfo">
|
||||
<div id="site-publisher" itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
|
||||
<meta itemprop="name" content="<?php echo get_bloginfo( 'name', 'display' ); ?>" />
|
||||
<meta itemprop="url" content="<?php echo esc_url( home_url( '/' ) ); ?>" />
|
||||
<?php
|
||||
if ( has_custom_logo() ) {
|
||||
$image = wp_get_attachment_image_src( get_theme_mod( 'custom_logo' ) );
|
||||
?>
|
||||
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
|
||||
<meta itemprop="url" content="<?php echo current( $image ); ?>" />
|
||||
<meta itemprop="width" content="<?php echo next( $image ); ?>" />
|
||||
<meta itemprop="height" content="<?php echo next( $image ); ?>" />
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div>
|
||||
<?php get_search_form(); ?>
|
||||
</div>
|
||||
<div>
|
||||
<?php printf( __( 'This site uses the <a rel="external" href="https://giteacoffee.emucafe.org/naferrell/emusem-press">Emusem Press</a> child theme of <a rel="external" href="https://github.com/pfefferle/SemPress">SemPress</a>. <br> Emusem Press is maintained by <a rel="external" href="https://thenewleafjournal.com/author/naferrell">Nicholas A. Ferrell</a>.' ) ); ?>
|
||||
</div>
|
||||
<div>
|
||||
<?php printf( __( 'Copyright © The Emu Café Social and/or the respective authors unless otherwise expressly stated.') ); ?>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
</div><!-- #page -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
31
functions.php
Normal file
31
functions.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;
|
||||
|
||||
// BEGIN ENQUEUE PARENT ACTION
|
||||
// AUTO GENERATED - Do not modify or remove comment markers above or below:
|
||||
|
||||
if ( !function_exists( 'chld_thm_cfg_locale_css' ) ):
|
||||
function chld_thm_cfg_locale_css( $uri ){
|
||||
if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) )
|
||||
$uri = get_template_directory_uri() . '/rtl.css';
|
||||
return $uri;
|
||||
}
|
||||
endif;
|
||||
add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' );
|
||||
|
||||
if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
|
||||
function chld_thm_cfg_parent_css() {
|
||||
wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( ) );
|
||||
}
|
||||
endif;
|
||||
add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10 );
|
||||
|
||||
if ( !function_exists( 'child_theme_configurator_css' ) ):
|
||||
function child_theme_configurator_css() {
|
||||
wp_enqueue_style( 'chld_thm_cfg_separate', trailingslashit( get_stylesheet_directory_uri() ) . 'ctc-style.css', array( 'chld_thm_cfg_parent','sempress-style' ) );
|
||||
}
|
||||
endif;
|
||||
add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css', 10 );
|
||||
|
||||
// END ENQUEUE PARENT ACTION
|
42
style.css
Normal file
42
style.css
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
Theme Name: Emusem Press
|
||||
Theme URI: https://giteacoffee.emucafe.org/naferrell/emusocial-sempress-child
|
||||
Template: sempress
|
||||
Author: Nicholas A. Ferrell
|
||||
Author URI: https://thenewleafjournal.com/author/naferrell
|
||||
Description: SemPress Child theme maintained by Nicholas A. Ferrell for use on The Emu Café Social. This project is maintained for use on The Emu Café and is not a general-purpose child theme for SemPress (there are several full-featured child themes for it linked from the theme's official GitHub repository).
|
||||
Tags: custom-menu,custom-colors,custom-header,custom-background,custom-logo,sticky-post,microformats,rtl-language-support,translation-ready,full-width-template,post-formats,threaded-comments,right-sidebar,theme-options,two-columns,one-column,editor-style,featured-images,blog,news
|
||||
Version: 1.0
|
||||
Updated: 2023-09-08 23:40:36
|
||||
|
||||
*/
|
||||
|
||||
body {
|
||||
font-size: 110%;
|
||||
color: #020035;
|
||||
text-shadow: 0 1px 0 #f0f8ff;
|
||||
text-shadow: 0 1px 0 #f6dbd8;
|
||||
background-image: none;
|
||||
background-color: #fffff5;
|
||||
font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
|
||||
font-weight: 500;
|
||||
}
|
||||
#colophon {
|
||||
font-size: 16px;
|
||||
}
|
||||
article.page, article.post, article.attachment {
|
||||
border: 1px solid #2a52be;
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
-o-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-khtml-border-radius: 4px;
|
||||
background-color: #f8fbf8;
|
||||
-moz-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.2);
|
||||
-webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.2);
|
||||
-o-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.2);
|
||||
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.2);
|
||||
}
|
||||
body, a {
|
||||
color: #020035;
|
||||
}
|
Loading…
Reference in New Issue
Block a user