Add on 2

A paid add on is required to achieve this feature.

Customize this page and the “Add on” page “Add on 3” page

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * fbm_column
 * @param int $column  column.
 */
function fixed_bottom_menu_column_fas_column( $column ) {

	if ( 144 === get_the_ID() ||
			146 === get_the_ID() ||
			149 === get_the_ID() ||
			151 === get_the_ID() ||
			179 === get_the_ID() ||
			181 === get_the_ID() ) {
		$column = 7;
	}
	return $column;

}
add_filter( 'fbm_column', 'fixed_bottom_menu_column_fas_column', 10, 1 );

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * icon_type
 * @param string $icon_type  icon_type.
 */
function fixed_bottom_menu_column_icon_type( $icon_type ) {

	if ( 144 === get_the_ID() || 146 === get_the_ID() ) {
		$icon_type = 'fas';
	} else if ( 149 === get_the_ID() || 151 === get_the_ID() ) {
		$icon_type = 'mdi';
	}
	return $icon_type;

}
add_filter( 'fbm_icon_type', 'fixed_bottom_menu_column_icon_type', 10, 1 );

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * fbm_column_value_
 * @param array $column_value  column_value.
 */
function fixed_bottom_menu_addon_column_value_6( $column_value ) {

	if ( 144 === get_the_ID() || 149 === get_the_ID() || 179 === get_the_ID() ) {
		$column_value['url'] = 'https://fbm.riverforest-wp.info/fixed-bottom-menu-live/add-on-2/';
		$column_value['text'] = 'Add on 2';
		if ( 144 === get_the_ID() ) {
			$column_value['icon'] = 'fas fa-plug';
		} else if ( 149 === get_the_ID() ) {
			$column_value['icon'] = 'power';
		}
	} else if ( 146 === get_the_ID() || 151 === get_the_ID() || 181 === get_the_ID()  ) {
		$column_value['url'] = 'https://fbm.riverforest-wp.info/ja/fixed-bottom-menu-%e3%83%a9%e3%82%a4%e3%83%96/%e3%82%a2%e3%83%89%e3%82%aa%e3%83%b3%ef%bc%92/';
		$column_value['text'] = 'アドオン2';
		if ( 146 === get_the_ID() ) {
			$column_value['icon'] = 'fas fa-plug';
		} else if ( 151 === get_the_ID() ) {
			$column_value['icon'] = 'power';
		}
	}
	return $column_value;

}
add_filter( 'fbm_column_value_6', 'fixed_bottom_menu_addon_column_value_6', 10, 1 );

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * fbm_column_value_
 * @param array $column_value  column_value.
 */
function fixed_bottom_menu_addon_column_value_7( $column_value ) {

	if ( 144 === get_the_ID() || 149 === get_the_ID() || 179 === get_the_ID() ) {
		$column_value['url'] = 'https://fbm.riverforest-wp.info/fixed-bottom-menu-live/add-on-3/';
		$column_value['text'] = 'Add on 3';
		if ( 144 === get_the_ID() ) {
			$column_value['icon'] = 'fas fa-plug';
		} else if ( 149 === get_the_ID() ) {
			$column_value['icon'] = 'power';
		}
	} else if ( 146 === get_the_ID() || 151 === get_the_ID() || 181 === get_the_ID() ) {
		$column_value['url'] = 'https://fbm.riverforest-wp.info/ja/fixed-bottom-menu-%e3%83%a9%e3%82%a4%e3%83%96/%e3%82%a2%e3%83%89%e3%82%aa%e3%83%b3%ef%bc%93/';
		$column_value['text'] = 'アドオン3';
		if ( 146 === get_the_ID() ) {
			$column_value['icon'] = 'fas fa-plug';
		} else if ( 151 === get_the_ID() ) {
			$column_value['icon'] = 'power';
		}
	}
	return $column_value;

}
add_filter( 'fbm_column_value_7', 'fixed_bottom_menu_addon_column_value_7', 10, 1 );

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * fbm_column_icon_type_
 * @param array $icon_type  icon_type.
 */
function fixed_bottom_menu_addon_multi_icon_6( $icon_type ) {

	if ( 179 === get_the_ID() || 181 === get_the_ID() ) {
		$icon_type = 'fas';
	}
	return $icon_type;

}
add_filter( 'fbm_column_icon_type_6',  'fixed_bottom_menu_addon_multi_icon_6', 10, 1 );

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * fbm_column_value_
 * @param array $column_value  column_value.
 */
function fixed_bottom_menu_multi_icon_value_6( $column_value ) {

	if ( 179 === get_the_ID() || 181 === get_the_ID() ) {
		$column_value['icon'] = 'fas fa-plug';
	}
	return $column_value;

}
add_filter( 'fbm_column_value_6', 'fixed_bottom_menu_multi_icon_value_6', 10, 1 );

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * fbm_column_icon_type_
 * @param array $icon_type  icon_type.
 */
function fixed_bottom_menu_addon_multi_icon_7( $icon_type ) {

	if ( 179 === get_the_ID() || 181 === get_the_ID() ) {
		$icon_type = 'mdi';
	}
	return $icon_type;

}
add_filter( 'fbm_column_icon_type_7', 'fixed_bottom_menu_addon_multi_icon_7', 10, 1 );

/** ==================================================
 * Filter of Fixed Bottom Menu
 *
 * fbm_column_value_
 * @param array $column_value  column_value.
 */
function fixed_bottom_menu_multi_icon_value_7( $column_value ) {

	if ( 179 === get_the_ID() || 181 === get_the_ID() ) {
		$column_value['icon'] = 'power';
	}
	return $column_value;

}
add_filter( 'fbm_column_value_7', 'fixed_bottom_menu_multi_icon_value_7', 10, 1 );
  • Seven columns for this page and the “Add on” “Add on 3″page
  • Set the icon for this page to “Google Material Icons
  • Set the icon for “Add on” page is “Font Awesome
  • Set the multi icon for “Add on 3” page