WordPress.org

Ready to get started?Download WordPress

Forums

How to display Sticky Post on the bottom of the first page instead of the top (3 posts)

  1. json21
    Member
    Posted 1 year ago #

    I am using Twenty Eleven 1.4 http://wordpress.org/extend/themes/twentyeleven

    I know that I need to change the PHP code in content.php, and I am looking into that, but maybe somebody knows an easy solution.

    I would prefer to modify the PHP code instead of using a plugin.

    Thank you.

    # # #
    Here is the content.php code that needs to be changed:
    http://pastebin.com/BMvhEzRW

  2. json21
    Member
    Posted 1 year ago #

    I am not sure, but maybe this is the right direction. Does anybody have an idea why id doesn't work (it doesnt show any posts at all)?

    http://pastebin.com/aEcEN5UG

  3. json21
    Member
    Posted 1 year ago #

    I changed the code, and even though the sticky post code is on the bottom, it is still showing on the top. Does anybody know what makes sticky posts display on the top, and let's say not on the bottom of the bage (or in the middle of page 3 etc)?

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.