Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 09-20-2015, 03:30 AM   #1
astronaut23
Confirmed User
 
Industry Role:
Join Date: Jan 2012
Posts: 310
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.
astronaut23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-20-2015, 03:36 AM   #2
j3rkules
VIP
 
j3rkules's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 22,105
Did you try to contact their support?
j3rkules is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-20-2015, 04:11 AM   #3
astronaut23
Confirmed User
 
Industry Role:
Join Date: Jan 2012
Posts: 310
Quote:
Originally Posted by jerkules View Post
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.
astronaut23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-20-2015, 04:13 AM   #4
j3rkules
VIP
 
j3rkules's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 22,105
Quote:
Originally Posted by astronaut23 View Post
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]
j3rkules is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-21-2015, 10:17 PM   #5
astronaut23
Confirmed User
 
Industry Role:
Join Date: Jan 2012
Posts: 310
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(); ?>
astronaut23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-23-2015, 09:10 AM   #6
lollipopx
Confirmed User
 
lollipopx's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 171
link to your site please. I would like to see what you are doing.
__________________
Lollipopx.com
Twitter @lollipopx_1, Tumblr lollipop-x, ICQ 669068563, Skype lollipop_130 Tell me your from gfy or i might ignore you.
lollipopx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-23-2015, 09:58 AM   #7
astronaut23
Confirmed User
 
Industry Role:
Join Date: Jan 2012
Posts: 310
Quote:
Originally Posted by lollipopx View Post
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).
astronaut23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-23-2015, 02:58 PM   #8
lollipopx
Confirmed User
 
lollipopx's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 171
Quote:
Originally Posted by astronaut23 View Post
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.
__________________
Lollipopx.com
Twitter @lollipopx_1, Tumblr lollipop-x, ICQ 669068563, Skype lollipop_130 Tell me your from gfy or i might ignore you.
lollipopx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-23-2015, 03:00 PM   #9
j3rkules
VIP
 
j3rkules's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 22,105
Did you contact the owner?
j3rkules is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
adultsiteskins, figured, managed, theme, wordpress, question



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.