![]() |
Wordpress Coding Help Question?
:helpme Just curious if this is something complicated or simple. I want to pull my post up on my index page for 2011 (twentyeleven) theme so that they are laying next to each other about three across. I am about to studio some tube themes to see how they did it, but curious if anyone here knows a simple way to do it with the minimal amount of changes to the code.
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 :thumbsup |
One sec, ill write the loop for you.
|
Hit up Derek Smout. He's great at WP. ;)
|
Code:
<?php get_header(); ?> |
Line 4:
Code:
$loop = new WP_Query(array('post_type' => 'portfolio', 'posts_per_page' => 10)); |
No problem. Will just break down the index on a tube theme
|
Heres how to display it using a custom field, this inst my work, but will integrate with my code.
Code:
<?php |
Quote:
|
guys he wants posts like a grid ;)
twentyeleven isnt made like that, lots of other themes are |
Quote:
Thanks, Fris |
Quote:
css example { float:left, width:33% } ( you want three columns per row ) :2 cents: happy fun times |
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 |
There are some themes like that and are dynamic like Tanzaku that I use on www.onlinesexblogs.com
|
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 |
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. :winkwink: |
what kind of look you going for? got any examples, i can show you some grid themes if you want.
|
Quote:
|
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 |
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 :thumbsup |
Quote:
|
Yay. Wordpress. Maor is not better.
|
Quote:
yeah, man, that's the one I needed!!! |
Quote:
only $5 though http://wpcharity.com/2011/03/21/japa...e-for-charity/ http://i.imgur.com/UEBT7.jpg |
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 |
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?
|
|
Quote:
Problem is though I don't think that vid player shows up on iphone or ipad unless they added an app for it. |
Quote:
|
Quote:
|
Quote:
look for a responsive theme if you wish to do this |
Quote:
|
All times are GMT -7. The time now is 11:27 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123