kerrigo
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Pique] Making the Header Stay Put on Blog PostsHere are the two sites where I am using this theme:
http://www.steppingintothedream.com/
http://www.thesuccessforum.com/Forum: Themes and Templates
In reply to: [Pique] Making the Header Stay Put on Blog PostsI did that and although the headers shows for the blog posts, it no longer shows on the home page. Here is the code.
<?php /** * The header for our theme. * * Displays all of the <head> section and everything up till <div id="content"> * * @package Pique */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="page" class="hfeed site"> <a href="#content"><?php esc_html_e( 'Skip to content', 'pique' ); ?></a> <header id="masthead" class="site-header" role="banner"> <?php // Let's show a header image if we aren't on the front page and a header has been set if ( ! pique_is_frontpage() AND get_header_image() ) : ?> <a>" rel="home"> <?php if ( is_singular() ) : ?> <img id="pique-header-image" src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="<?php bloginfo( 'name' ); ?>"> <?php endif; // End featured image check. ?> </a> <?php endif; // End header image check. ?> <div class="site-branding"> <?php pique_the_site_logo(); ?> <h1 class="site-title"><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <p class="site-description"><?php bloginfo( 'description' ); ?></p> </div><!-- .site-branding --> <?php if ( pique_is_frontpage() AND get_theme_mod( 'pique_menu' ) ) : ?> <?php // Get each of our panels and output a link to that section ID on the page foreach ( range( 1, 8 ) as $panel ) : if ( get_theme_mod( 'pique_panel' . $panel ) ) : $post = get_post( get_theme_mod( 'pique_panel' . $panel ) ); setup_postdata( $post ); // Just in case the user didn't set a title for the page, we're going to generate one from the slug if ( '' === get_the_title() ) : $title = str_replace( '-', ' ', $post->post_name ); else : $title = get_the_title(); endif; $panel_links[] = ' <li><a href="#post-' . get_the_ID() . '">' . $title . '</a></li> '; wp_reset_postdata(); endif; endforeach; // Output our menu only if we actually have menu items if ( isset( $panel_links ) ) : ?> <div id="site-navigation-wrapper"> <nav id="site-navigation" class="main-navigation" role="navigation"> <ul id="primary-menu" class="menu nav-menu"> <?php foreach ( $panel_links as $key => $link ) : // Output menu link echo wp_kses( $link, array( 'a' => array( 'href' => array(), 'title' => array(), ), 'li' => array(), ) ); endforeach; ?> <li id="more-menu" class="menu-item menu-item-has-children"><a href="#"><span class="screen-reader-text">More</span></a><ul class="sub-menu"> </nav><!-- #site-navigation --> </div> <?php endif; ?> <?php elseif ( has_nav_menu( 'primary' ) ) : ?> <div id="site-navigation-wrapper"> <nav id="site-navigation" class="main-navigation" role="navigation"> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu', 'fallback_cb' => 'wp_page_menu', 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s', 'walker' => new Pique_Menu(), ) ); ?> </nav><!-- #site-navigation --> </div> <?php endif; ?> </header><!-- #masthead --> <div id="content" class="site-content">Forum: Themes and Templates
In reply to: [Pique] Making the Header Stay Put on Blog Posts<header id="masthead" class="site-header" role="banner"> <?php // Let's show a header image if we aren't on the front page and a header has been set if ( ! pique_is_frontpage() AND get_header_image() ) : ?> <a>" rel="home"> <?php // If the post uses a Featured Image, let's show that if ( is_singular() && has_post_thumbnail() ) : the_post_thumbnail( 'pique-header', array( 'id' => 'pique-header-image' ) ); else : // ?> <img id="pique-header-image" src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="<?php bloginfo( 'name' ); ?>"> <?php endif; // End featured image check. ?> </a> <?php endif; // End header image check. ?> <div class="site-branding">Forum: Themes and Templates
In reply to: [Pique] Making the Header Stay Put on Blog PostsI did replace the code and it made the headers disappear entirely. So that isn’t the code needed. I put it back the way it was. Other ideas?
Forum: Themes and Templates
In reply to: [Pique] Setting featured image changes the post headerI am having the same problem and would like the header to stay in place when I am on the blog posts. I tried the fix you suggested and it didn’t work at all. It causes there to be no image at all in the header. What do you suggest?
Forum: Themes and Templates
In reply to: [Pure & Simple] HUGE default image and Pure & Simple blurbWith all due respect, you don’t need to do any of that. Just drag an empty text widget into the “Call to Action” section of the widgets. Fill or leave empty as you prefer.
Forum: Themes and Templates
In reply to: [Pure & Simple] HUGE default image and Pure & Simple blurbNever mind — I figured it out. Thanks!
Forum: Themes and Templates
In reply to: [Pure & Simple] HUGE default image and Pure & Simple blurbThat worked for the image but how do I change the copy?
WELCOME to PURE & SIMPLE
Explore my new WordPress theme called Pure & Simple…a theme built for professional bloggers with beautiful subtle features that gives you more when you are serious about your content! Unlimited colours, several blog styles, Jetpack ready with a gorgeous portfolio, mobile responsive…and much more!
Forum: Fixing WordPress
In reply to: Images not uploadingHi,
You won’t see the problem because I uploaded the images on a different site since that was the only way to get them to load. But for instance, I can’t add a featured image on the most recent blog post because featured images need to be held on the same site.
Are you able to look at the back end? Are you the developer?
Forum: Fixing WordPress
In reply to: Images not uploadingHi, thank you. The site is http://essentialcoachingservices.com/. Can you fix it from outside?
Forum: Themes and Templates
In reply to: [Zerif Lite] Site title not updating from SettingsThanks, I figured out it was a plugin that was interfering.