Problems integrating WordPress
-
Hello!
I’ve a question about integrating WordPress to my site. My site is https://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]
- The topic ‘Problems integrating WordPress’ is closed to new replies.