![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
![]() ![]() What I'm looking for is a sort of tube script design layout but not really because all the tube designs I see don't size properly to mobile devices like 2011 does (or am I wrong about this?) Just curious. Gone through tones of tutorials and have basic understanding of child themes and css, but can't find anything that will just let me alter only the index page like this. Maybe it doesn't work. Thanks in advance ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2012
Posts: 374
|
One sec, ill write the loop for you.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
OG
Industry Role:
Join Date: Dec 2001
Location: 3rd from the Sun
Posts: 13,232
|
Hit up Derek Smout. He's great at WP. ;)
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Mar 2012
Posts: 374
|
Code:
<?php get_header(); ?> <div id="content"> <?php $loop = new WP_Query(array('post_type' => 'portfolio', 'posts_per_page' => 10)); ?> <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> <?php $custom = get_post_custom($post->ID); $screenshot_url = $custom["screenshot_url"][0]; $website_url = $custom["website_url"][0]; ?> <div id="portfolio-item"> <h1><?php the_title(); ?></h1> <a href="<?=$website_url?>"><?php the_post_thumbnail(); ?> </a> <?php the_content(); ?> </div> <?php endwhile; ?> </div> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Mar 2012
Posts: 374
|
Line 4:
Code:
$loop = new WP_Query(array('post_type' => 'portfolio', 'posts_per_page' => 10)); |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
No problem. Will just break down the index on a tube theme
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Mar 2012
Posts: 374
|
Heres how to display it using a custom field, this inst my work, but will integrate with my code.
Code:
<?php add_action('init', 'create_portfolio'); function create_portfolio() { $portfolio_args = array( 'label' => __('Portfolio'), 'singular_label' => __('Portfolio'), 'public' => true, 'show_ui' => true, 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => true, 'supports' => array('title', 'editor', 'thumbnail') ); register_post_type('portfolio',$portfolio_args); } ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,212
|
guys he wants posts like a grid ;)
twentyeleven isnt made like that, lots of other themes are
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
Quote:
css example { float:left, width:33% } ( you want three columns per row ) ![]()
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
I know twentyeleven has gallery posts and everything now but still can't see a way to squeeze the posts side by side like that even with the css. I'm no pro though. I've done simple stuff like calling and removing headers and sidebars with plug ins through child themes so I can follow along tutorials a little |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
There are some themes like that and are dynamic like Tanzaku that I use on www.onlinesexblogs.com
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
If you partially close your browser on that theme, sliders are forced at the bottom to see the whole banner. Just curious. Otherwise that's pretty much what I am after. Plus if something would expand for HDTV Plus I would like that to open to normal size posts. I just noticed that the posts it opens to are pretty much the same as what you see on index page |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
Quote:
The banner is also just a big banner that I put up in the top sidebar area, it doesn't have to be that big or there at all. ![]()
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,212
|
what kind of look you going for? got any examples, i can show you some grid themes if you want.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
I'm actually trying to figure out more how it's done than to actually need it at the moment. I like the way twentyten and twentyeleven collapses and stacks on itself. Don't ask me why. I know there's more to it than that, but for my own interest at the moment. I'm curious how it works
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,212
|
Quote:
http://www.transformationpowertools....sts-grid-style also have a look at these, so you can see some grid examples in themes http://www.eleventhemes.com/gridly-theme/ http://www.dessign.net/grid-portfolio-theme-free/ http://shakenandstirredweb.com/theme/shaken-grid-free http://mufeng.me/photo/ http://stephpunk.com/blog/?p=2154#3 hope this helps
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
Actually Mrwww was helping me out too. He's pretty smart about wordpress also. This has something to do with the loop that I can't fully understand yet. I don't really know how to make all those framework themes work the way I want yet either. Will figure this stuff out though thanks for your help, Fris. And those plug ins you always post ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,212
|
Quote:
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
|
Yay. Wordpress. Maor is not better.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
yeah, man, that's the one I needed!!! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,212
|
here is a twentyten child theme that has stacked posts. (paid)
only $5 though http://wpcharity.com/2011/03/21/japa...e-for-charity/ ![]()
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
It shrinks down as small as you make the browser. Even the header shrinks. Probably you would have to add some css if you wanted a banner outside the content container to shrink, but even the video play will shrink to the smallest size for even a tiny mobile browser if I had one there. But I want this with the grid so the grid will probably stack like the menu would do if I had more than just home on there |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2002
Posts: 34,431
|
damn, where have I been - i've never seen that before where graphics size down when you reduce the size of the browser. is that a jquery plugin? it will do that with a video player too?
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
|
__________________
icq 156131086 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
Problem is though I don't think that vid player shows up on iphone or ipad unless they added an app for it. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,212
|
Quote:
look for a responsive theme if you wish to do this
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 | |
So Fucking Banned
Industry Role:
Join Date: Jul 2007
Location: Babylon
Posts: 5,889
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |