Closed Thread Icon

Topic awaiting preservation: Wordpress Help Needed (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=30134" title="Pages that link to Topic awaiting preservation: Wordpress Help Needed (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Wordpress Help Needed <span class="small">(Page 1 of 1)</span>\

 
mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

posted posted 03-20-2008 16:39

i'm developing a wordpress site, and need a list which displays (and links) the most recent blog posts.
so far, i've created this code,

code:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php endwhile; endif; ?>


which works perfectly.
so when you click on one of the links which are generated here, you will be redirected to a page showing just the single entry.
however, when you are on that page the list only gives me the one link of the page itself.
here is a link with a demonstration of my problem
http://www.test.holdreal.com/
on the left, have a look at these 3 links:
Landhaus in Alleinlage
Hotel mit 16 Appartements, Velden
Hello world!

click on one of the links, all the others disappear. <-- do not want
can anyone help me out? would be very very much appreciated!


The Space Between Us | My Blog: lukas.grumet.at

NoJive
Maniac (V) Inmate

From: The Land of one Headlight on.
Insane since: May 2001

posted posted 03-20-2008 22:34

Can't help you I'm sorry to say but just in case you missed it....
http://wordpress.org/development/2008/03/25-sneak-peek/

I was using WP a few weeks ago but had to switch to phpBB to achieve what I needed. I hope to combine both at some point in the future.

___________________________________________________________________________
?It is dangerous to be right when the government is wrong.? Voltaire

SleepingWolf
Paranoid (IV) Inmate

From:
Insane since: Jul 2006

posted posted 03-21-2008 04:08

Can you make those links static, or do you need them dynamic.
On my WP sidebar I replaced the code with static links.

Nature & Travel Photography
Main Entrance

mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

posted posted 03-21-2008 12:31

i would need them dynamic. static links is plan B


The Space Between Us | My Blog: lukas.grumet.at

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 03-21-2008 12:55

well... is there any reference for word press scripting out there?
I couldn't find any.

Worst case, you could always query the database yourself...

SleepingWolf
Paranoid (IV) Inmate

From:
Insane since: Jul 2006

posted posted 03-21-2008 15:32

NoJive:

Can this work. Seamlessly integrates with WP, but not as powerful as a full blown forum.
http://bbpress.org/

TP: All the coding references for WP are buried here:
http://codex.wordpress.org/Main_Page

Nature & Travel Photography
Main Entrance

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 03-21-2008 17:08

ok... I'd assume you have to do
a query_posts() first... with the right options of coures

code:
// Get the last 10 posts in the special_cat category.
  <?php query_posts('category_name=special_cat&showposts=10'); ?>
  <?php while (have_posts()) : the_post(); ?>
    <!-- Do special_cat stuff... -->
  <?php endwhile;?>

Nathus
Bipolar (III) Inmate

From: Minnesota
Insane since: Aug 2003

posted posted 03-21-2008 17:26

This plugin might help.
http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/

« BackwardsOnwards »

Show Forum Drop Down Menu