Grow your CSS skills. Land your dream job.

Where is this Script/Table Coming From?

  • # August 2, 2012 at 9:42 pm

    I’m working on this website:
    http://bit.ly/OEBf58

    At the bottom, you will see that there is a table that includes pricing and housing information. However, I can’t seem to figure out how to edit that content. It is hard-coded into the template but doesn’t seem to call on a plugin for the information, here is the code from the lower part of the template.











    < ?php $odd_or_even = 'odd'; ?>
    < ?php query_posts('static=true&posts_per_page=-1&child_of='.$id.'&order=ASC'); ?>
    < ?php if(have_posts()) : while (have_posts()) : the_post(); ?>

    < ?php $odd_or_even = ('odd'==$odd_or_even) ? 'even' : 'odd'; ?>









    < ?php endwhile; endif; ?>
    < ?php wp_reset_query(); ?>


    Rent Unit Features Size/SQFT

    < ?php $floorplan_price = get_post_meta($post->ID, 'price', true); if ($floorplan_price) { ?>
    < ?php echo $floorplan_price; ?>*
    < ?php } ?>

    < ?php $floorplan_img = get_post_meta($post->ID, 'image', true); if ($floorplan_img) { ?>
    /wp-content/uploads/< ?php echo $floorplan_img; ?>" class="highslide" onclick="return hs.expand(this)">< ?php } ?>< ?php the_title(); ?>< ?php $floorplan_price = get_post_meta($post->ID, 'price', true); if ($floorplan_price) { ?>< ?php } ?>


      < ?php $floorplan_features_1 = get_post_meta($post->ID, 'features-1', true); if ($floorplan_features_1) { ?>
      < ?php echo $floorplan_features_1; ?>
      < ?php } ?>



      < ?php $floorplan_features_2 = get_post_meta($post->ID, 'features-2', true); if ($floorplan_features_2) { ?>
      < ?php echo $floorplan_features_2; ?>
      < ?php } ?>


    < ?php $floorplan_bedrooms = get_post_meta($post->ID, 'bedrooms', true); if ($floorplan_bedrooms) { ?>
    < ?php echo $floorplan_bedrooms; ?>
    < ?php } ?>
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".