go41

leitfaden


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 sort by the values of this field, here the name…