does not work. that is to use both plugins together not?
Code:
<link rel="stylesheet" type="text/css" href="<?php get_less_css('background.less', array(
'acolor'=>return_special_field('acolor', 'white'),
'bcolor'=>return_special_field('bcolor', 'white')
'ccolor'=>return_custom_field('ccolor', 'white')
), true); ?>" />
(2014-03-26, 18:51:42)mvlcek Wrote:(2014-03-26, 17:42:03)Oleg06 Wrote: why it works
and so does not work?Code:return_custom_field('color', 'white')
Code:return_special_field('color', 'white')
I suppose you don't have a special view HTML/PHP code in your special page type definition. In this case the fields were not loaded and return_special_field didn't work. It's now fixed in version 1.2.2 of I18N Special Pages.