Earn 15$ easy need wordpress help

Status
Not open for further replies.

nsfwish

Newbie
Joined
Dec 10, 2013
Messages
37
Reaction score
6
I'm a "n00b" when it comes to wordpress.

I am running the theme 2012 and need to create a static home page, already done with that, that displays a random post every time the page is refreshed. Simple Enough, but none of the tuts on google have helped.

message here that you have PMed me and then in your PM tell me what I have to do, if it works! YOU WIN! 15$ to your paypal. Thanks :)
 
What is it you want to display? A state homepage display or blog type?
 
Have you tried this:

Code:
[COLOR=#000000][FONT=Consolas]<?php[/FONT][/COLOR]query_posts(array('orderby' => 'rand', 'showposts' => 1));
if (have_posts()) :
while (have_posts()) : the_post(); ?>

<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>

<?php the_content(); ?>

<?php endwhile; [COLOR=#000000][FONT=Consolas]endif; ?>
[/FONT][/COLOR]
 
Have you tried this:

Code:
[COLOR=#000000][FONT=Consolas]<?php[/FONT][/COLOR]query_posts(array('orderby' => 'rand', 'showposts' => 1));
if (have_posts()) :
while (have_posts()) : the_post(); ?>

<a rel="nofollow" href="<?php the_permalink() ?>"><?php the_title(); ?></a>

<?php the_content(); ?>

<?php endwhile; [COLOR=#000000][FONT=Consolas]endif; ?>
[/FONT][/COLOR]


That will only display random links to the post, so does half the job, the coding needs to be altered to pull the full post.
 
Have you tried this:

Code:
[COLOR=#000000][FONT=Consolas]<?php[/FONT][/COLOR]query_posts(array('orderby' => 'rand', 'showposts' => 1));
if (have_posts()) :
while (have_posts()) : the_post(); ?>

<a rel="nofollow" href="<?php the_permalink() ?>"><?php the_title(); ?></a>

[B]<?php the_content(); ?>[/B]

<?php endwhile; [COLOR=#000000][FONT=Consolas]endif; ?>
[/FONT][/COLOR]

That will only display random links to the post, so does half the job, the coding needs to be altered to pull the full post.

?

Correct it if it's wrong.
 
most you guys are missing the point, I need a static page to show random posts. Not a widget. Thanks :)

PS: I have no idea what to do when you give me a piece of code. ha that's why im willin to give 15$ to anyone that solves this riddle of mine!
 
Last edited:
Hi,

I am Crib.
I am interested to help you,
and solve your wordpress problem
can you please add me on your skype : crib.ware

Thankyou
 
most you guys are missing the point, I need a static page to show random posts. Not a widget. Thanks :)

PS: I have no idea what to do when you give me a piece of code. ha that's why im willin to give 15$ to anyone that solves this riddle of mine!

Oh sorry, I misunderstood.

PM me a pastebin with the PHP of the page you want it in. Or Skype me...

This isn't a $15 problem.
 
I think you can go to settings>reading and there is an option if you want to show latest posts or static page to come up each time you go to the site.Correct me if im wrong, but this is what i see on my WP settings
 
I think BHW is eating half my outgoing PMs. Did you get the page or what?
 
Dkovik, Great service, Thanks! Money sent

THREAD CLOSED
 
Status
Not open for further replies.
Back
Top