Title: Problems integrating WordPress
Last modified: August 21, 2016

---

# Problems integrating WordPress

 *  [jordidroj](https://wordpress.org/support/users/jordidroj/)
 * (@jordidroj)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problems-integrating-wordpress/)
 * Hello!
 * I’ve a question about integrating WordPress to my site. My site is [http://www.babylondanza.com](http://www.babylondanza.com).
   This is a site for a dance academy in Spain (Denia). I would like to make a News
   page to put latest news. In this News page I would like to show the latest 10
   posts.
 * The code I’m using now is:
 *     ```
       <div style="overflow: auto;">
       	<?php /* Start the Loop */ ?>
       	<?php while ( have_posts() ) : the_post(); ?>
       	<?php get_template_part( 'content', get_post_format() ); ?>
       	<?php endwhile; ?>
       	<?php twentyeleven_content_nav( 'nav-below' ); ?>
       </div>
       ```
   
 * I copied this code from somewhere in the internet, but I have no idea how it 
   works.
 * This code returns the latest articles, but I believe that this code returns all
   posts, not only the latest 10. It also gives the posibility of replying the post,
   but for the beginning I would like to get rid of this possibility. (It’s a link
   with “Dejar una respuesta”, that means “Replie this article” in Spanish.)
 * The way I would like to show the posts is:
    – Picture – Title (With author and
   date) – Post ` And is there a possibility to put css code on each element. For
   example: <span style=”…”>Title</span> or <span style=”…”>Post</span>
 * I hope there’s a solution for this. (The site has to be finished tomorrow so 
   I hope there’s somebody who knows how to solve it…)
 * Thanks in advance!!
 * Jordi
 * _[Please stop bumping. If you can’t wait for a free support service then try 
   [a paid one](http://jobs.wordpress.net)]_

The topic ‘Problems integrating WordPress’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [integrate](https://wordpress.org/support/topic-tag/integrate/)
 * [integration](https://wordpress.org/support/topic-tag/integration/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [wordpress integration](https://wordpress.org/support/topic-tag/wordpress-integration/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jordidroj](https://wordpress.org/support/users/jordidroj/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/problems-integrating-wordpress/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
