/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.18.3
Requires at least:    5.9
Requires PHP:         5.6
WC requires at least: 4.7
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/
function breadcrumb_custom() {
    if ( !is_front_page() && is_page() || is_category()||is_singular('post') ) { ?>
    <div class="breadcrumb-wrap">
        <div class="page-title-inner flex-row medium-flex-wrap container">
            <div class="flex-col flex-grow medium-text-center">
                <?php echo do_shortcode('[rank_math_breadcrumb]'); ?>
            </div>
        </div>
    </div>
<?php }
}
add_action('flatsome_after_header','breadcrumb_custom');
