Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #957538


    The sticky post functionality does not work…

    I have tried with the custom code from another post:
    // Make “sticky posts” sticky in the blog element
    add_filter(‘the_posts’, ‘bump_sticky_posts_to_top’);
    function bump_sticky_posts_to_top($posts) {
    foreach($posts as $i => $post) {
    $stickies[] = $post;

    return array_merge($stickies, $posts);

    return $posts;

    But, if you have a paging on the blog element, it sticks to the top of the page it’s on and not on the first page.
    It would be nice, if its not only on the blog element but also on other elements that uses the posts.

    Can you please fix this in the theme and not as a custom change, it should be a think that works out of the box…

    Best regards,

    • This topic was modified 6 years, 1 month ago by kristofferm. Reason: i forgot a thing about not only solve this for blog elements

    Hey kristofferm,

    You can request this feature here.

    If you need further assistance please let us know.
    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.