Only “Sticky posts” in the “Top Posts”

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: not resolved

Tagged:   

Viewing 14 reply threads
  • Author
    Posts
    • #17934

      marcorroma
      Member

      Hi, I would like only sticky posts from the “Sports” category to appear in the Top Posts from the “Sports” category.
      Is it possible with a code to do this?

      Sticky posts are very important to me, and the category page is displayed at the bottom (I post many posts every day).

      THANKS for the support.

    • #17942

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #17946

      marcorroma
      Member

      I entered this code but it doesn’t work.
      Is it also possible to disable “Top Posts” only for some ID categories?

    • #17947

      marcorroma
      Member

      PS. What is the difference between custom-functions.php and functions.php?

    • #17955

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #17962

      marcorroma
      Member

      I have tried with my site, both online and a site on the local network. Does not work

    • #17969

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #17974

      marcorroma
      Member

      Done.
      Code entered, saved, refresh, code removed.
      No changes.

    • #17987

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #17994

      marcorroma
      Member

      Done.
      No changes.

    • #18009

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18020

      marcorroma
      Member

      Hi, I tried to clear the cache (of my site, and of my browser). I tried to insert the code in a site on the local network but it doesn’t work.

    • #18023

      marcorroma
      Member
      This reply has been marked as private.
    • #18024

      marcorroma
      Member

      Kindly, is there a way to exclude id categories from this function? (when it will work for me)

    • #18026

      marcorroma
      Member

      other idea: is there any way to have in the “top posts” only the most viewed posts of the last 48h?

Viewing 14 reply threads
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.