Tagged: x
-
AuthorPosts
-
June 29, 2016 at 6:37 am #1064669
c1sParticipantThis reply has been marked as private.June 29, 2016 at 5:29 pm #1065632
RadModeratorHi there,
Looks like there is a firewall that blocking us? I can’t connect to your host either.
Thanks!
July 19, 2016 at 2:08 pm #1094021
chugginnParticipantThis reply has been marked as private.July 19, 2016 at 10:11 pm #1094682
LelyModeratorHi 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.
July 20, 2016 at 9:49 am #1095373
chugginnParticipantThis reply has been marked as private.July 20, 2016 at 10:38 am #1095430
RupokMemberHi 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.
July 20, 2016 at 12:17 pm #1095606
chugginnParticipantThanks 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.
July 20, 2016 at 4:40 pm #1095954
RadModeratorHi 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!
July 20, 2016 at 4:43 pm #1095960
chugginnParticipantHi 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!
July 20, 2016 at 4:50 pm #1095974
RadModeratorHi 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!
July 20, 2016 at 5:36 pm #1096034
chugginnParticipantThis reply has been marked as private.July 20, 2016 at 8:04 pm #1096224
RadModeratorHi 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!
July 21, 2016 at 9:45 am #1097116
chugginnParticipantI understand now, thanks for explaining in detail.
July 21, 2016 at 10:37 am #1097180
JoaoModeratorHi There,
Let us know if you have any questions.
Thanks
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-900348 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
