griswolddad
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can Hashtag results show image from post instead of title?OK. I’ve done all that. Thank you for your help. 1 last question, it still isn’t working. So I want to make sure I’m using the right terminology. “Featured” image per post…I’ve not manually set anything as “Featured”. Simply, each post has an image in it through adding media. Is that the same thing as “featured”…or do I need to do something to the images themselves?
Forum: Plugins
In reply to: [WP Responsive header image slider] Possible in TwentyFourteenI’m assuming Daniel and I (having the same theme) are using the same code within the header.php. If so, where does your line of code need to be placed? Below is my unedited, base header.php:
<?php
/**
* The Header for our theme
*
* Displays all of the <head> section and everything up till <div id=”main”>
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
?><!DOCTYPE html>
<!–[if IE 7]>
<html class=”ie ie7″ <?php language_attributes(); ?>>
<![endif]–>
<!–[if IE 8]>
<html class=”ie ie8″ <?php language_attributes(); ?>>
<![endif]–>
<!–[if !(IE 7) & !(IE 8)]><!–>
<html <?php language_attributes(); ?>>
<!–<![endif]–>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width”>
<title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<!–[if lt IE 9]>
<script src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
<![endif]–>
<?php wp_head(); ?>
</head><body <?php body_class(); ?>>
<div id=”page” class=”hfeed site”>
<?php if ( get_header_image() ) : ?>
<div id=”site-header”>
” rel=”home”>
<img src=”<?php header_image(); ?>” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>”>
</div>
<?php endif; ?><header id=”masthead” class=”site-header” role=”banner”>
<div class=”header-main”>
<h1 class=”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1><div class=”search-toggle”>
<?php _e( ‘Search’, ‘twentyfourteen’ ); ?>
</div><nav id=”primary-navigation” class=”site-navigation primary-navigation” role=”navigation”>
<button class=”menu-toggle”><?php _e( ‘Primary Menu’, ‘twentyfourteen’ ); ?></button>
<?php _e( ‘Skip to content’, ‘twentyfourteen’ ); ?>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’ ) ); ?>
</nav>
</div><div id=”search-container” class=”search-box-wrapper hide”>
<div class=”search-box”>
<?php get_search_form(); ?>
</div>
</div>
</header><!– #masthead –><div id=”main” class=”site-main”>
Forum: Plugins
In reply to: [WP Responsive header image slider] Possible in TwentyFourteenGreat question! I’m looking into the same thing. Not sure where to place that line of code within the header.php file.
Forum: Fixing WordPress
In reply to: Can Hashtag results show image from post instead of title?Sorry. I need to admit my noobness. You can’t just edit the tag.php file is copied above? You first have to create a child theme?
Once the child theme is created, what steps will I need to take to have the hashtag search show the associated images rather than the post titles?
Forum: Fixing WordPress
In reply to: Can Hashtag results show image from post instead of title?<?php
/**
* The template for displaying Tag pages
*
* Used to display archive-type pages for posts in a tag.
*
* @link http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/get_header(); ?>
<section id=”primary” class=”content-area”>
<div id=”content” class=”site-content” role=”main”><?php if ( have_posts() ) : ?>
<header class=”archive-header”>
<h1 class=”archive-title”><?php printf( __( ‘Tag Archives: %s’, ‘twentyfourteen’ ), single_tag_title( ”, false ) ); ?></h1><?php
// Show an optional term description.
$term_description = term_description();
if ( ! empty( $term_description ) ) :
printf( ‘<div class=”taxonomy-description”>%s</div>’, $term_description );
endif;
?>
</header><!– .archive-header –><?php
// Start the Loop.
while ( have_posts() ) : the_post();/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );endwhile;
// Previous/next page navigation.
twentyfourteen_paging_nav();else :
// If no content, include the “No posts found” template.
get_template_part( ‘content’, ‘none’ );endif;
?>
</div><!– #content –>
</section><!– #primary –><?php
get_sidebar( ‘content’ );
get_sidebar();
get_footer();Forum: Fixing WordPress
In reply to: Can Hashtag results show image from post instead of title?I’m using the WordPress 2014 theme. My url is http://www.griswolddad.com.