parsing - Parse error: syntax error, unexpected T_LNUMBER in /home2/cgobr/public_html/wp-content/themes/coin/page-home.php on line 17 -


let me begin saying know pretty nothing php, , attempting swap image sliders on homepage 1 conflicting required plugin. i'm getting error:

parse error: syntax error, unexpected t_lnumber in /home2/cgobr/public_html/wp-content/themes/coin/page-home.php on line 17

can please tell me coding wrong. mean, i'm not retarded, know css, know html, not php stuff. please please please help!!! below code:

<?php /** * template name: home */ ?>  <?php get_header() ?>  <script type="text/javascript"> jquery(document).ready(function() { jquery('#mycarousel').jcarousel(); }); </script> <div id="home_top"> <div id="home_rare"><ul><?=do_shortcode("[home_rare]") ?></ul></div> <?php echo do_shortcode("[soliloquy id="79129"]"); ?> <div class="clear"></div> </div> <center> <object width="980" height="30"> <param name="movie" value="http://www.monex.com/tickers/ticker_980.swf" /> <embed src="http://www.monex.com/tickers/ticker_980.swf" width="980" height="30"> </embed></object> <br><br><a href="http://stores.ebay.com/coingalleryofbocaraton" target="_blank"><img src="http://cgobr.com/wp-content/uploads/2013/04/ebaystorebanner1.jpg"></a></center><br> <div id="home_content"> <div id="home_content_left"> <?php the_post() ?> <h2 class="entry-title"><?php the_title() ?></h2> <div class="entry-content"> <?php the_content() ?> <?php wp_link_pages('before=<div class="page-link">' . __( 'pages:', 'kameleon' ) . '&after=</div>') ?> <?php edit_post_link( __( 'edit', 'kameleon' ), '<span class="edit-link">', '</span>' ) ?> </div> </div> <div id="home_content_right"> <h2 class="entry-title">featured video</h2> <iframe width="300" height="169" src="//www.youtube.com/embed/yq2uiezmcae" frameborder="0" allowfullscreen></iframe> <br><br> <h2 class="entry-title">like on facebook</h2> <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3a%2f%2fwww.facebook.com%2fcoingalleryofsouthflorida&amp;width=292&amp;height=500&amp;show_faces=true&amp;colorscheme=light&amp;stream=true&amp;border_color&amp;header=true&amp;appid=277341438944784" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:500px;" allowtransparency="true"></iframe> <?=get_post_meta($post->id, 'featured_video', true)?> </div> <div class="clear"></div> </div> <?php global $woocommerce;  $query_args = array('posts_per_page' => $number, 'no_found_rows' => 1, 'post_status' => 'publish', 'post_type' => 'product' );  $query_args['meta_query'] = array();  $query_args['meta_query'][] = array( 'key' => '_featured', 'value' => 'yes' ); $query_args['meta_query'][] = $woocommerce->query->stock_status_meta_query(); $query_args['meta_query'][] = $woocommerce->query->visibility_meta_query();  $r = new wp_query($query_args);  if ($r->have_posts()) : ?>  <div id="home_featured"> <h2>featured</h2> <ul id="mycarousel" class="jcarousel-skin-tango"> <?php while ($r->have_posts()) : $r->the_post(); global $product; ?> <li><a href="<?php echo esc_url( get_permalink( $r->post->id ) ); ?>" title="<?php echo esc_attr($r->post->post_title ? $r->post->post_title : $r->post->id); ?>"> <?php echo $product->get_image("shop_catalog"); ?> <h3><span><?php if ( $r->post->post_title ) echo get_the_title( $r->post->id ); else echo $r->post->id; ?></span></h3> </a> <span class="price"><?php echo $product->get_price_html(); ?></span></li> <?php endwhile; ?> </ul> </div> <?php endif; ?> <?php /* <div id="home_bottom"> <div id="home_bottom_left" class="bottom_box"> <a class="button" href="<?=home_url()?>/product-category/rare-coins/" title="view all">view all</a> <h2><span>rare coin inventory</span></h2> <?php global $post; $tmp_post = $post; $args = array( 'numberposts' => 1, 'post_type'=> 'product', 'orderby' => 'rand', 'tax_query' => array( array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => 'rare-coins' ) ) ); $myposts = get_posts( $args ); foreach( $myposts $post ) : setup_postdata($post); $first = $post->id; ?> <a class="home_pic" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php if ( has_post_thumbnail() ) : ?> <a itemprop="image" href="<?php echo wp_get_attachment_url( get_post_thumbnail_id() ); ?>" class="zoom" rel="thumbnails" title="<?php echo get_the_title( get_post_thumbnail_id() ); ?>"><?php echo get_the_post_thumbnail( $post->id, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) ) ?></a> <?php else : ?> <img src="<?php echo woocommerce_placeholder_img_src(); ?>" alt="placeholder" /> <?php endif; ?> </a> <div class="home_bot_cont"> <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <div><?php the_excerpt(); ?></div> </div> <?php endforeach; ?> <?php $post = $tmp_post; ?> </div> <div id="home_bottom_right" class="bottom_box"> <a class="button" href="<?=home_url()?>/product-category/rare-coins/precious-metals-bullion/" title="view all">view all</a> <h2><span>precious metals &amp; bullion</span></h2> <?php global $post; $tmp_post = $post; $args = array( 'numberposts' => 1, 'post_type'=> 'product', 'orderby' => 'rand', 'exclude' => $first, 'tax_query' => array( array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => 'precious-metals-bullion' ) ) ); $myposts = get_posts( $args ); foreach( $myposts $post ) : setup_postdata($post); ?> <a class="home_pic" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php if ( has_post_thumbnail() ) : ?> <a itemprop="image" href="<?php echo wp_get_attachment_url( get_post_thumbnail_id() ); ?>" class="zoom" rel="thumbnails" title="<?php echo get_the_title( get_post_thumbnail_id() ); ?>"><?php echo get_the_post_thumbnail( $post->id, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) ) ?></a> <?php else : ?> <img src="<?php echo woocommerce_placeholder_img_src(); ?>" alt="placeholder" /> <?php endif; ?> </a> <div class="home_bot_cont"> <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <div><?php the_excerpt(); ?></div> </div> <?php endforeach; ?> <?php $post = $tmp_post; ?> </div> <div class="clear"></div> </div> */?>  <?php // get_sidebar() ?> <?php get_footer() ?> 

your error caused quotes, closing string , have numbers don't belong there

<?php echo do_shortcode("[soliloquy id="79129"]"); ?> 

you can change to

<?php echo do_shortcode("[soliloquy id='79129']"); ?> 

or

<?php echo do_shortcode("[soliloquy id=\"79129\"]"); ?> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -