Customize this page
/** ==================================================
* Filter of Fixed Bottom Menu
*
*
* @param int $fontsize fontsize.
*/
function fbm_fontsize_90_92( $fontsize ){
if ( 90 === get_the_ID() || 92 === get_the_ID() ) {
return 20;
}
return $fontsize;
}
add_filter( 'fbm_fontsize', 'fbm_fontsize_90_92', 10, 1 );
/** ==================================================
* Filter of Fixed Bottom Menu
*
*
* @param int $height height.
*/
function fbm_height_90_92( $height ){
if ( 90 === get_the_ID() || 92 === get_the_ID() ) {
return 3;
}
return $height;
}
add_filter( 'fbm_height', 'fbm_height_90_92', 10, 1 );
/** ==================================================
* Filter of Fixed Bottom Menu
*
*
* @param int $height_a height_a.
*/
function fbm_height_a_90_92( $height_a ){
if ( 90 === get_the_ID() || 92 === get_the_ID() ) {
return 1.5;
}
return $height_a;
}
add_filter( 'fbm_height_a', 'fbm_height_a_90_92', 10, 1 );
/** ==================================================
* Filter of Fixed Bottom Menu
*
*
* @param int $height_a height_a.
* @param int $padding_top_a padding_top_a.
* @param string $backcolor backcolor.
* @param string $color color.
* @param string $overcolor overcolor.
*/
function fbm_padding_top_a_90_92( $padding_top_a ){
if ( 90 === get_the_ID() || 92 === get_the_ID() ) {
return 0.5;
}
return $padding_top_a;
}
add_filter( 'fbm_padding_top_a', 'fbm_padding_top_a_90_92', 10, 1 );
/** ==================================================
* Filter of Fixed Bottom Menu
*
*
* @param string $backcolor backcolor.
*/
function fbm_backcolor_90_92( $backcolor ){
if ( 90 === get_the_ID() || 92 === get_the_ID() ) {
return '#345678';
}
return $backcolor;
}
add_filter( 'fbm_backcolor', 'fbm_backcolor_90_92', 10, 1 );
/** ==================================================
* Filter of Fixed Bottom Menu
*
*
* @param string $color color.
*/
function fbm_color_90_92( $color ){
if ( 90 === get_the_ID() || 92 === get_the_ID() ) {
return 'orange';
}
return $color;
}
add_filter( 'fbm_color', 'fbm_color_90_92', 10, 1 );
/** ==================================================
* Filter of Fixed Bottom Menu
*
*
* @param string $overcolor overcolor.
*/
function fbm_overcolor_90_92( $overcolor ){
if ( 90 === get_the_ID() || 92 === get_the_ID() ) {
return 'white';
}
return $overcolor;
}
add_filter( 'fbm_overcolor', 'fbm_overcolor_90_92', 10, 1 );
The appearance has been changed by specifying the post ID.