Compare commits
No commits in common. "24edd361ae76b114d59d8c0d57d59695895f8d25" and "62271443975a9bdf2c4504b462d079f911f03772" have entirely different histories.
24edd361ae
...
6227144397
0
.gitattributes
vendored
Executable file → Normal file
0
.gitattributes
vendored
Executable file → Normal file
4
.gitignore
vendored
Executable file → Normal file
4
.gitignore
vendored
Executable file → Normal file
@ -41,7 +41,3 @@ $RECYCLE.BIN/
|
|||||||
Network Trash Folder
|
Network Trash Folder
|
||||||
Temporary Items
|
Temporary Items
|
||||||
.apdisk
|
.apdisk
|
||||||
|
|
||||||
# Added by me
|
|
||||||
# 2021.06.27
|
|
||||||
notes.txt
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
theme:minimal
|
|
0
archive.php
Executable file → Normal file
0
archive.php
Executable file → Normal file
0
category.php
Executable file → Normal file
0
category.php
Executable file → Normal file
0
comments.php
Executable file → Normal file
0
comments.php
Executable file → Normal file
80
comments__.php
Normal file
80
comments__.php
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* The template for displaying comments.
|
||||||
|
*
|
||||||
|
* The area of the page that contains both current comments
|
||||||
|
* and the comment form.
|
||||||
|
*
|
||||||
|
* @package Atticus Finch
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If the current post is protected by a password and
|
||||||
|
* the visitor has not yet entered the password we will
|
||||||
|
* return early without loading the comments.
|
||||||
|
*/
|
||||||
|
if ( post_password_required() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id="comments" class="comments-area">
|
||||||
|
|
||||||
|
<?php // You can start editing here -- including this comment! ?>
|
||||||
|
|
||||||
|
<?php if ( have_comments() ) : ?>
|
||||||
|
<h2 class="comments-title">
|
||||||
|
<?php
|
||||||
|
printf( // WPCS: XSS OK.
|
||||||
|
esc_html( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'atticus-finch' ) ),
|
||||||
|
number_format_i18n( get_comments_number() ),
|
||||||
|
'<span>' . get_the_title() . '</span>'
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||||
|
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
|
||||||
|
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'atticus-finch' ); ?></h2>
|
||||||
|
<div class="nav-links">
|
||||||
|
|
||||||
|
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'atticus-finch' ) ); ?></div>
|
||||||
|
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'atticus-finch' ) ); ?></div>
|
||||||
|
|
||||||
|
</div><!-- .nav-links -->
|
||||||
|
</nav><!-- #comment-nav-above -->
|
||||||
|
<?php endif; // Check for comment navigation. ?>
|
||||||
|
|
||||||
|
<ol class="comment-list">
|
||||||
|
<?php
|
||||||
|
wp_list_comments( array(
|
||||||
|
'style' => 'ol',
|
||||||
|
'short_ping' => true,
|
||||||
|
) );
|
||||||
|
?>
|
||||||
|
</ol><!-- .comment-list -->
|
||||||
|
|
||||||
|
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||||
|
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
|
||||||
|
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'atticus-finch' ); ?></h2>
|
||||||
|
<div class="nav-links">
|
||||||
|
|
||||||
|
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'atticus-finch' ) ); ?></div>
|
||||||
|
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'atticus-finch' ) ); ?></div>
|
||||||
|
|
||||||
|
</div><!-- .nav-links -->
|
||||||
|
</nav><!-- #comment-nav-below -->
|
||||||
|
<?php endif; // Check for comment navigation. ?>
|
||||||
|
|
||||||
|
<?php endif; // Check for have_comments(). ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||||
|
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
|
||||||
|
?>
|
||||||
|
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'atticus-finch' ); ?></p>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php comment_form(); ?>
|
||||||
|
|
||||||
|
</div><!-- #comments -->
|
0
footer.php
Executable file → Normal file
0
footer.php
Executable file → Normal file
0
formats/content-aside.php
Executable file → Normal file
0
formats/content-aside.php
Executable file → Normal file
0
formats/content-audio.php
Executable file → Normal file
0
formats/content-audio.php
Executable file → Normal file
0
formats/content-chat.php
Executable file → Normal file
0
formats/content-chat.php
Executable file → Normal file
0
formats/content-gallery.php
Executable file → Normal file
0
formats/content-gallery.php
Executable file → Normal file
0
formats/content-image.php
Executable file → Normal file
0
formats/content-image.php
Executable file → Normal file
0
formats/content-link.php
Executable file → Normal file
0
formats/content-link.php
Executable file → Normal file
0
formats/content-quote.php
Executable file → Normal file
0
formats/content-quote.php
Executable file → Normal file
0
formats/content-status.php
Executable file → Normal file
0
formats/content-status.php
Executable file → Normal file
0
formats/content-video.php
Executable file → Normal file
0
formats/content-video.php
Executable file → Normal file
0
formats/content.php
Executable file → Normal file
0
formats/content.php
Executable file → Normal file
0
formats/excerpt-aside.php
Executable file → Normal file
0
formats/excerpt-aside.php
Executable file → Normal file
0
formats/excerpt-audio.php
Executable file → Normal file
0
formats/excerpt-audio.php
Executable file → Normal file
0
formats/excerpt-chat.php
Executable file → Normal file
0
formats/excerpt-chat.php
Executable file → Normal file
0
formats/excerpt-gallery.php
Executable file → Normal file
0
formats/excerpt-gallery.php
Executable file → Normal file
0
formats/excerpt-image.php
Executable file → Normal file
0
formats/excerpt-image.php
Executable file → Normal file
0
formats/excerpt-link.php
Executable file → Normal file
0
formats/excerpt-link.php
Executable file → Normal file
0
formats/excerpt-quote.php
Executable file → Normal file
0
formats/excerpt-quote.php
Executable file → Normal file
0
formats/excerpt-status.php
Executable file → Normal file
0
formats/excerpt-status.php
Executable file → Normal file
0
formats/excerpt-video.php
Executable file → Normal file
0
formats/excerpt-video.php
Executable file → Normal file
0
formats/excerpt.php
Executable file → Normal file
0
formats/excerpt.php
Executable file → Normal file
@ -118,23 +118,23 @@ add_action( 'widgets_init', 'atticus_finch_widgets_init' );
|
|||||||
* Enqueue scripts and styles.
|
* Enqueue scripts and styles.
|
||||||
*/
|
*/
|
||||||
function atticus_finch_scripts() {
|
function atticus_finch_scripts() {
|
||||||
wp_enqueue_style( 'atticus-finch-googlefont', 'https://fonts.googleapis.com/css?family=IM+Fell+English:400,400italic', 'atticus-finch-style', wp_get_theme() -> get( 'Version' ), 'all' );
|
wp_enqueue_style( 'atticus-finch-googlefont', 'https://fonts.googleapis.com/css?family=IM+Fell+English:400,400italic', 'atticus-finch-style', '0.5', 'all' );
|
||||||
|
|
||||||
if ( !wp_style_is( 'font-awesome.min.css', 'enqueued' ) ) {
|
if ( !wp_style_is( 'font-awesome.min.css', 'enqueued' ) ) {
|
||||||
wp_enqueue_style( 'atticus-finch-fa', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', 'atticus-finch-style', wp_get_theme() -> get( 'Version' ), 'all' );
|
wp_enqueue_style( 'atticus-finch-fa', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', 'atticus-finch-style', '0.5', 'all' );
|
||||||
}
|
}
|
||||||
|
|
||||||
wp_enqueue_style( 'atticus-finch-style', get_stylesheet_uri() );
|
wp_enqueue_style( 'atticus-finch-style', get_stylesheet_uri( 'atticus-finch-navigation' ), array (), '0.5', 'screen' );
|
||||||
|
|
||||||
wp_enqueue_style( 'atticus-finch-menus', get_template_directory_uri() . '/styles/menus.css', array( 'atticus-finch-style' ), wp_get_theme() -> get( 'Version' ) );
|
wp_enqueue_style( 'atticus-finch-menu-style', get_template_directory_uri() . '/styles/menus.css', 'atticus-finch-style', '0.5', 'screen' );
|
||||||
|
|
||||||
wp_enqueue_style( 'atticus-finch-mobile', get_template_directory_uri() . '/styles/mobile.css', array( 'atticus-finch-style' ), wp_get_theme() -> get( 'Version' ), 'screen and (max-width: '. get_theme_mod( 'atticus_finch_mobile_breakpoint' ) . 'px)' );
|
wp_enqueue_style( 'atticus-finch-mobile', get_stylesheet_directory_uri() . '/styles/mobile.css', 'atticus-finch-style', '0.5', 'screen and (max-width: '. get_theme_mod( 'atticus_finch_mobile_breakpoint' ) . 'px)' );
|
||||||
|
|
||||||
wp_enqueue_style( 'atticus-finch-print', get_template_directory_uri() . '/styles/print.css', array( 'atticus-finch-style' ), wp_get_theme() -> get( 'Version' ), 'print' );
|
wp_enqueue_style( 'atticus-finch-print', get_stylesheet_directory_uri() . '/styles/print.css', 'atticus-finch-style', '0.5', 'print' );
|
||||||
|
|
||||||
wp_enqueue_script( 'atticus-finch-menumaker', get_template_directory_uri() . '/js/menumaker.js', array( 'jquery' ), wp_get_theme() -> get( 'Version' ), true );
|
wp_enqueue_script( 'atticus-finch-mobile-menus', get_template_directory_uri() . '/js/menumaker.js', array( 'jquery' ), '0.5', true );
|
||||||
|
|
||||||
wp_enqueue_script( 'atticus-finch-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), wp_get_theme() -> get( 'Version' ), true );
|
wp_enqueue_script( 'atticus-finch-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '0.5', true );
|
||||||
|
|
||||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||||
wp_enqueue_script( 'comment-reply' );
|
wp_enqueue_script( 'comment-reply' );
|
||||||
@ -146,7 +146,7 @@ add_action( 'wp_enqueue_scripts', 'atticus_finch_scripts' );
|
|||||||
* Enable live changes in the customizer
|
* Enable live changes in the customizer
|
||||||
*/
|
*/
|
||||||
function atticus_finch_customizer_script() {
|
function atticus_finch_customizer_script() {
|
||||||
wp_enqueue_script( 'atticus-finch-theme-customizer', get_template_directory_uri() . '/js/customizer.js', array(), wp_get_theme() -> get( 'Version' ), true );
|
wp_enqueue_script( 'atticus-finch-theme-customizer', get_template_directory_uri() . '/js/customizer.js', array(), '0.5', true );
|
||||||
}
|
}
|
||||||
add_action( 'customize_preview_init', 'atticus_finch_customizer_script' );
|
add_action( 'customize_preview_init', 'atticus_finch_customizer_script' );
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ require get_template_directory() . '/functions/mobile-menus.php';
|
|||||||
// Include our update script to update from private repo
|
// Include our update script to update from private repo
|
||||||
require 'update/puc.php';
|
require 'update/puc.php';
|
||||||
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
|
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
|
||||||
'http://api.kjodle.net/?action=get_metadata&slug=atticus-finch',
|
'http://api.kjodle.net/updates/atticus-finch.json',
|
||||||
__FILE__,
|
__FILE__,
|
||||||
'atticus-finch'
|
'atticus-finch'
|
||||||
);
|
);
|
||||||
|
0
functions/custom-header.php
Executable file → Normal file
0
functions/custom-header.php
Executable file → Normal file
@ -494,6 +494,28 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
) );
|
) );
|
||||||
|
|
||||||
|
|
||||||
|
// Custom CSS Information
|
||||||
|
$wp_customize->add_section( 'atticus_finch_custom_css', array(
|
||||||
|
'title' => __( 'Custom CSS', 'atticus-finch' ),
|
||||||
|
'capability' => 'edit_theme_options',
|
||||||
|
'priority' => 60,
|
||||||
|
'description' => sprintf( wp_kses( __( 'The best way to alter your theme is via a child theme. Use <a href="%s" target="_blank">this link</a> to download a ready-made child theme.', 'atticus-finch' ), array( 'a' => array( 'href' => array(), 'target' => array() ) ) ), esc_url( 'https://github.com/kjodle/atticus-finch-child' ) ),
|
||||||
|
'panel' => 'atticusfinch',
|
||||||
|
) );
|
||||||
|
|
||||||
|
$wp_customize->add_setting( 'atticus_finch_ccss', array(
|
||||||
|
'type' => 'theme_mod',
|
||||||
|
'transport' => 'postMessage',
|
||||||
|
'sanitize_callback' => 'atticus_finch_sanitize_css',
|
||||||
|
) );
|
||||||
|
|
||||||
|
|
||||||
|
$wp_customize->add_control( 'atticus_finch_ccss', array(
|
||||||
|
'section' => 'atticus_finch_custom_css',
|
||||||
|
'type' => 'select',
|
||||||
|
) );
|
||||||
|
|
||||||
|
|
||||||
// Print Options
|
// Print Options
|
||||||
$wp_customize->add_section( 'atticus_finch_print', array (
|
$wp_customize->add_section( 'atticus_finch_print', array (
|
||||||
'title' => __( 'Print Options', 'atticus-finch' ),
|
'title' => __( 'Print Options', 'atticus-finch' ),
|
||||||
@ -553,12 +575,12 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
$wp_customize->add_setting( 'atticus_finch_twitter', array(
|
$wp_customize->add_setting( 'atticus_finch_twitter', array(
|
||||||
'type' => 'theme_mod',
|
'type' => 'theme_mod',
|
||||||
'transport' => 'postMessage',
|
'transport' => 'postMessage',
|
||||||
'sanitize_callback' => 'atticus_finch_sanitize_url',
|
'sanitize_callback' => 'html',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$wp_customize->add_control( 'atticus_finch_twitter', array(
|
$wp_customize->add_control( 'atticus_finch_twitter', array(
|
||||||
'section' => 'atticus_finch_social_media',
|
'section' => 'atticus_finch_social_media',
|
||||||
'type' => 'url',
|
'type' => 'text',
|
||||||
'label' => __( 'Enter Twitter URL', 'atticus-finch'),
|
'label' => __( 'Enter Twitter URL', 'atticus-finch'),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
@ -566,12 +588,12 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
$wp_customize->add_setting( 'atticus_finch_twitter2', array(
|
$wp_customize->add_setting( 'atticus_finch_twitter2', array(
|
||||||
'type' => 'theme_mod',
|
'type' => 'theme_mod',
|
||||||
'transport' => 'postMessage',
|
'transport' => 'postMessage',
|
||||||
'sanitize_callback' => 'atticus_finch_sanitize_url',
|
'sanitize_callback' => 'html',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$wp_customize->add_control( 'atticus_finch_twitter2', array(
|
$wp_customize->add_control( 'atticus_finch_twitter2', array(
|
||||||
'section' => 'atticus_finch_social_media',
|
'section' => 'atticus_finch_social_media',
|
||||||
'type' => 'url',
|
'type' => 'text',
|
||||||
'label' => __( 'Enter second Twitter URL', 'atticus-finch'),
|
'label' => __( 'Enter second Twitter URL', 'atticus-finch'),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
@ -579,12 +601,12 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
$wp_customize->add_setting( 'atticus_finch_facebook', array(
|
$wp_customize->add_setting( 'atticus_finch_facebook', array(
|
||||||
'type' => 'theme_mod',
|
'type' => 'theme_mod',
|
||||||
'transport' => 'postMessage',
|
'transport' => 'postMessage',
|
||||||
'sanitize_callback' => 'atticus_finch_sanitize_url',
|
'sanitize_callback' => 'html',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$wp_customize->add_control( 'atticus_finch_facebook', array(
|
$wp_customize->add_control( 'atticus_finch_facebook', array(
|
||||||
'section' => 'atticus_finch_social_media',
|
'section' => 'atticus_finch_social_media',
|
||||||
'type' => 'url',
|
'type' => 'text',
|
||||||
'label' => __( 'Enter Facebook URL', 'atticus-finch'),
|
'label' => __( 'Enter Facebook URL', 'atticus-finch'),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
@ -592,7 +614,7 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
$wp_customize->add_setting( 'atticus_finch_instagram', array(
|
$wp_customize->add_setting( 'atticus_finch_instagram', array(
|
||||||
'type' => 'theme_mod',
|
'type' => 'theme_mod',
|
||||||
'transport' => 'postMessage',
|
'transport' => 'postMessage',
|
||||||
'sanitize_callback' => 'atticus_finch_sanitize_url',
|
'sanitize_callback' => 'html',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$wp_customize->add_control( 'atticus_finch_instagram', array(
|
$wp_customize->add_control( 'atticus_finch_instagram', array(
|
||||||
@ -605,12 +627,12 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
$wp_customize->add_setting( 'atticus_finch_youtube', array(
|
$wp_customize->add_setting( 'atticus_finch_youtube', array(
|
||||||
'type' => 'theme_mod',
|
'type' => 'theme_mod',
|
||||||
'transport' => 'postMessage',
|
'transport' => 'postMessage',
|
||||||
'sanitize_callback' => 'atticus_finch_sanitize_url',
|
'sanitize_callback' => 'html',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$wp_customize->add_control( 'atticus_finch_youtube', array(
|
$wp_customize->add_control( 'atticus_finch_youtube', array(
|
||||||
'section' => 'atticus_finch_social_media',
|
'section' => 'atticus_finch_social_media',
|
||||||
'type' => 'url',
|
'type' => 'text',
|
||||||
'label' => __( 'Enter YouTube URL', 'atticus-finch'),
|
'label' => __( 'Enter YouTube URL', 'atticus-finch'),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
@ -618,12 +640,12 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
$wp_customize->add_setting( 'atticus_finch_pinterest', array(
|
$wp_customize->add_setting( 'atticus_finch_pinterest', array(
|
||||||
'type' => 'theme_mod',
|
'type' => 'theme_mod',
|
||||||
'transport' => 'postMessage',
|
'transport' => 'postMessage',
|
||||||
'sanitize_callback' => 'atticus_finch_sanitize_url',
|
'sanitize_callback' => 'html',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$wp_customize->add_control( 'atticus_finch_pinterest', array(
|
$wp_customize->add_control( 'atticus_finch_pinterest', array(
|
||||||
'section' => 'atticus_finch_social_media',
|
'section' => 'atticus_finch_social_media',
|
||||||
'type' => 'url',
|
'type' => 'text',
|
||||||
'label' => __( 'Enter Pinterest Profile URL', 'atticus-finch'),
|
'label' => __( 'Enter Pinterest Profile URL', 'atticus-finch'),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
@ -631,12 +653,12 @@ $default_copyright = '<a rel="license" href="http://creativecommons.org/licenses
|
|||||||
$wp_customize->add_setting( 'atticus_finch_amazon', array(
|
$wp_customize->add_setting( 'atticus_finch_amazon', array(
|
||||||
'type' => 'theme_mod',
|
'type' => 'theme_mod',
|
||||||
'transport' => 'postMessage',
|
'transport' => 'postMessage',
|
||||||
'sanitize_callback' => 'atticus_finch_sanitize_url',
|
'sanitize_callback' => 'html',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$wp_customize->add_control( 'atticus_finch_amazon', array(
|
$wp_customize->add_control( 'atticus_finch_amazon', array(
|
||||||
'section' => 'atticus_finch_social_media',
|
'section' => 'atticus_finch_social_media',
|
||||||
'type' => 'url',
|
'type' => 'text',
|
||||||
'label' => __( 'Enter Amazon Wish List URL', 'atticus-finch'),
|
'label' => __( 'Enter Amazon Wish List URL', 'atticus-finch'),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
@ -950,10 +972,6 @@ function atticus_finch_sanitize_html( $input ) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function atticus_finch_sanitize_url( $url ) {
|
|
||||||
return esc_url_raw( $url );
|
|
||||||
}
|
|
||||||
|
|
||||||
function atticus_finch_sanitize_mobile_menu_type( $input ){
|
function atticus_finch_sanitize_mobile_menu_type( $input ){
|
||||||
$valid = array(
|
$valid = array(
|
||||||
'select' => 'Select Menu',
|
'select' => 'Select Menu',
|
||||||
@ -973,3 +991,8 @@ function atticus_finch_sanitize_int( $input ){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function atticus_finch_sanitize_css( $input ) {
|
||||||
|
// wp_filter_nohtml_kses( $input );
|
||||||
|
strip_tags( $input );
|
||||||
|
return $input;
|
||||||
|
}
|
||||||
|
0
functions/jetpack.php
Executable file → Normal file
0
functions/jetpack.php
Executable file → Normal file
0
functions/mobile-menus.php
Executable file → Normal file
0
functions/mobile-menus.php
Executable file → Normal file
0
functions/template-tags.php
Executable file → Normal file
0
functions/template-tags.php
Executable file → Normal file
0
functions/widget-areas.php
Executable file → Normal file
0
functions/widget-areas.php
Executable file → Normal file
8
header.php
Executable file → Normal file
8
header.php
Executable file → Normal file
@ -15,8 +15,7 @@
|
|||||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
||||||
|
|
||||||
<!-- Commented out on 2021.06.27 -->
|
<?php atticus_finch_custom_css_head(); ?>
|
||||||
<?php // atticus_finch_custom_css_head(); ?>
|
|
||||||
|
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
</head>
|
</head>
|
||||||
@ -79,8 +78,7 @@
|
|||||||
|
|
||||||
<?php do_action( 'atticus_finch_before_primary_menu' ); ?>
|
<?php do_action( 'atticus_finch_before_primary_menu' ); ?>
|
||||||
|
|
||||||
<!-- Commented out on 2021.06.27 -->
|
<?php $walker = new Atticus_Finch_Menu_With_Description; ?>
|
||||||
<?php // $walker = new Atticus_Finch_Menu_With_Description; ?>
|
|
||||||
|
|
||||||
<nav id="primary-menu">
|
<nav id="primary-menu">
|
||||||
<?php
|
<?php
|
||||||
@ -93,7 +91,7 @@
|
|||||||
'container' => 'div',
|
'container' => 'div',
|
||||||
'container_id' => 'belowheadermenu',
|
'container_id' => 'belowheadermenu',
|
||||||
'depth' => 3,
|
'depth' => 3,
|
||||||
// 'walker' => $walker,
|
'walker' => $walker,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$array = array(
|
$array = array(
|
||||||
|
0
images/404.jpg
Executable file → Normal file
0
images/404.jpg
Executable file → Normal file
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
0
inc/content-entry-meta.php
Executable file → Normal file
0
inc/content-entry-meta.php
Executable file → Normal file
0
inc/content-excerpt.php
Executable file → Normal file
0
inc/content-excerpt.php
Executable file → Normal file
0
inc/content-main.php
Executable file → Normal file
0
inc/content-main.php
Executable file → Normal file
0
inc/content-post-nav.php
Executable file → Normal file
0
inc/content-post-nav.php
Executable file → Normal file
0
inc/excerpt-entry-meta.php
Executable file → Normal file
0
inc/excerpt-entry-meta.php
Executable file → Normal file
0
inc/excerpt-short-meta.php
Executable file → Normal file
0
inc/excerpt-short-meta.php
Executable file → Normal file
0
inc/page-main.php
Executable file → Normal file
0
inc/page-main.php
Executable file → Normal file
0
js/customizer.js
Executable file → Normal file
0
js/customizer.js
Executable file → Normal file
0
js/menumaker.min.js
vendored
Executable file → Normal file
0
js/menumaker.min.js
vendored
Executable file → Normal file
0
js/navigation.js
Executable file → Normal file
0
js/navigation.js
Executable file → Normal file
0
js/skip-link-focus-fix.js
Executable file → Normal file
0
js/skip-link-focus-fix.js
Executable file → Normal file
0
lang/.gitignore
vendored
0
lang/.gitignore
vendored
0
page-no-sidebar.php
Executable file → Normal file
0
page-no-sidebar.php
Executable file → Normal file
51
readme.md
51
readme.md
@ -1,51 +0,0 @@
|
|||||||
# Atticus Finch #
|
|
||||||
* Contributors: @kjodle
|
|
||||||
* Tags: black, gray, white, fixed-layout, two-columns, left-sidebar, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
|
|
||||||
* Requires at least: 1.0
|
|
||||||
* Tested up to: 1.2
|
|
||||||
* ~~Stable tag: 0.9.1~~ (Not sure how this will work under ClassicPress.)
|
|
||||||
* License: GPLv2 or later
|
|
||||||
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
||||||
|
|
||||||
## Description ##
|
|
||||||
|
|
||||||
For more information about Atticus Finch please go to http://wiki.kjodle.net/Category:Atticus_Finch_Theme.
|
|
||||||
|
|
||||||
As of version 0.10, development is exclusively for [ClassicPress](https://www.classicpress.net/). :grinning:
|
|
||||||
|
|
||||||
## Installation ##
|
|
||||||
|
|
||||||
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
|
|
||||||
1. Type in 'Atticus Finch' in the search form and press the 'Enter' key on your keyboard.
|
|
||||||
1. Click on the 'Activate' button to use your new theme right away.
|
|
||||||
|
|
||||||
## Copyright ##
|
|
||||||
|
|
||||||
Atticus Finch WordPress Theme, Copyright 2016 Kenneth John Odle
|
|
||||||
Atticus Finch is distributed under the terms of the GNU GPL
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
The Atticus Finch theme bundles the following third-party resources:
|
|
||||||
|
|
||||||
FontAwesome Icon Font, Copyright 2016 Dave Gandy
|
|
||||||
License: MIT (http://opensource.org/licenses/mit-license.html)
|
|
||||||
Source: https://fortawesome.github.io/Font-Awesome/
|
|
||||||
|
|
||||||
IM Fell English Font, Copyright 2016 Igino Marini
|
|
||||||
License: SIL (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
|
|
||||||
Source: https://www.google.com/fonts/specimen/IM+Fell+English
|
|
||||||
|
|
||||||
Superfish jQuery Menu Plugin, Copyright 2015 Joel Birch
|
|
||||||
License: MIT (http://opensource.org/licenses/mit-license.html)
|
|
||||||
Source: http://users.tpg.com.au/j_birch/plugins/superfish/
|
|
||||||
|
|
||||||
## Notes ##
|
|
9
readme.txt
Executable file → Normal file
9
readme.txt
Executable file → Normal file
@ -3,7 +3,7 @@ Contributors: kjodle
|
|||||||
Tags: black, gray, white, fixed-layout, two-columns, left-sidebar, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
|
Tags: black, gray, white, fixed-layout, two-columns, left-sidebar, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
|
||||||
Requires at least: 4.1
|
Requires at least: 4.1
|
||||||
Tested up to: 4.7.5
|
Tested up to: 4.7.5
|
||||||
Stable tag: 0.9.1
|
Stable tag: 0.7
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -11,8 +11,6 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|||||||
|
|
||||||
For more information about Atticus Finch please go to http://wiki.kjodle.net/Category:Atticus_Finch_Theme.
|
For more information about Atticus Finch please go to http://wiki.kjodle.net/Category:Atticus_Finch_Theme.
|
||||||
|
|
||||||
As of version 0.10, development is exclusively for ClassicPress.
|
|
||||||
|
|
||||||
== Installation ==
|
== Installation ==
|
||||||
|
|
||||||
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
|
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
|
||||||
@ -44,8 +42,7 @@ IM Fell English Font, Copyright 2016 Igino Marini
|
|||||||
License: SIL (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
|
License: SIL (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
|
||||||
Source: https://www.google.com/fonts/specimen/IM+Fell+English
|
Source: https://www.google.com/fonts/specimen/IM+Fell+English
|
||||||
|
|
||||||
Superfish jQuery Menu Plugin, Copyright 2015 Joel Birch
|
jQuery Plugin Responsive Drop Down
|
||||||
License: MIT (http://opensource.org/licenses/mit-license.html)
|
Source: https://github.com/cssmenumaker/jQuery-Plugin-Responsive-Drop-Down
|
||||||
Source: http://users.tpg.com.au/j_birch/plugins/superfish/
|
|
||||||
|
|
||||||
== Notes ==
|
== Notes ==
|
||||||
|
0
screenshot.png
Executable file → Normal file
0
screenshot.png
Executable file → Normal file
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
0
sidebar.php
Executable file → Normal file
0
sidebar.php
Executable file → Normal file
0
single.php
Executable file → Normal file
0
single.php
Executable file → Normal file
19
style.css
19
style.css
@ -4,7 +4,7 @@ Theme URI: http://wiki.kjodle.net/Category:Atticus_Finch_Theme
|
|||||||
Author: kjodle
|
Author: kjodle
|
||||||
Author URI: http://d12webdesign.com/
|
Author URI: http://d12webdesign.com/
|
||||||
Description: Description
|
Description: Description
|
||||||
Version: 0.9.3
|
Version: 0.8
|
||||||
License: GNU General Public License v2 or later
|
License: GNU General Public License v2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
Tags: two-columns, left-sidebar, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
|
Tags: two-columns, left-sidebar, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
|
||||||
@ -156,8 +156,6 @@ nav#top-menu,
|
|||||||
nav#primary-menu {
|
nav#primary-menu {
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
position: relative;
|
|
||||||
z-index: 100;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p.sub { /* Style main menu descriptions */
|
p.sub { /* Style main menu descriptions */
|
||||||
@ -208,7 +206,7 @@ a.top-button {
|
|||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content a {
|
.post a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: dotted 1px #222;
|
border-bottom: dotted 1px #222;
|
||||||
color: #222;
|
color: #222;
|
||||||
@ -220,21 +218,11 @@ a.top-button {
|
|||||||
-webkit-transition: border-color 1s;
|
-webkit-transition: border-color 1s;
|
||||||
transition: border-color 1s;
|
transition: border-color 1s;
|
||||||
}
|
}
|
||||||
.post-content a:hover {
|
.post a:hover {
|
||||||
border-color: #eee;
|
border-color: #eee;
|
||||||
color: #3437e5;
|
color: #3437e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove borders on image links */
|
|
||||||
.post-content a[href$=jpg],
|
|
||||||
.post-content a[href$=jpeg],
|
|
||||||
.post-content a[href$=jpe],
|
|
||||||
.post-content a[href$=png],
|
|
||||||
.post-content a[href$=gif] {
|
|
||||||
text-decoration: none;
|
|
||||||
border: 0 none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-title {
|
.post-title {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -649,7 +637,6 @@ ul#footermenu-ul a:hover {
|
|||||||
padding-right: 6px;
|
padding-right: 6px;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
transition: color 2s, font-size 2s;
|
transition: color 2s, font-size 2s;
|
||||||
border: none;
|
|
||||||
}
|
}
|
||||||
#social-media-menu a:hover {
|
#social-media-menu a:hover {
|
||||||
font-size: 48px;
|
font-size: 48px;
|
||||||
|
0
styles/menumaker.css
Executable file → Normal file
0
styles/menumaker.css
Executable file → Normal file
1087
styles/menus.css
1087
styles/menus.css
File diff suppressed because it is too large
Load Diff
6
styles/mobile.css
Executable file → Normal file
6
styles/mobile.css
Executable file → Normal file
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #333;
|
color: brown;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > header {
|
body > header {
|
||||||
@ -91,10 +91,6 @@ body > footer {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
|
||||||
margin: 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Mobile Menu Adjustments */
|
/* Mobile Menu Adjustments */
|
||||||
|
|
||||||
|
29
styles/print.css
Executable file → Normal file
29
styles/print.css
Executable file → Normal file
@ -2,8 +2,7 @@ body > header,
|
|||||||
body > footer,
|
body > footer,
|
||||||
#sidebar,
|
#sidebar,
|
||||||
a.post-edit-link,
|
a.post-edit-link,
|
||||||
#post-series,
|
#post-series {
|
||||||
#respond {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -14,19 +13,9 @@ body,
|
|||||||
.post,
|
.post,
|
||||||
.page,
|
.page,
|
||||||
.post-content {
|
.post-content {
|
||||||
width: 100%;
|
max-width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post li {
|
|
||||||
margin-bottom: 6pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-content a {
|
|
||||||
text-decoration: none;
|
|
||||||
border-bottom: solid 1pt #99f;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
@ -74,17 +63,3 @@ body,
|
|||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content a:after {
|
|
||||||
content:" [URL: " attr(href) "] ";
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove borders on image links */
|
|
||||||
.post-content a[href$=jpg]:after,
|
|
||||||
.post-content a[href$=jpeg]:after,
|
|
||||||
.post-content a[href$=jpe]:after,
|
|
||||||
.post-content a[href$=png]:after,
|
|
||||||
.post-content a[href$=gif]:after {
|
|
||||||
content:"\A[Image location: " attr(href) "] ";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user