• Resolved romanzif

    (@romanzif)


    Hi, how i can turn-off related posts on specefic pages?
    I want to turn-off related post on events pages.
    Thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support KokkieH

    (@kokkieh)

    Hi there,

    Related Posts only display on blog posts, never on pages.

    You can prevent Related Posts from appearing at the bottom of specific posts by adding this code snippet to your site using a functionality plugin:

    https://jetpack.com/support/related-posts/customize-related-posts/#disable

    Just add the actual post IDs of the posts you want excluded into the array in that snippet.

    Thread Starter romanzif

    (@romanzif)

    I have plugin Events Calendar
    I need turn-off Related Post on ALL single event pages
    like this https://profxtrader.ru/event/konferencija-sistemnyj-podhod-v-investirovanii/
    How i can do it?

    Plugin Support lizkarkoski

    (@lizkarkoski)

    Hi –

    I don’t see related posts on the site or the page that you linked to. When I visit https://profxtrader.ru/event/konferencija-sistemnyj-podhod-v-investirovanii/ Scrolling below the post I can see 2 links. These are the previous and next post in your post order. In English they read as Basic course and Practical Trading

    Removing those navigation links can be done with CSS.

    .tribe-events-nav-previous, #tribe-events-footer .tribe-events-sub-nav li, #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous, #tribe-events-header .tribe-events-sub-nav li {
        display: none;
    }
    Thread Starter romanzif

    (@romanzif)

    Take a look please http://joxi.ru/n2Yk4XPfbRYKJr

    Plugin Support KokkieH

    (@kokkieh)

    The only way to prevent Related Posts from appearing on specific posts is using the code snippet I linked to above. Add that to your site using a plugin like Code Snippets, and add in the post-IDs of the posts where you don’t want Related Posts to appear.

    Thread Starter romanzif

    (@romanzif)

    specific post types

    Plugin Support KokkieH

    (@kokkieh)

    I understand that is what you want, but it is not possible. The filters built into Jetpack only allows you to hide related posts from appearing on specific posts, not entire post types.

    The only way I can think of to hide them on an entire post type is by using custom CSS. If you can find the class applied to the event post-types you can use that to target only posts of that type.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Related posts’ is closed to new replies.