Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)
  • Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    Thanks Mike. I’ll take it to them. Appreciate your help

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    It does happen after a change of theme. Sounds like the plugin?

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    Support for the plugin said it was aWC table problem

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    It’s the Affiliates Pro plugin. I get the error on the front end when trying to save me affiliate member. http://fruitejuice.com/affiliate-area/

    The header error shows up on the results after saving a new password in the form

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    <html <?php language_attributes(); ?> <?php storefront_html_tag_schema(); ?>>

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    Says it is an empty result though

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    Got it, There is a Tax rate locations table there

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    I do. I need to figure how to get to it

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    How do I manually create a table in WC? I searched my hosting account and don’t see a tax location table. There is one called class_wc_tax.php

    I considered creating a php with the highlighted text you sent but just not sure

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    2.4.4

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    Thanks Mike. I deactivated and reactivated WooCommerce plugin. I still get the error. Should I wait any particular amount of time between steps? Should the change propagate instantly?

    Forum: Plugins
    In reply to: [WooCommerce] Header error
    Thread Starter jhauer

    (@jhauer)

    Here’s the error log related to my issue above:
    http://pastebin.com/VPmcceGv

    Thanks @deifos. Assuming you need the original slideshow.php file. Contents of that file are:

    <div id="slideshow">
    	<div id="slides">	
    
    		<?php query_posts('post_type=any&meta_key=_ttrust_in_slideshow_value&meta_value=true&posts_per_page=10'); ?>
    		<?php $i = 0; ?>
    		<?php if(have_posts()) :?>
    
    		<?php while (have_posts()) : the_post(); ?>			
    
    		<div id="slide<?php echo $i; ?>" class="clearfix slide" <?php if($i > 0) echo('style="display: none;"'); ?> >
    
    			<?php $slideLink = get_permalink(); ?>				
    
    				<?php $slideshow_alt_img = get_post_meta($post->ID, "_ttrust_alt_image_value", true);  ?>
    				<?php $slideshow_video = get_post_meta($post->ID, "_ttrust_slideshow_video_value", true);  ?>				
    
    				<?php if($slideshow_video) : ?>
    					<div class="slideVideo">
    		    			<?php echo $slideshow_video; ?>
    					</div>
    				<?php elseif($slideshow_alt_img) : ?>
    					<div class="slideImage">
    		    			<img src="<?php echo $slideshow_alt_img; ?>" alt="<?php the_title(); ?>" />
    					</div>
    				<?php else : ?>
    					<div class="slideImage thumbnail">
    						<?php if(has_post_thumbnail()) : ?>
    		    				<?php the_post_thumbnail('ttrust_slideshow', array('alt' => ''.get_the_title().'', 'title' => ''.get_the_title().'')); ?>
    						<?php endif; ?>
    					</div>
    				<?php endif; ?>	
    
    				<div class="slideText">
    					<h3><a href="<?php the_permalink() ?>" rel="bookmark" ><?php the_title(); ?></a></h3>
    					<?php $preview_text = get_post_meta($post->ID, "_ttrust_preview_text_value", true); ?>
    					<?php if(!$preview_text) : ?>
    						<?php $slideshow_text = $post->post_content; echo wpautop(substr($slideshow_text, 0, strpos($slideshow_text, "<!--more-->"))); ?>
    						<?php more_link(); ?>
    					<?php else :
    						echo(wpautop(do_shortcode($preview_text)));
    					endif; ?>
    				</div>
    		</div>
    		<?php $i++; endwhile; ?>
    		<?php wp_reset_query();?>
    
    		<?php else: ?>
    			<div class="slide">
    			<div class="slideImage">
        			<img src="<?php bloginfo('template_url') ?>/images/welcome.png" width="485" height="352" alt="welcome" />
    			</div>
    			<div class="slideText">
    				<h3>Welcome</h3>
    				<h4>Thank you for purchasing the Leverage theme by Theme Trust.</h4>
    				<p>This is the home page slideshow. Here you can feature your best products or services. You can include any post or page here.</p>
    				<p><a href="<?php bloginfo('url'); ?>/wp-admin/" class="button">Start Adding Content</a></p>
    			</div>
    			</div>
    		<?php endif; ?>		
    
    	</div>
    
    	<?php if($i > 1) : ?>
    	<div id="slideshowControls">
    		<div id="slideshowNav">
    			<span id="slideshowPrev"></span>
    			<div id="slideshowNavPager"></div>
    			<span id="slideshowNext"></span>
    		</div>
    	</div>
    	<?php endif; ?>
    </div>

    I’m trying to translate the text in the slider in the Leverage theme at http://modernlanguages.com . I think I’m on the right track using your suggestion but it just isn’t working. I’m not a php guy (a hack at best) so it is probably a syntax error. Any idea what I might be doing wrong? This has been a six day Odyssey. Please help!

    In my slider.php file:

    <div id="slideshow">
    	<div id="slides">	
    
    		<?php query_posts('post_type=any&meta_key=_ttrust_in_slideshow_value&meta_value=true&posts_per_page=10'); ?>
    		<?php $i = 0; ?>
    		<?php if(have_posts()) :?>
    
    		<?php while (have_posts()) : the_post(); ?>			
    
    		<div id="slide<?php echo $i; ?>" class="clearfix slide" <?php if($i > 0) echo('style="display: none;"'); ?> >
    
    			<?php $slideLink = get_permalink(); ?>				
    
    				<?php $slideshow_alt_img = get_post_meta($post->ID, "_ttrust_alt_image_value", true);  ?>
    				<?php $slideshow_video = get_post_meta($post->ID, "_ttrust_slideshow_video_value", true);  ?>				
    
    				<?php if($slideshow_video) : ?>
    					<div class="slideVideo">
    		    			<?php echo $slideshow_video; ?>
    					</div>
    				<?php elseif($slideshow_alt_img) : ?>
    					<div class="slideImage">
    		    			<img src="<?php echo $slideshow_alt_img; ?>" alt="<?php the_title(); ?>" />
    					</div>
    				<?php else : ?>
    					<div class="slideImage thumbnail">
    						<?php if(has_post_thumbnail()) : ?>
    		    				<?php the_post_thumbnail('ttrust_slideshow', array('alt' => ''.get_the_title().'', 'title' => ''.get_the_title().'')); ?>
    						<?php endif; ?>
    					</div>
    				<?php endif; ?>	
    
    				<div class="slideText">
    					<h3><a href="<?php the_permalink() ?>" rel="bookmark" ><?php the_title(); ?></a></h3>
    					<?php $preview_text = get_post_meta($post->ID, "_ttrust_preview_text_value", true); ?>
    					<?php $myFilteredText = __($preview_text); ?>
    					<?php if(!$myFilteredText) : ?>
    						<?php $slideshow_text = $post->post_content; echo wpautop(substr($slideshow_text, 0, strpos($slideshow_text, "<!--more-->"))); ?>
    						<?php more_link(); ?>
    					<?php else :
    						echo(wpautop(do_shortcode($myFilteredText)));
    					endif; ?>
    				</div>
    		</div>
    		<?php $i++; endwhile; ?>
    		<?php wp_reset_query();?>
    
    		<?php else: ?>
    			<div class="slide">
    			<div class="slideImage">
        			<img src="<?php bloginfo('template_url') ?>/images/welcome.png" width="485" height="352" alt="welcome" />
    			</div>
    			<div class="slideText">
    				<h3>Welcome</h3>
    				<h4>Thank you for purchasing the Leverage theme by Theme Trust.</h4>
    				<p>This is the home page slideshow. Here you can feature your best products or services. You can include any post or page here.</p>
    				<p><a href="<?php bloginfo('url'); ?>/wp-admin/" class="button">Start Adding Content</a></p>
    			</div>
    			</div>
    		<?php endif; ?>		
    
    	</div>
    
    	<?php if($i > 1) : ?>
    	<div id="slideshowControls">
    		<div id="slideshowNav">
    			<span id="slideshowPrev"></span>
    			<div id="slideshowNavPager"></div>
    			<span id="slideshowNext"></span>
    		</div>
    	</div>
    	<?php endif; ?>
    </div>

    Did you find a solution for this? I’m having same issue in another theme

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