Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1064669
    c1s
    Participant
    This reply has been marked as private.
    #1065632
    Rad
    Moderator

    Hi there,

    Looks like there is a firewall that blocking us? I can’t connect to your host either.

    Thanks!

    #1094021
    chugginn
    Participant
    This reply has been marked as private.
    #1094682
    Lely
    Moderator

    Hi There,

    Please double check WP admin credentials. It says invalid username. In case you have a caching plugin, please note to delete/purge cache and then check again.

    #1095373
    chugginn
    Participant
    This reply has been marked as private.
    #1095430
    Rupok
    Member

    Hi there,

    Not sure why this is happening on your end. I can’t replicate this on my setup though. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    #1095606
    chugginn
    Participant

    Thanks for taking a look. I’ve disabled all plugins except for Cornerstone and still have the same issue. Feel free to try yourself, it’s just a development site.

    #1095954
    Rad
    Moderator

    Hi there,

    Sticky posts are ordered by ID and not by date, please check this https://premium.wpmudev.org/blog/how-to-order-your-wordpress-sticky-posts-the-way-you-want-them/ and http://wordpress.stackexchange.com/questions/96347/insert-sticky-specific-post-into-loop-at-specific-location

    Hence, if your sticky post is 4th to the last, then it’s not visible on a 3 recent posts item. It’s 3rd to the last that’s why it’s not recent.

    Thanks!

    #1095960
    chugginn
    Participant

    Hi there,

    It’s how WordPress sticky works, and recent posts element only displaying the result of WordPress Query. For example, you’re displaying a 4 items, but it happens that your sticky is on 5th, then it will not be displayed.

    Thanks!

    #1095974
    Rad
    Moderator

    Hi there,

    Seems like I overwritten your reply without editing it.

    It’s how WordPress sticky works, and recent posts element is only displaying the result of WordPress Query. For example, you’re displaying 4 items, but it happens that your sticky is on 5th, then it will not be displayed.

    There is numerous solution provided due to this WordPress limitation. You can try searching this on google “WordPress sticky post order”

    Thanks!

    #1096034
    chugginn
    Participant
    This reply has been marked as private.
    #1096224
    Rad
    Moderator

    Hi there,

    Please check this https://codex.wordpress.org/Sticky_Posts

    If checked, the post will be placed at the top of the front page of posts, keeping it there until new posts are published.

    It’s referring to blog queries on front page/home page. Recent posts element is different, it’s not a blog page , it’s just an element with custom WP_Query. As you can see from that URL, the code for displaying Sticky posts are different than normal query and it’s up to you where you will going to display it, like, on top of other posts. It doesn’t position itself on top. Example, if you’ll develop a sticky post based layout, then you’ll have to get two loops, one for sticky posts, and another for regular posts.

    And back to Recent posts element, it doesn’t have that layout. It simply has the option to include/exclude the sticky but it doesn’t position it on top, it has no special coding for sticky posts. Another example http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/

    In WordPress.com’s hosted sites, they do it automatically for blog home page (pre added coding).

    Thanks!

    #1097116
    chugginn
    Participant

    I understand now, thanks for explaining in detail.

    #1097180
    Joao
    Moderator

    Hi There,

    Let us know if you have any questions.

    Thanks

    Joao

  • <script> jQuery(function($){ $("#no-reply-900348 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>