Adjusting Posts Similar Articles Frequency

Posted in: Newspaper
Post count: 263

It seems like the ‘Related Articles’ below posts aren’t spread out too much.

Is it possible to have the related articles below post rotate throughout the whole website (old and new) rather than it showing the past 1 or 2 weeks of related articles?

Thanks,
Kris

Post count: 780

Hello,
Do you want a random sorter? Ex: to show random posts from the whole site?

the related posts articles are in this folder: http://screencast.com/t/VIB4HaZnoyQC

Post count: 263

Hey Radu,

The similar articles shows similar articles correctly, but they do not change much. They do not show ‘older’ similar posts, they are only showing the ‘most recent’ similar posts.

So I guess basically expanding the similar posts so it grabs older similar posts and places them in that area would be great.

I hope im explaining it correctly,
Kris

Post count: 780

Hello,

I understand what you are saying, but I will have to take a look and see what can be done.

Post count: 263

Thanks!

Post count: 263

Hey, I wanted to open this back up to see if there is any way possible to make the ‘Similar Articles’ at the bottom of a post randomize a bit more than it does. It seems to only grab the most recent ones and I want to have it randomize like it does in the widgets feature you offer. Possible? 🙂

*Also, what is the frequency of all of the other random posts? I haven’t seen many of my oldest posts in there at all 🙁

  • This reply was modified 12 years by sbo.
Post count: 6600

Hi,

You can do it by adding this code 'orderby' => 'rand', to the td_module_blog.php file like this: http://screencast.com/t/OnRRUh5S

Thank you

Post count: 263

Okay, i’ll give it a shot. And the widget ‘randoms’ are randomizing ALL old and new posts correct? I mentioned before that I only really see more recent posts than the first few…

Post count: 1291

Hi,

It should include all posts from the post categories, older or newer, random.
You can test the results by refreshing the page, the query is generated by wordpress.

Thank you, Emil G.

Post count: 263

Hey guys, I think the code changed up a bit. Where do I go about changing this so the Related Articles show as random?

Post count: 6600

Hi,

The code has not been changed to Similar articles feature, you have to do this the same as before
https://forum.tagdiv.com/topic/adjusting-posts-similar-articles-frequency/#post-14622

Thanks

Post count: 263

@Lucian, I apologize. Can you show me exactly where the code is inserted?

Post count: 6600

Hi,

Just go to td_module_blog.php file add the code 'orderby' => 'rand‘ like this: http://screencast.com/t/OnRRUh5S

Thanks

Post count: 263

This does not work. Im actually on a post from last year and the ‘Similar Posts’ are showing the most recent posts. When I refresh they don’t randomize either. Code placed http://screencast.com/t/iOMc8qUv.

Post count: 6600

Hi,

The “Similar articles” feature shows related posts that are in the same category, have the same tag or author, so if you are on a post from last year it will show post from the same category randomly.

I have tested it myself and works fine. Make sure you have set to sort similar article by category from Theme Panel > Post Settings http://screencast.com/t/90BC0wYjB

Thanks

Post count: 1

Is there a way to do this now? I have looked under the folders listed in the screenshots and I do not have a td_module_blog.php I have listed hidden files and searched my entire website for this and it is no where to be found?

Thanks,
Dave

Post count: 7909

Hi,

Here you can find now the related articles function and you can try to add the sort order – http://screencast.com/t/V3syUCoGj

'sort'=>'random_posts'

Thanks!

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