Forums

different counts of posts displayed (2 posts)

  1. kaylee
    Member
    Posted 2 years ago #

    So I know that you can change the setting of how many posts you want to display but I want to display different amounts on the same page.

    Well...to better explain what i want to do: I want to display the first post in full and the titles of the related posts in the sidebar. i was able to get the titles only to display but i need to manipulate the amount shown and right now the setting applies to both. anyone know the php code for this?

  2. kaylee
    Member
    Posted 2 years ago #

    Okay...modified question.

    I found this to change the order:
    <?php query_posts('order=DESC&showposts=3&cat=3'); ?>

    but now the code below is not working. all the links go to the category page.
    " rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?>

    I guessing my query for posts is overriding the original query? How can I just set the post count?

    http://www.entrepreneurexpose.com/events/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.