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

  1. json21
    Posted 3 years ago #

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


    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 3 years 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
    Posted 3 years ago #

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


    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


No tags yet.