concatCss(targetFile, options)
targetFile: The relative path of the generated file containing the concatenated css
options: (since 2.1.0)
inlineImports: (default true) Inline any local import statement found
rebaseUrls: (default true) Adjust any relative URL to the location of the target file.
includePaths: (default []) Include additional paths when inlining imports
commonBase: (default to the base property of the first file) Common base path from wich resolving files and urls
add_action( 'carbon_fields_register_fields', 'crb_attach_post_meta' );
function crb_attach_post_meta() {
Container::make( 'post_meta', 'Custom Data' )
->where( 'post_type', '=', 'post' )
->where( 'post_format', '=', 'video' )
->where( 'post_term', '=', array(
'field' => 'slug',
'value' => 'broder',
'taxonomy' => 'category',
) )
->add_fields( array(
Field::make( 'map', 'crb_location' )
->set_position( 37.423156, -122.084917, 14 ),
Field::make( 'sidebar', 'crb_custom_sidebar' ),
Field::make( 'image', 'crb_photo' ),
));
}
Стоит ли использовать такую структуру, если верстаешь один?Скорее нет, но это дело привычки и вкуса, в такой структуре нет ничего ужасного, зато ничего лишнего не будет.
Это как же нужно заставить gulp извращаться, чтобы собрать проект?Примерно вот так.
return $response['access_token];
gnome-terminal
, konsole
, xterm
и т.д.