Using PHP to target imgs, twenty eleven
I have been using wordpress for awhile now and am just starting to get my head around php loops. I am currently using thecartpress plugin as a shop system, I want to edit the single product loop and add a div that only the images get wrapped in each time a product is made.
How do you call images in a php loop? Or do I just need to get the original css class or id and use that?
Or am I going about this completely wrong? I just want it so that when my client puts images in a product they dont stack up underneath the featured image, but instead float to the right.
here is a link to the site: http://osbornerestoration.co.uk/product/sussex-belle-portable-cooking-range/
Any help very much appreciated.
- The topic ‘Using PHP to target imgs, twenty eleven’ is closed to new replies.