Hello dear friends, I have an idea for my theses to create web site that will be used to collect real property data that will inform: 1.location 2.age of bulding 3.price 4.owners name 5.recent condition with picture 6.map of location I have tried different plugin but still not satisfied. my problem is: how to create a custom post pages, so all of that information above will be covered? also, the right plugin to use so I can create geotag site with wordpress? I tried google maps plugins but the loading time seems take quite slow. Any suggestion will be very useful for me, sorry for my bad english
There is a free plugin called Advanced Custom Fields where you can do all kinds of customization to your post pages. I have been trying it out on a new site and it seems like it could do what you are looking for.
Here is an example code on how to custom this with the WP custom fields: <?php if ( get_post_meta($post->ID, 'Location', true) ) { ?> <?php $values = get_post_custom_values("Location"); echo $values[0]; ?> <?php } ?> (the works like this: If you create a custom field in the post or page named "Location" and fill inn whatever text you want it will show on the page where you palced this code. Just repeat this for every detail you wanna use.) Here is how I use it: <?php if ( get_post_meta($post->ID, 'Image', true) ) { ?> <div><a href="<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>" rel="shadowbox" style="color:#FFFFFF;"><img align="left" alt="<?php the_title(); ?>" width="685px" src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=685&h=350&zc=1&q=100" style="border:0px;" /></a> <div style="clear:both;"></div></div><?php } ?> you can use this code in single.phph, page.php, index.php ect... its very powerfull Hope you can give me som reputation-points if it works