Hi folks!
Currently I am working on a website that runs on WordPress.
What I have so far:
- A working shadowbox plugin for showing pictures
- Posts are split into two categories, blog and showcase.
- I edited the loop to post the posts in the categorie blog on the frontpage and posts in the categorie showcase to the showcase page.
The loop on the showcase page looks like this:
<?php the_post() ?>
<?php query_posts('category_name=Showcase'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content() ?>
<?php wp_tag_cloud(''); ?>
<?php endwhile;?>
I know that the code <?php the_content() ?> is the part that actually shows the post so to say.
And now my problem;
The only thing that's going to be posted in the categorie showcase is a link to a picture. So I thought, I put a <a href=" (etc) tag around it so that you only have to post a link and the code wil make a shadowbox of it.
BUT, wordpress automaticly puts a paragraph around a post, how do I delete that?
AND, it first links to the website its self, so a link posted looks like:
http://www.mysite.com/wordpress<p>www.picture.com/picture.jpg</p>
Does anyone know how to solve this?