hey guys, please have a look at my single listings http://www.zweitbuch.org/Marktplatz/listing/basic-czech-1/ i now have the description on the left and the picture on the right, which i like! i would like to also switch the things below, which means i would like to have the contact business form on the left and the description and the map on the right (or would it even be possible to put the "description" right below the custom field details? because now it just appears when the picture ends...
Hello, Go to single-listing.php present in your theme directory and replace code given below from line no. 362 to 431 Code: <div class="grid_8 alpha"> <?php $lead_valid = geocraft_get_option('lead_capture'); $free_flag = false; $lead_free = geocraft_get_option('lead_capture_free'); $listing_type = get_post_meta($post->ID, 'geocraft_listing_type', true); if ($listing_type == 'free' && $lead_free == 'on') { $free_flag = true; } elseif ($listing_type == 'free' && $lead_free !== 'on') { $free_flag = false; } elseif ($listing_type == 'pro') { $free_flag = true; } if ($lead_valid == 'on') { if ($free_flag == true) { save_inquiry(); } } ?> <?php get_sidebar('listing'); ?> </div> <div class="grid_16 omega"> <div class="featured_content"> <div id="gc_tab" class="tabbed"> <ul class="tabnav"> <?php if ($flag == true) { ?> <li><a href="#popular"><?php echo S_DESCRIPTION; ?></a></li> <?php } ?> <li><a href="#featured"><?php echo S_REVIEWS; ?></a></li> </ul> <?php if ($flag == true) { ?> <div id="popular" class="tabdiv"> <div class="tab_content"> <?php the_content(); ?> </div> </div> <?php } ?> <div id="featured" class="tabdiv"> <div> <!--Start Comment box--> <?php comments_template(); ?> <!--End Comment box--> </div> </div> <!--featured--> </div> <!--/widget--> <div class="clear"></div> <?php if (($map_add['is_active'] == 1 && $map_add['show_free'] == 'true') || ($listing_type == 'pro' && $map_add['is_active'] == 1)) { ?> <h2><?php echo S_L_MAP; ?></h2> <div style="border:1px solid #ccc;" class="map"> <?php gc_single_map(); ?> </div> <?php } ?> <div class="clear"></div> <br/> <nav id="nav-single"> <span class="nav-previous"> <?php previous_post_link('%link', __('<span class="meta-nav">←</span> Previous Listing ', THEME_SLUG)); ?> </span> <span class="nav-next"> <?php next_post_link('%link', __('Next Listing <span class="meta-nav">→</span>', THEME_SLUG)); ?> </span> </nav> <div class="line"></div> <!--Start Related--> <div class="related_item"> <h2><?php echo RELATED_LISTINGS; ?></h2> <?php geocraft_get_related_post(); ?> </div> <!--End Related--> </div> </div> Thanks & Regards Gourav Shrivastava
thanks! but then the picture is on the left side as well... i would like to have the picture on the right side still...
i dont know what exactly you changed BUT my site does not work any more!!! This is a really big issue!!! the site is just white without anything on it! i now turned off front page in the wordpress tool, so the site is now operating in a "emergency mode"!!!! I need to get this fixed asap! if you cannot fix it, please just change everything back to the state from before you worked on my files!!
also a user added listings and if i search for them suddenly the search crashes, i hope that this is just related to the first issue! this is supercrucial!!
Hello, Changes done in "single-listing.php" will not affect front page. Your front page footer is not loading because of big images you are uploading. Some of your images are of (4608 x 3456)px 3.54mb. Please remove such big images. It will make your site working. Thanks & Regards Nitesh Raghuwanshi
i cannot really do anything against the fact that users upload such big pictures, cant i make a restriction to keep them away from uploading big pictures!?? i mean it would be ridiculous that i have to change every single uploaded picture can make the site crash!!
Hi, you could try using the free plugin WP Image Size Limit and set it to the size you wish to have uploaded, to avoid the really large images. Hope this helps. Cheers Tob