WordPress.org

Ready to get started?Download WordPress

Forums

How to display sticky on the bottom instead of the top of the page? (3 posts)

  1. json21
    Member
    Posted 1 year ago #

    I am using the default Twenty Eleven 1.4 theme. I was trying to change the code, but it did not work.

    http://pastebin.com/aEcEN5UG

    There is also some code related to sticky in wp-icludes/post.php, but it doesnt look like something that could change the placement of the post.

    It would be best to change the code, but I am not sure where is it located (code that actually makes sticky posts display on the top of the front page), and what effect would it have on the rest of the code etc... (I know that things might start breaking up etc...)

    Thank you.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

  3. json21
    Member
    Posted 1 year ago #

    Thanks. I've seen this post on the same subject:

    http://wordpress.org/support/topic/how-to-put-sticky-posts-to-the-bottom-of-the-page?replies=2

    Where is the code that makes sticky appear on the top of the main page? (I know about the code in content.php, and wp-includes/post.php).

    Is there any way to make a modification somewhere / somehow? I tried several plugins, but none of them seem to work with Twenty Eleven 1.4 (but modifying the code would be a lot better)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.