hello,
Use the Advanced Custom Fields plugin to take full control of your WordPress edit screens & custom field data.
Add fields on demand. Our field builder allows you to quickly and easily add fields to WP edit screens with only the click of a few buttons!
Add them anywhere. Fields can be added all over WP including posts, users, taxonomy terms, media, comments and even custom options pages!
Show them everywhere. Load and display your custom field values in any theme template file with our hassle free developer friendly functions!
read more at-https :/ /wordpress .org/plugins/advanced-custom-fields
TextNow Free Download Photomath Free Download Tutuapp
hello,
see this i got this from github
Filter: fcb_bg_colors
Change or add to the available “theme” background colors for blocks
add_filter( ‘fcb_bg_colors’, ‘custom_bg_colors’);
function custom_bg_colors($array) {
$array[‘secondary’] = ‘Secondary’;
return $array;
}
Filter: fcb_btn_colors
Change or add to the available button colors for block calls to action
add_filter( ‘fcb_btn_colors’, ‘custom_btn_colors’);
function custom_btn_colors($array) {
$array[‘secondary’] = ‘Secondary’;
return $array;
}
Filter: fcb_set_block_htag
Set the tag that block titles are wrapped in. This defaults to <h2>. First remove the existing filter and then add your own:
/**
* Make the first block title an h1 and subsequent blocks default to h2
*/
remove_filter( ‘fcb_set_block_htag’, ‘block_htag_level’, 10 );
add_filter( ‘fcb_set_block_htag’, ‘custom_htag_level’, 10, 2 );
function custom_htag_level($title, $htag) {
if($GLOBALS[‘fcb_rows_count’] == 0) {
$htag = ‘h1’;
} else {
$htag = ‘h2’;
}
return ‘<‘ . $htag . ‘>’ . $title . ‘</’ . $htag . ‘>’;
}