home/theblueo/www/wp-content/plugins/nimbus/main.php000064400000017757152133027350016662 0ustar00get( 'TextDomain' ); if ( 'nimbus' == $theme ) { require_once plugin_dir_path( __FILE__ ) . 'posttype/portfolio/cpt.php'; require_once plugin_dir_path( __FILE__ ) . 'widgets.php'; require_once plugin_dir_path( __FILE__ ) . 'inc/class.php'; if ( !class_exists( 'CMB2_Bootstrap_225_Trunk' ) ) { require_once plugin_dir_path( __FILE__ ) . 'meta/cmb2/init.php'; } if ( !class_exists( 'ReduxFramework' ) ) { require_once plugin_dir_path( __FILE__ ) . 'redux/ReduxCore/framework.php'; } if ( in_array( 'js_composer/js_composer.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { require plugin_dir_path( __FILE__ ). 'inc/theme_maps.php'; require plugin_dir_path( __FILE__ ). 'inc/theme_pagebuilder.php'; } } function nimbus_theme_breadcrumb() { /* === OPTIONS === */ $text['home'] = 'You are here: Home'; // text for the 'Home' link $text['category'] = 'Archive by Category "%s"'; // text for a category page $text['search'] = 'Search Results for "%s"'; // text for a search results page $text['tag'] = 'Posts Tagged "%s"'; // text for a tag page $text['author'] = 'Articles Posted by %s'; // text for an author page $text['404'] = 'Error 404'; // text for the 404 page $show_current = 1; // 1 - show current post/page/category title in breadcrumbs, 0 - don't show $show_on_home = 1; // 1 - show breadcrumbs on the homepage, 0 - don't show $show_home_link = 1; // 1 - show the 'Home' link, 0 - don't show $show_title = 1; // 1 - show the title for the links, 0 - don't show $delimiter = ''; // delimiter between crumbs $before = '
  • '; // tag before the current crumb $after = '
  • '; // tag after the current crumb /* === END OF OPTIONS === */ global $post; $home_link = esc_url( home_url('/') ); $link_before = '
  • '; $link_after = '
  • '; $link_attr = ''; $link = $link_before . '%2$s' . $link_after; if(!is_search() && !is_404()) $parent_id = $parent_id_2 = $post->post_parent; $frontpage_id = get_option('page_on_front'); if (is_home() || is_front_page()) { if ($show_on_home == 1) echo ''; } else { echo ''; } }