This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom template tags for this theme. | |
* | |
* @package miranda | |
*/ | |
if ( ! function_exists( 'miranda_paging_nav' ) ) : | |
/** | |
* Display navigation to next/previous set of posts when applicable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package aaron | |
*/ | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class('aaron-border'); ?>> | |
<header class="entry-header"> | |
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package aaron | |
*/ | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class('aaron-border'); ?>> | |
<header class="entry-header"> | |
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> | |
</header><!-- .entry-header --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'aaron_portfolio_footer' ) ) : | |
/** | |
* Prints HTML with meta information for the categories, tags and comments. | |
*/ | |
function aaron_portfolio_footer() { | |
if( get_theme_mod('aaron_hide_meta')=="" ){ | |
echo '<footer class="entry-footer">'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else if (is_single() || is_page()) { | |
?> | |
<header id="masthead" role="banner"> | |
<?php if (display_header_text() ) { ?> | |
<div class="site-title" style="text-align:center; margin-top:130px;"><a href="<?php echo esc_url( home_url('/') ); ?>" style="text-decoration:none;"><?php bloginfo( 'name' ); ?></a></div> | |
<?php } | |
?> | |
</header><!-- #masthead --> | |
<?php | |
} ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: Static and Featured | |
* | |
* Description: A Page Template that displays your static frontpage and featured content, | |
* @package aaron | |
*/ | |
get_header(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function aaron_highlights() { | |
/* | |
* Frontpage Highlights | |
*/ | |
if( !get_theme_mod( 'aaron_hide_highlight' ) ){ | |
for ($i = 1; $i < 10; $i++) { | |
//Is this highlight visisble? | |
if ( !get_theme_mod( 'aaron_highlight' . $i . '_hide' ) ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template used for displaying page content in page.php | |
* | |
* @package aaron | |
*/ | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package aaron | |
*/ | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class('aaron-border'); ?>> | |
<header class="entry-header"> | |
<?php | |
if ( !aaron_get_meta( 'aaron_replace_title' ) ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Things we do not allow: | |
function qqq_scripts() { | |
wp_enqueue_style( 'bootstrapcss', 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css'); | |
wp_enqueue_script( 'popperjs', 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js', array( 'jquery'), '1.14.7', true ); | |
wp_enqueue_script( 'bootstrapjs', 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js', array( 'jquery'), '4.1.3', true ); | |
wp_enqueue_style( 'font-awesome', 'https://use.fontawesome.com/releases/v5.8.1/css/all.css' ); | |
} | |
function qqq_scripts() { |
OlderNewer