Created
March 29, 2012 13:26
-
-
Save SpencerCooley/2237430 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php query_posts('category_name=home-quote&posts_per_page=1'); ?> | |
| <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
| <?php include 'custom_variables.php'?> | |
| <div class="english"> | |
| <div class="home_quote"> | |
| <p> | |
| <span class="quote_mark">"</span> <?php the_content_rss(); ?><span class="quote_mark">"</span> | |
| </p> | |
| <hr> | |
| </div><!--close the home_quote div--> | |
| </div><!--closes the english div--> | |
| <div class="spanish"> | |
| <div class="home_quote"> | |
| <p> | |
| <span class="quote_mark">"</span> <?php print_r($spanish[0]); ?><span class="quote_mark">"</span> | |
| </p> | |
| <hr> | |
| </div><!--close the home_quote div--> | |
| </div><!--closes the spanish div--> | |
| <?php endwhile; else: ?> | |
| <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> | |
| <?php endif; ?> | |
| <?php wp_reset_query(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment