Customize this page
/** ==================================================
* Filter of Fixed Bottom Menu
*
* fbm_column
* @param int $column column.
*/
function fixed_bottom_menu_column( $column ) {
if ( 102 === get_the_ID() || 104 === get_the_ID() ) {
$column = 6;
}
return $column;
}
add_filter( 'fbm_column', 'fixed_bottom_menu_column', 10, 1 );
/** ==================================================
* Filter of Fixed Bottom Menu
*
* fbm_column_value_
* @param array $column_value column_value.
*/
function fixed_bottom_menu_column_value_6( $column_value ) {
if ( 102 === get_the_ID() ) {
$column_value['url'] = 'https://fbm.riverforest-wp.info/';
$column_value['icon'] = 'admin-home';
$column_value['text'] = 'Home';
}
if ( 104 === get_the_ID() ) {
$column_value['url'] = 'https://fbm.riverforest-wp.info/ja/fixed-bottom-menu-%e3%83%a9%e3%82%a4%e3%83%96/';
$column_value['icon'] = 'admin-home';
$column_value['text'] = 'Home';
}
return $column_value;
}
add_filter( 'fbm_column_value_6', 'fixed_bottom_menu_column_value_6', 10, 1 );
Add a sixth column, specifying a submission ID and a column, and then add a sixth column, specifying a submission ID.