GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   AdultSiteSkins Theme Question (https://gfy.com/showthread.php?t=1174177)

astronaut23 09-20-2015 03:30 AM

AdultSiteSkins Theme Question
 
I am using the AdultSiteSkins video theme for one of my Wordpress tube sites. I am trying to make the front page display random posts/videos instead of the latest ones. Has anyone figured out how to do this?

I managed to do this on another Wordpress theme but it doesn't work on this one.

j3rkules 09-20-2015 03:36 AM

Did you try to contact their support?

astronaut23 09-20-2015 04:11 AM

Quote:

Originally Posted by jerkules (Post 20584269)
Did you try to contact their support?

It's a free theme so I don't think there's any actual support for it. A decent idea anyway, I'll see if I can find an email address.

j3rkules 09-20-2015 04:13 AM

Quote:

Originally Posted by astronaut23 (Post 20584287)
It's a free theme so I don't think there's any actual support for it. A decent idea anyway, I'll see if I can find an email address.

Here is the email address:

[email protected]

astronaut23 09-21-2015 10:17 PM

I figured it out myself. I'll post the solution here if anyone else needs it. You just need to add this line in the index.php file:

Code:

<?php query_posts($query_string . '&orderby=rand') ?>
It should be added right above this line:

Code:

<?php while (have_posts()) : the_post(); ?>

lollipopx 09-23-2015 09:10 AM

link to your site please. I would like to see what you are doing.

astronaut23 09-23-2015 09:58 AM

Quote:

Originally Posted by lollipopx (Post 20587023)
link to your site please. I would like to see what you are doing.

The code I posted above displays random videos on the front page everytime you refresh the page (if you don't have a caching plugin).

lollipopx 09-23-2015 02:58 PM

Quote:

Originally Posted by astronaut23 (Post 20587067)
The code I posted above displays random videos on the front page everytime you refresh the page (if you don't have a caching plugin).

Yes I got that, still give site link. I would like to see it. I also use adultskin theme.

j3rkules 09-23-2015 03:00 PM

Did you contact the owner?


All times are GMT -7. The time now is 07:45 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc