Autofocus home.php and [gallery] tag
-
Autofocus home.php I noticed when I include a [gallery] the home page doesn’t load images it sits with the spinning wheel, looking at the pace source code
<div class="entry-date bigdate"><abbr class="published" title="2010-04-21T14:47:47+0100">21 Apr</abbr></div> <h2 class="entry-title post-content-title"><a href="http://www.williamwilsonphotography.co.uk/2010/04/21/duncan-joanna-married-culter-kirk-biggar-3/" title="Permalink to Duncan + Joanna [Married] Culter Kirk, Biggar" rel="bookmark"><span>Duncan + Joanna [Married] Culter Kirk, Biggar</span></a></h2> <div class="entry-content post-content"> <h4>Duncan + Joanna [Married] Culter Kirk, Biggar</h4> <p>A preview from the wedding of Duncan and Joanna on Saturday the 10th April, it was a beautiful day. <style type='text/css'> #gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: …</p> </div> <span class="attach-post-image" style="height:300px;display:block;background:url('http://www.williamwilsonphotography.co.uk/wp-content/uploads/2010/04/S163-691.jpg') center center repeat"> </span> </div><!-- .post -->
With the gallery removed all loads correctly.
<div id="post-660" class="featured hentry p1 post publish author-wills category-archive-gallery category-portrait-photography tag-experience tag-monochrome tag-one-light tag-pringle tag-studio y2010 m03 d28 h14"> <div class="entry-date bigdate"><abbr class="published" title="2010-03-28T14:17:21+0100">28 Mar</abbr></div> <h2 class="entry-title post-content-title"><a href="http://www.williamwilsonphotography.co.uk/?p=660" title="Permalink to Pringle family – Sneak preview" rel="bookmark"><span>Pringle family – Sneak preview</span></a></h2> <div class="entry-content post-content"> <h4>Pringle family – Sneak preview</h4> <p>Sneak ....</p> </div> <span class="attach-post-image" style="height:300px;display:block;background:url('http://www.williamwilsonphotography.co.uk/wp-content/uploads/2010/03/S109-143.jpg') center center repeat"> </span> </div><!-- .post -->
You can see there is a chunk of code missing on the top listing this happens if the [gallery] tag is in the post.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Autofocus home.php and [gallery] tag’ is closed to new replies.