Forum Replies Created
That didn’t work either. It doesn’t get the “ID number” or the “username”.
Doing that for the permalink didn’t work for me. I’ve tried it several times.
There are a couple of things I want to do with the “author” as opposed to the “last poster”:
front-page.phpI want to put the topic author’s name under the link to each of the latest discussions.
Link to topic
By link to topic author
2) On the topic pages, I want to put the name of the post, then link to the post author.
By link to topic author on Date/Time
Rest of post……
This type of setup is already on my forum. I’ve already got the author’s name already set up on the forum. I just need to get the author’s profile link.
Okay, I’ve done that. Here’s what I get on both page 1 and page 2.
$page = 1
$topic = Object
Yeah, I see that apparently the page is acting like it’s still on page 1. The only thing that’s showing up from page 2 is the 16th post.
How do you debug the “get_page_number” function?
Yes, that’s what I’m talking about. The form, which is supposed to be on the page at the end of the posts, disappears.
I’ve narrowed it down the exact problem. Well, I don’t know why, but it seems to be the source. In “header.php” I include with php a file called “menu.php.” Inside of “menu.php” I have my “recent entries” from my wordpress blog. When I delete this particular bit of code everything works fine.
<h3 class="menuHeader">Recent Reviews</h3>
<?php $temp_query = $wp_query; ?>
<?php query_posts('cat=3&showposts=10&order=ABC'); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
<br />Review by <?php the_author_posts_link(); ?>
<?php endwhile; ?>
<?php $wp_query = $temp_query; ?>
</div> <!-- menu3 -->
When the post limit exceeds 15, is the only time this seems to be a problem. This runs fine on all the other pages, or when the post limit is 15 or below.
I’ve narrowed it down to something in my header.php file in the “my-templates” directory. I’ll look over it for now. I must’ve messed something up.