Im pretty a new comer to this with

Here goes the initial code with one value i recieve working:

$description = get_publish_meta($publish->ID, "description", false)

if ($description[]=="") else Items foreach($description as $description)

`

I've difficulties to change this code to retrive values from more the other custom area input and putting it together and inbetween exactly the same .

Here's code with yet another useful, but im uncearten how you can mix thoose 2 values: ` $description = get_publish_meta($publish->ID, "Description", false) $seccond_value = get_publish_meta($publish->ID, "cost", false)

if ($description[]=="") how do you mix 2 values here?

else items // so how exactly does this part work and just how to i mix 2 values here? foreach($description as $description)

`

Maybe someone here includes a good tip for any good sajt that covers my questions above?

// Azezer

Do this

if ($description[0] != "" && $seccond_value[0] != "") { 

// Combine two values and print them


} else {

// Value is not set

}

The merchandise description and cost might be within the same custom area value. Just split up and categorise it.

Check Scenario#2 within this publish to discover how: http://www.graphicbeacon.com/how-to-split-and-categorize-wordpress-custom-field-values/