Need help? Check out our Support site, then


How to have a clean theme with just one random post

  1. Hello, i wanna have a blog that looks like this website: http://whatthefuckshouldimakefordinner.com/
    The idea is to have just one post on the homepage and be able to click somewhere to make another random post appear at the same page.
    If possible, i'd like to be able to show just the title of the random post, and then, when the person clicks on it, it goes to the whole post.

    Is it possible to be done with wordpress?
    Could you help me? Its a project for my master, so i really need help to make it happen.

    Thanks!

    The blog I need help with is criticalrecipes.wordpress.com.

  2. You can create a static page in Pages > Add New and set your front to display that page in Settings > Reading. The content of the page can include a link to a random post. The HTML for such a link is this:
    <a href="BLOG URL HERE?random">VISIBLE TEXT HERE</a>

  3. Thaaank you so much!! Im almost there. Now the doubt is how to make the visible text change everytime it conects to a new post. The visible text should be the title of the post, is it posible??

  4. No, that's not possible in the link. The post itself will have the title in it, but people will have to click to see which post it is.

Topic Closed

This topic has been closed to new replies.

About this Topic