Title: benpasley's Replies | WordPress.org

---

# benpasley

  [  ](https://wordpress.org/support/users/benpasley/)

 *   [Profile](https://wordpress.org/support/users/benpasley/)
 *   [Topics Started](https://wordpress.org/support/users/benpasley/topics/)
 *   [Replies Created](https://wordpress.org/support/users/benpasley/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/benpasley/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/benpasley/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/benpasley/engagements/)
 *   [Favorites](https://wordpress.org/support/users/benpasley/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/benpasley/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/benpasley/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Share Buttons Adder] Email Link Busted](https://wordpress.org/support/topic/email-link-busted/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/email-link-busted/#post-5893265)
 * David, that would require us to set an appointment because I can’t leave up a
   site wide crappy link for days. It took 4 days to get a word back on this post.
   If you set a time window, MST, I will turn the baby on, and give you all the 
   access you need!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Customizr] Categories Not Displaying Posts](https://wordpress.org/support/topic/categories-not-displaying-posts/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/categories-not-displaying-posts/#post-5615165)
 * It was bogus code in index file.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Search Bar](https://wordpress.org/support/topic/search-bar-15/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/search-bar-15/#post-4552506)
 * It was content.php and my failure to update to your latest version there. I will
   work to understand how to “update” little edits into the Child Theme in php pages,
   and not have to grab the whole thing. Thanks, Scott and members.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Search Bar](https://wordpress.org/support/topic/search-bar-15/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/search-bar-15/#post-4552500)
 * Scott, I have a coder friend who looked at it and wrote this, do you concur?
 * I think I found the problem. The search results page is actually coming up with
   results but not displaying them. If you look at the underlying HTML that results
   from a search, the link results appear but no content is generated for the link
   to be applied to. Namely, an empty H3 tag that should contain the title of the
   search result is generated.
 * 
 *  “>
    <div class=”entry-title”> <h3><?php decode_search_title_highlight(); ?></
   h3> </div> <div class=”entry-summary”> <?php decode_search_excerpt_highlight();?
   > </div><!– .entry-summary –>
 * Not enough of a programmer to know why you’re guy went this route. Looks like
   he coded something more complex rather than using the usual hooks available to
   us. Here’s a more typical search results blog roll I’ve used for search results
   before. The part I’ve bolded is how the title content is typically generated 
   in WordPress and what I think would be a start to fixing the problem.
 *  <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <div class
   =”blog-roll-div”> <h3 class=”blog-h3″>“><?php the_title(); ?></h3> “><?php the_post_thumbnail(‘
   thumbnail’ ); ?> <?php the_excerpt(); ?> <hr> </div>
 * Hope that helps.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Search Bar](https://wordpress.org/support/topic/search-bar-15/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/search-bar-15/#post-4552498)
 * <?php
    /** * [@package](https://wordpress.org/support/users/package/) Decode */?
   >
 * <?php if ( has_post_format( ‘quote’ ) && get_theme_mod( ‘use_excerpts’, false)
   == false && !is_search() ) : ?>
 *  <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <div class=”entry-
   content”><?php the_content( __( ‘Continue reading <span class=”meta-nav”>→</span
   >’, ‘decode’ ) ); ?></div> <?php wp_link_pages( array( ‘before’ => ‘<div class
   =”page-links”>’ . __( ‘Pages:’, ‘decode’ ), ‘after’ => ‘</div>’ ) ); ?> <footer
   class=”entry-meta”> <?php if (get_theme_mod( ‘enable_comments’, true ) == true):?
   > <?php if ( ! post_password_required() && ( comments_open() || ‘0’ != get_comments_number())):?
   > <div class=”comments-link”><?php comments_popup_link( __( ‘Leave a comment’,‘
   decode’ ), __( ‘1 Comment’, ‘decode’ ), __( ‘% Comments’, ‘decode’ ) ); ?></div
   > <?php endif; ?> <?php endif; ?> <?php edit_post_link( __( ‘Edit’, ‘decode’ ),‘
   <span class=”edit-link”>’, ‘</span>’ ); ?> <?php if (get_theme_mod( ‘show_tags’,
   false ) == true ) : ?> <p class=”tags”><?php the_tags(__( ‘Tagged as: ‘, ‘decode’),’,‘);?
   ></p> <?php endif; ?> <?php if (get_theme_mod( ‘show_categories’, false ) == 
   true ) : ?> <p class=”categories”><?php _e( ‘Categorized in: ‘, ‘decode’) . the_category(‘,‘);?
   ></p> <?php endif; ?> <p class=”date”><?php decode_posted_on(); ?></p> </footer
   ><!– .entry-meta –> </article><!– #post-<?php the_ID(); ?> –>
 * <?php elseif ( has_post_format( ‘link’ ) && get_theme_mod( ‘use_excerpts’, false)
   == false && !is_search() ): ?>
 *  <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class
   =”entry-header”> <?php if ( has_post_thumbnail() ) : ?> ” title=”<?php the_title_attribute();?
   >” > <?php the_post_thumbnail(); ?>  <?php endif; ?> <div class=”entry-title”
   ><h2><?php decode_print_post_title() ?><?php if ( get_theme_mod( ‘link_post_title_arrow’,
   false ) == true ) echo ‘<span class=”link-title-arrow”>→</span>’; ?></h2></div
   > <?php if ( get_theme_mod( ‘entry_date_position’, ‘below’ ) == ‘above’ ) : ?
   > <div class=”entry-meta above-content”> <p class=”date”><?php decode_posted_on();?
   ></p> </div><!– .entry-meta –> <?php endif; ?> </header> <div class=”entry-content”
   ><?php the_content( __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘
   decode’ ) ); ?></div> <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-
   links”>’ . __( ‘Pages:’, ‘decode’ ), ‘after’ => ‘</div>’ ) ); ?> <footer class
   =”entry-meta”> <?php if (get_theme_mod( ‘enable_comments’, true ) == true ) :?
   > <?php if ( ! post_password_required() && ( comments_open() || ‘0’ != get_comments_number())):?
   > <div class=”comments-link <?php echo get_theme_mod( ‘enable_comments’, ” );?
   >”><?php comments_popup_link( __( ‘Leave a comment’, ‘decode’ ), __( ‘1 Comment’,‘
   decode’ ), __( ‘% Comments’, ‘decode’ ) ); ?></div> <?php endif; ?> <?php endif;?
   > <?php edit_post_link( __( ‘Edit’, ‘decode’ ), ‘<div class=”edit-link”>’, ‘</
   div>’ ); ?> <?php if (get_theme_mod( ‘show_tags’, false ) == true ) : ?> <p class
   =”tags”><?php the_tags(__( ‘Tagged as: ‘, ‘decode’ ),’, ‘); ?></p> <?php endif;?
   > <?php if (get_theme_mod( ‘show_categories’, false ) == true ) : ?> <p class
   =”categories”><?php _e( ‘Categorized in: ‘, ‘decode’ ) . the_category(‘, ‘); ?
   ></p> <?php endif; ?> <?php if ( get_theme_mod( ‘entry_date_position’, ‘below’)
   == ‘below’ ) : ?> <p class=”date”><?php decode_posted_on(); ?></p> <?php endif;?
   > </footer><!– .entry-meta –> </article><!– #post-<?php the_ID(); ?> –>
 * <?php elseif ( is_search() ): // Only display Excerpts for Search ?>
 *  <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    “> <div class
   =”entry-title”> <h3><?php decode_search_title_highlight(); ?></h3> </div> <div
   class=”entry-summary”> <?php decode_search_excerpt_highlight(); ?> </div><!– .
   entry-summary –>  <footer class=”entry-meta”> <?php edit_post_link( __( ‘Edit’,‘
   decode’ ), ‘<div class=”edit-link”>’, ‘</div>’ ); ?> </footer> </article><!– #
   post-<?php the_ID(); ?> –>
 * <?php elseif ( get_theme_mod( ‘use_excerpts’, false ) == true && !is_sticky()):?
   >
 *  <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class
   =”entry-header”> <?php if ( has_post_thumbnail() && get_theme_mod( ‘show_featured_images_on_excerpts’,
   false ) == true ) : ?> ” title=”<?php the_title_attribute(); ?>” > <?php the_post_thumbnail();?
   >  <?php endif; ?> <div class=”entry-title”><h2>“><?php the_title(); ?></h2></
   div> <?php if ( get_theme_mod( ‘entry_date_position’, ‘below’ ) == ‘above’ &&
   get_theme_mod( ‘show_entry_date_on_excerpts’, false ) == true ) : ?> <div class
   =”entry-meta above-content”> <p class=”date”><?php decode_posted_on(); ?></p>
   </div><!– .entry-meta –> <?php endif; ?> </header><!– .entry-header –> <div class
   =”entry-summary”> <?php the_excerpt(); ?> </div><!– .entry-summary –> <footer
   class=”entry-meta”> “><?php _e(‘Read More…’, ‘decode’); ?> <?php edit_post_link(
   __( ‘Edit’, ‘decode’ ), ‘<div class=”edit-link”>’, ‘</div>’ ); ?> <?php if ( 
   get_theme_mod( ‘entry_date_position’, ‘below’ ) == ‘below’ && get_theme_mod( ‘
   show_entry_date_on_excerpts’, false ) == true ) : ?> <p class=”date”><?php decode_posted_on();?
   ></p> <?php endif; ?> </footer><!– .entry-meta –> </article><!– #post-<?php the_ID();?
   > –>
 * <?php else : ?>
 *  <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class
   =”entry-header”> <?php if ( has_post_thumbnail() ) : ?> ” title=”<?php the_title_attribute();?
   >” > <?php the_post_thumbnail(); ?>  <?php endif; ?> <div class=”entry-title”
   ><h2>“><?php the_title(); ?></h2></div> <?php if ( get_theme_mod( ‘entry_date_position’,‘
   below’ ) == ‘above’ ) : ?> <div class=”entry-meta above-content”> <p class=”date”
   ><?php decode_posted_on(); ?></p> </div><!– .entry-meta –> <?php endif; ?> </
   header><!– .entry-header –> <div class=”entry-content”><?php the_content( __(‘
   Continue reading <span class=”meta-nav”>→</span>’, ‘decode’ ) ); ?></div> <?php
   wp_link_pages( array( ‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘
   decode’ ), ‘after’ => ‘</div>’ ) ); ?> <footer class=”entry-meta below-content”
   > <?php if (get_theme_mod( ‘enable_comments’, true ) == false ) : ?> <?php if(!
   post_password_required() && ( comments_open() || ‘0’ != get_comments_number())):?
   > <div class=”comments-link <?php echo get_theme_mod( ‘enable_comments’, ” );?
   >”><?php comments_popup_link( __( ‘Leave a comment’, ‘decode’ ), __( ‘1 Comment’,‘
   decode’ ), __( ‘% Comments’, ‘decode’ ) ); ?></div> <?php endif; ?> <?php endif;?
   > <?php edit_post_link( __( ‘Edit’, ‘decode’ ), ‘<div class=”edit-link”>’, ‘</
   div>’ ); ?> <?php if (get_theme_mod( ‘show_tags’, false ) == true ) : ?> <p class
   =”tags”><?php the_tags(__( ‘Tagged as: ‘, ‘decode’ ),’, ‘); ?></p> <?php endif;?
   > <?php if (get_theme_mod( ‘show_categories’, false ) == true ) : ?> <p class
   =”categories”><?php _e( ‘Categorized in: ‘, ‘decode’ ) . the_category(‘, ‘); ?
   ></p> <?php endif; ?> <?php if ( get_theme_mod( ‘entry_date_position’, ‘below’)
   == ‘below’ ) : ?> <p class=”date”><?php decode_posted_on(); ?></p> <?php endif;?
   > </footer><!– .entry-meta –> </article><!– #post-<?php the_ID(); ?> –>
 * <?php endif; ?>
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Search Bar](https://wordpress.org/support/topic/search-bar-15/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/search-bar-15/#post-4552489)
 * Yes, I modded the header, content-page, content-single, footer and content.php
   files with modest changes for display on the site, nothing huge, but I did copy
   the entire file to do so.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Search Bar](https://wordpress.org/support/topic/search-bar-15/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/search-bar-15/#post-4552469)
 * Well, I turned off all plugins, loaded the basic search widget from WP and still
   the search returns a blank page. You can test it easily enough at my site. My
   modifications to the theme are all in a Child Theme. The CSS is all single entry
   mods, but I did copy entire .php pages (like footer.php for instance) when I 
   placed them in the Child Theme because I wasn’t sure how to code those lines 
   otherwise.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] add search bar](https://wordpress.org/support/topic/add-search-bar/)
 *  [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/add-search-bar/#post-4493896)
 * Scott, I added this code to my sidebar at benpasley.com, but the search function
   doesn’t work at all. My browser actually crashed when trying to use it, crazy.
   I must be doing something terrible. I tried it in the exact location as noted
   above as well, and neither work. Thanks for your help.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Align content left in Child Theme](https://wordpress.org/support/topic/align-content-left-in-child-theme/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/align-content-left-in-child-theme/page/2/#post-4505139)
 * bam!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Align content left in Child Theme](https://wordpress.org/support/topic/align-content-left-in-child-theme/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/align-content-left-in-child-theme/page/2/#post-4505136)
 * whoops, that padding: did not work.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Align content left in Child Theme](https://wordpress.org/support/topic/align-content-left-in-child-theme/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/align-content-left-in-child-theme/#post-4505134)
 * Sweet! Scott, thanks a ton. I think you have done a great job with the site, 
   and more than awesome in the help department.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Align content left in Child Theme](https://wordpress.org/support/topic/align-content-left-in-child-theme/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/align-content-left-in-child-theme/#post-4505132)
 * Found it, so great. I will leave you alone if you point me to the code title 
   for Date of post above… yes!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Align content left in Child Theme](https://wordpress.org/support/topic/align-content-left-in-child-theme/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/align-content-left-in-child-theme/#post-4505129)
 * Brilliant, I am now seeing a better direction. Thank you. However, the .post .
   entry-meta command did not move the Comments section to the left margin.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Align content left in Child Theme](https://wordpress.org/support/topic/align-content-left-in-child-theme/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/align-content-left-in-child-theme/#post-4505127)
 * I discovered that something is jacking with my .htaccess file in the site folder
   and this caused the CSS not to write properly. Probably a plugin, but I have 
   no idea. OK, Scott, I did get that code to left-align the entry title, but I 
   need that title and the comments section to bump left to the same left margin
   as the body…can you help with code for that?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Decode] Align content left in Child Theme](https://wordpress.org/support/topic/align-content-left-in-child-theme/)
 *  Thread Starter [benpasley](https://wordpress.org/support/users/benpasley/)
 * (@benpasley)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/align-content-left-in-child-theme/#post-4505126)
 * Scott, can you tell me which of the style sheets in the CSS folder in Decode 
   is the one to modify to test a simple change like a entry-header color, for instance?

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/benpasley/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/benpasley/replies/page/2/?output_format=md)