- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hey, i have been hanging around for a while and realy enjoy chris work with this site :) .
Now, im trying to learn some more advanced stuff in wordpress.
And right now im trying to list products on a page, i have almost no experience with php so ive run into some problems.
What i want to do is list products on a page, each product in a div with a thumb, a description and a price. all typed in from a custom field.
Ive managed to get the description and the price printed on each product, but the thumb isnt showing.
The page works fine, the products all list fine exept the image.
I would apprichiate if someone could point me in the right direction here.
if ($products[0]==””) { ?>
‘.$descrip.’ ‘.$price.’
‘; } ?>
In the custom field i type in information like this: (img url)&(description)&(the price).
I run wordpress 2.8 and php5 on one.com
//Azezer
What is being outputted? Do you have a link?
Ah, it’s working fine, it’s just that you missed an equal sign after "src":
echo ‘<div class="grid">’.$descrip.’ ’.$price.’ <img src="’.$img.’" /></div>’; } ?>
Haha, thank u =)
sometimes it feels like i earn a gold medal ;)
So, now i can continue the learning process =)
// Azezer
This is now resolved, cant find the button for it.