• Resolved ogessel

    (@ogessel)


    Good morning,

    We have a lot of blog posts and in those we would like to default show related context posts that we can define ourselves.

    I.e. next to the normal related posts we’d like to show a number of default posts/pages for SEO and internal linking reasons.

    Now you can only exclude certain posts if I’m correct.

    What if you would make a csv list option to include certain posts/pages by default so they show up on every page/post?

    Thanks for your time!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ajay

    (@ajay)

    You can use the Manual Posts option in the Contextual Related Posts metabox when editing the post. These are prioritised in the display

    Thread Starter ogessel

    (@ogessel)

    Hi Ajay,

    Thanks for your response. That would be an option but…

    the thing is that we’ve got over 500 pages/posts per website and we have 4 websites ??

    So, could this be done in bulk somehow?

    The main goal is to have the same internal links of a couple of posts on all pages and posts across the website.

    Hope you can help us out.

    Greets,
    Olaf

    Plugin Author Ajay

    (@ajay)

    If these are all posts on the site, you can look to use what I’ve done with the Manual Posts module and add this into your theme’s functions.php or a separate functional plugin or mu-plugins folder in wp-content

    https://github.com/WebberZone/contextual-related-posts/blob/master/includes/modules/manual-posts.php#L33-L48

    You’ll need to replace $crp_post_meta['manual_related'] with your comma separated list of post/page IDs that you want to include.

    This will implement the same posts across the entire site.

    Thread Starter ogessel

    (@ogessel)

    Great, we will take a look at that.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Include default key posts’ is closed to new replies.