• thanks for your explanation in my previous post.

    but i got another question for you (seems like you are more aware of the code then the rest here):

    the code that goes with the question is below:

    <h2 id="post-<?php the_ID(); ?>"><a>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php echo <strong>the_title()</strong> ?></a></h2>
    
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>

    the last piece of the code simply brings up all the posts I guess, while in between the h2 tags I am trying to get the name of the page (not page as in wp) but I don’t know what to change the “the_title()” to. Cos that immediately prints out the title of the first post. I was playing around putting echo $current_page->page_title and other stuff like that, but I guess I m not using the right thing.

    Any idea?

Viewing 1 replies (of 1 total)
  • Thread Starter metialb

    (@metialb)

    I am sorry if someone got offended that I addressed the question above to Otto42 (I just wanted to grab his attention) but other people that might know the answer are welcome to help me. Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘to Otto42’ is closed to new replies.