Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Forum: Themes and Templates
    In reply to: Qode Slider
    Thread Starter velvet_grooves

    (@velvet_grooves)

    Hi there,

    Thanks for the response and compliment 🙂

    Yes – we’re having modifications made on the site. However, when that ‘learn more’ button is pressed on – it seems to not load the new page unless you hold your finger on the button.

    Might just be the iPad device being used?

    Forum: Themes and Templates
    In reply to: Qode Slider
    Thread Starter velvet_grooves

    (@velvet_grooves)

    Thread Starter velvet_grooves

    (@velvet_grooves)

    Hi all,

    It appears I’ve sorted a work around this issue, albeit I don’t know if it’s permanent? Here were my steps:

    Changed the .ngg-gallery-thumbnail img in CSS from 125px width to 120 by 94px.

    This was just from Chrome inspector, but seemed to work.

    So I updated NextGen Gallery to the latest 2.0, and changed the global width/height for thumbnails via the NextGen admin. Then I regenerated ALL thumbnails throughout the galleries.

    This seems to have worked? The problem occurred randomly so I don’t know whether this is a temporary or permanent solution?

    Thread Starter velvet_grooves

    (@velvet_grooves)

    Thanks for the response there Kevin, I’ll look into that. Surely people must have run into this before? I have with another site, albeit there was never a real solution for it, just either moving images around or changing the height of all images globally occasionally.

    This is the 2nd time this has happened, so I suspect it’s a bug?

    Thread Starter velvet_grooves

    (@velvet_grooves)

    Any ideas?

    Hi Chris. Just sending you an email now. If I could have a link to that dev version, that would be brilliant. Got a project to be ready by Monday.

    No worries if you’re too busy though 🙂

    Thread Starter velvet_grooves

    (@velvet_grooves)

    Another thought – what “appears” on the page seems to differ depending on the value of the amount of posts shown from a category. For example:

    <?php $my_query = new WP_Query(‘category_name=Weddings&posts_per_page=10’); ?>

    If I change that from 10 to 2 – the bottom quote shows. If I change it to >2 it doesn’t show. Yet the fields on the right – if I remove them it shows the bottom quote. If they’re on the page, the quote dissapears.

    Anyone? ( 🙂 )

    Thread Starter velvet_grooves

    (@velvet_grooves)

    it is definitely – it’s this code which is conflicting with the other code. any ideas?

    <?php $my_query = new WP_Query('category_name=Weddings&showposts=5'); ?>
    		<?php $count = 0; ?>
    		<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    		<?php $count++; ?>
    
    		<ul id="meet_the_florists">
    		<li>
    		<?php the_post_thumbnail('thumbnail', array('class' => 'weddings_thumb')); ?>
    			<div style="float:left; top:0px; width:250px;">
    				<span class="weddings-title"><?php the_title(); ?></span>
    				<div style="clear:both;"></div>
    				<span class="hotel-name"><?php the_field('hotel_name'); ?>
    				<div style="clear:both;"></div>
    				<?php the_field('hotel_location'); ?></span>
    			</div>
    			<div style="top:0px; float:right;">
    			<p class="wedding-season"><?php the_field('wedding_season'); ?>&nbsp;Wedding</p>
    			</div>	
    
    			<div style="clear:both;"></div>
    			<span class="wedding-summary"><?php the_content(); ?></span>
    			<div style="clear:both;"></div>
    
    			<div style="float:left; width:50%;">
    			<span class="photographer-name">Photographer | <?php the_field('photographer_name'); ?>
    			<br><a href="http://<?php the_field('photographer_web_link'); ?>" target="_blank"><?php the_field('photographer_web_link'); ?></a></span>
    			</div>
    
    			<div style="float:right;">
    			<span class="photographer-name">Hair and Makeup | <?php the_field('hair_makeup_name'); ?>
    			<br><a href="http://<?php the_field('hair_makup_web_address'); ?>" target="_blank"><?php the_field('hair_makup_web_address'); ?></a></span>
    			</div>			
    
    		</li>
    		</ul>
    		<?php endwhile; ?>
    Thread Starter velvet_grooves

    (@velvet_grooves)

    This arrangement of code seems to work if it helps?

    <?php
    
    /**
    
     * Template Name: Cotswolds Weddings
    
     *
    
     */
    
    get_header(); ?>
    
    <div id="page" class="hfeed">
    	<div id="main">
    
    		<div id="primary">
    			<div id="content" role="main">
    
    		<!-- Top Quote -->
    
    			<div id="quote">
    			<div class="title-top"><?php the_title(); ?></div>
    			<div class="text"><?php the_field('top_text'); ?></div>
    			</div>
    
    			<div id="quote-other">
    		<div class="title-front">WEDDING FLORISTS IN THE COTSWOLDS</div>
    		<div class="text"><?php the_field('bottom_quote'); ?></div>
    		</div>
    
    		<!-- Middle Content -->
    
    		<div id="middle">
    
    		<?php $my_query = new WP_Query('category_name=Weddings&showposts=5'); ?>
    		<?php $count = 0; ?>
    		<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    		<?php $count++; ?>
    
    		<ul id="meet_the_florists">
    		<li>
    		<?php the_post_thumbnail('thumbnail', array('class' => 'weddings_thumb')); ?>
    			<div style="float:left; top:0px; width:250px;">
    				<span class="weddings-title"><?php the_title(); ?></span>
    				<div style="clear:both;"></div>
    				<span class="hotel-name"><?php the_field('hotel_name'); ?>
    				<div style="clear:both;"></div>
    				<?php the_field('hotel_location'); ?></span>
    			</div>
    			<div style="top:0px; float:right;">
    			<p class="wedding-season"><?php the_field('wedding_season'); ?>&nbsp;Wedding</p>
    			</div>	
    
    			<div style="clear:both;"></div>
    			<span class="wedding-summary"><?php the_content(); ?></span>
    			<div style="clear:both;"></div>
    
    			<div style="float:left; width:50%;">
    			<span class="photographer-name">Photographer | <?php the_field('photographer_name'); ?>
    			<br><a href="http://<?php the_field('photographer_web_link'); ?>" target="_blank"><?php the_field('photographer_web_link'); ?></a></span>
    			</div>
    
    			<div style="float:right;">
    			<span class="photographer-name">Hair and Makeup | <?php the_field('hair_makeup_name'); ?>
    			<br><a href="http://<?php the_field('hair_makup_web_address'); ?>" target="_blank"><?php the_field('hair_makup_web_address'); ?></a></span>
    			</div>			
    
    		</li>
    		</ul>
    		<?php endwhile; ?>
    		</div>
    
    		<!-- Right Column -->
    		<div id="right"><?php the_field('quote_right'); ?>
    		<ul class="ads_container">
    				<?php $my_query = new WP_Query('category_name=SideAds&showposts=2'); ?>
    				<?php $count = 0; ?>
    				<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    				<?php $count++; ?>
    					<li id="post-<?php echo $count ?>" class="first">
    					<?php the_post_thumbnail( array(315,170) ); ?>
    					<div class="ad-li">
    					<div class="ad_title">
    					<h2><?php the_title(); ?></h2>
    					<div id="ad_text"><?php the_excerpt(); ?></div><div class="ad_link"><a href="<?php the_permalink();?>">Read More</a></div>
    
    				</div>
    
    					</li>
    				<?php endwhile; ?>
      					</ul>
    		</div>
    		<div style="clear:both;"></div>
    
    		<!-- Bottom Column -->
    		<div id="quote-other">
    		<div class="title-front">WEDDING FLORISTS IN THE COTSWOLDS</div>
    		<div class="text"><?php the_field('bottom_quote'); ?></div>
    		</div>
    
    			</div><!-- #content -->
    		</div><!-- #primary -->
    <?php get_footer(); ?>

    Note -I’ve moved the following code from the end of the page to before the category filters. So I suspect there’s a conflict. Any idea how to resolve this?

    <div id="quote-other">
    		<div class="title-front">WEDDING FLORISTS IN THE COTSWOLDS</div>
    		<div class="text"><?php the_field('bottom_quote'); ?></div>
    		</div>
    Thread Starter velvet_grooves

    (@velvet_grooves)

    Just out of curiosity… how did you do this? (Apache server part)… never done it before so… 🙂

Viewing 11 replies - 1 through 11 (of 11 total)