Home / UPDATE Feed / Web Tutorial / wordpress / Wp Script For Random Post From Specific Category

Wp Script For Random Post From Specific Category

This Script will list random posts from a chosen category. You can choose how many posts to display, and whether to show the excerpt or the full content in addition to the post title. You may also link the widget title to the category archive if you like.

Just copy and paste this Script where you wanto seen the “Random Post From Specific Category”

 

**’cat’ => here you set¬†category number by using comma .

**” posts_per_page’ => here you set how meny post you want to see.

** you can also set font size , text color by using “” font-size: 18px; color: #000000;”>” color code and font size here.

Support