go41

the info you need to know


von Joern
Keine Kommentare

Hi masteradmin[/code]Thanks for your response... I've tried updating the code, so it looks like this:Code:<?php if (have_posts()) : ?><?php query_posts('showposts=20&cat=26&orderby=meta_value&meta_key=Price&order=DESC'); $i = 1; ?><?php while (have_posts()) : the_post(); ?>    But still no joy. Any thoughts?thanks for your help


von Joern
Keine Kommentare

imho the way to add the sort code for a custom field with the name 'YOUR-CUSTOMFIELD-NAME' should work like this for each sectionCode:<?php query_posts('showposts=20&cat=26&orderby=meta_value&meta_key=YOUR-CUSTOMFIELD-NAME&order=DESC'); $i = 1; ?>the word YOUR-CUSTOMFIELD-NAME has to be the name of the custom field to…