dimanche 28 décembre 2014

Set specific option value on specific page (SMOF)


Let's say, I have smof option for showing site header in 3 different types.



$of_options[] = array( "name" => "Header type",
...
"options" => array(
"default" => "header_1",
"second" => "header_2",
"third" => "header_3"
)
);


For the entire site I have header_1. But for specific page I want to header_2 has been shown. And for another specific page I want header_3. Is it possible and if yes, how can I get it?





Aucun commentaire:

Enregistrer un commentaire