This is an example page for the custom variable example given in the post “Nice URL for WordPress custom variables“:

This page simply contains this code:

echo "Brand : " . get_query_var('brand');
echo "Model : " . get_query_var('model');

echo "Brand : " . get_query_var('brand')."
echo “Model : ” . get_query_var(‘model’);

Test this by changing the brand and model terms in the URL.

By using the code explained in the “Nice URL for WordPress custom variables” post, you can use custom variables and have nice URLs. This works for pages, posts and any other custom post type.