can i show my category posts with randomly on related post ? i’m really sorry for my bad english.
My desktop Pages/Session: 3.57 (because i create new category. and i add my favorite posts in this category. and show with randomly on sidebar.)
My mobile Pages/Session: 1.23 (because people just see same posts. and same category.)
i just want to show my just ”FAVORITE POSTS” category. when the page is refresh, posts shows randomly. like my sidebar.

hi guys i found random posts tag. ”’sort’=>’random_posts”’ its work
but still random category posts. i just want to show my chose (trending) category with random posts
Hi
The only sorting options available for related posts are the ones from theme panel > post settings related article: http://screencast.com/t/12IWU0MViMHd To add new options you’ll need to edit theme’s files and adjust the code such that to achieve the desired result. All thei customizations require lot of time and many tests in order to be achieved. We can’t offer customization services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks!
but i know the codes.
category_id”:”9″ (incorrect)
sortâ=>ârandom_posts (correct)
just i don’t know how to use category code. i try sortâ=>âcategory_id 9′ but its wrong. here is my td.module.single.php.
https://i.hizliresim.com/pzOo7m.png

-
This reply was modified 10 years by
Finland.
Hi
WordPress does not have a function to display posts from a random category, you’ll need to create a custom function to achieve the desired rezult. Getting rand m posts from random category cannot be done using a simple code. This task require lots of customizations and they falls beyond the support can offer you. The support policy reefers at helping the customers to understand how theme’s feature works, not to create new ones.
Thanks for your understanding and for your message!
Hi
I am, not sure what you’re trying to do. Do you want to show random post sorted by comment number? Basically you can’t have two types of sort within one block. You will have to send the new sort type as a new parameter which takes a custom value, for example:
âsortâ=>ârandom_postsâ
âaditionall_sortâ=>âcomment_countâ
Thanks!
i pay 90$ for developer. and he just add ‘category_id’ => ‘4’ code before short => random_post.
the worst thing i pay đ what i say ”i need one simple code”. and i pay 90$ for this simple code. đ
Well at least he fixed it, where did you get the coder?
I think you can get one on fiverr to do it for $5.

