173 reputation
18
bio website
location
age
visits member for 2 years, 6 months
seen Apr 6 at 2:23

Nov
6
comment Is it possible to add the_post_thumbnail to style.css?
yes, that's correct Rahil :)
Nov
6
comment Is it possible to add the_post_thumbnail to style.css?
seriously, if you understand the question and say "it's done all the time" I assume you have all the info needed. Thank you for your efforts and down votes tho, I'm looking for help on a legit question and thought this is a Q&A site, not a literature forum
Nov
6
comment Is it possible to add the_post_thumbnail to style.css?
(continues from above) and every time I need to do a change I need to change both CSS and templates, so I was wondering if there was a simpler way to do this with not as much fuss as this
Nov
6
comment Is it possible to add the_post_thumbnail to style.css?
Yes Rahil, I was aware of that and it's similar to what I'm doing now, but this option would get only one version of the thumb. What I have is different sizes: 1 for desktop, 1 for ipad, 1 for mobile. If it was some static image, I could easily separate the styles like desktop--> background:imagedesktop.jpg ; ipad--> background:imageipad.jpg ; desktop--> background:imageipad.jpg (and yes, I know this is not proper code, just explaining the logic). My current solution implies to add the code in the header based on screen size, but it's not elegant nor handy at all
Nov
6
comment Is it possible to add the_post_thumbnail to style.css?
of course, I understand that. My question would be if there's a way to do it via PHP, some kind of code that replaces that part in css since css doesn't accept php code. Something like using <?php the post_thumbnail('whatever'); ?> only that in a css file ( not necessarily a css file, maybe using pure php in the header, or JQuery or whatever)
Nov
6
asked Is it possible to add the_post_thumbnail to style.css?
Oct
17
answered Hide plugin list
Jan
22
awarded  Popular Question
Jun
23
comment Image still attached to post even after removing it as featured image
you can use wordpress.org/extend/plugins/file-gallery to detach media files
Jun
22
comment Need help getting this page nav working correctly
add the following at the end of default.css: code.wp-pagenavi span.pages, .current{color:#ccc; clear:both !important; text-align:left !important; margin:5px !important; padding:0 20px 0 0 !important;} .wp-pagenavi a.larger, .smaller, .previous, .last, .nextpostslink, .previouspostslink{width:auto !important; padding:20px 15px !important;margin-top:15px;}code
Jun
21
comment Need help getting this page nav working correctly
well, you still have a couple CSS issues, but at least it's working fine now
Jun
21
comment Need help getting this page nav working correctly
hey Rick, here's the issue: you have 2 pagination systems at the same time. One is internal, the other is for pagenavi. So, what you have to do is open pagination.php and replace everything from lines 25 to 35 with the pagenavi code. That should work (although you should make a backup first) . If you still have issues, try using wp-paginate plugin (see it at wordpress.org/extend/plugins/wp-paginate ), it's easier and less buggy than wp-pagenavi
Jun
21
comment Need help getting this page nav working correctly
the thing is that the code you added isn't related to what you're looking for, so really don't know what to tell you without seeing it. Could you paste your index.php code? You can use pastebin.com if needed . My bet is you'll have a conditional for home page and a faulty code for the remaining pages
Jun
21
revised Need help getting this page nav working correctly
added 539 characters in body
Jun
21
answered Edit the (automatic) HTML layout of nav menus
Jun
21
answered Need help getting this page nav working correctly
Jun
21
answered Limit wordpress posts loop to continue onto another page
Jun
21
revised How can I scale down the width of images in bulk that are embedded in posts throughout the site?
fixed grammar
Jun
21
answered How can I scale down the width of images in bulk that are embedded in posts throughout the site?
Jun
21
awarded  Commentator