Skip to content

Instantly share code, notes, and snippets.

@ajaydsouza
Created June 3, 2019 21:41
Show Gist options
  • Save ajaydsouza/5f88766b9ea6cad3b032533383733813 to your computer and use it in GitHub Desktop.
Save ajaydsouza/5f88766b9ea6cad3b032533383733813 to your computer and use it in GitHub Desktop.
Better Search HTML markup
<!-- This is the sample markup generated by Better Search v2.3.0 for each article entry -->
<article id="post-1011" class="bsearch-post post-1011 post type-post status-publish format-standard has-post-thumbnail hentry category-codex category-corner-case category-featured-images category-images">
<header class="bsearch-entry-header">
<h2 class="bsearch-entry-title"><a href="https://wpnetwork.local/blog/featured-image-horizontal/" rel="bookmark">Featured Image (Horizontal)</a></h2>
<p><span class="bsearch_score">Relevance: 75%</span> &nbsp;&nbsp;&nbsp;&nbsp; <span class="bsearch_date">Posted on: March 15, 2013</span></p>
</header>
<div class="bsearch-entry-content">
<p class="bsearch_thumb"><img width="150" height="150" src="https://wpnetwork.local/wp-content/uploads/2013/03/featured-image-horizontal-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="Horizontal Featured Image"></p>
<p class="bsearch_excerpt">This <span class="bsearch_highlight">post</span> should display a featured image, if the theme supports it. Non-square images can provide some unique styling issues. This <span class="bsearch_highlight">post</span> tests a horizontal featured image.</p>
</div>
</article>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment