Theme Conflict & Additional feature

Home Forums Plugins Forum FAT Portfolio Theme Conflict & Additional feature

This topic contains 11 replies, has 2 voices, and was last updated by  Kenus 2 years, 6 months ago.

  • Author
    Posts
  • #108

    octuss
    Participant

    Hi,

    I found a problem during usage of your plugin. Take a loog of these links:

    http://wizaz.pro/o-mnie
    http://wizaz.pro/makeup/makijaz-slubny-cery-tradzikowej-rozswietlajacy-dla-blondynki-szare-oczy

    Your plugin, at sigle view (as you see, I’ve made some layout changes but the issue is not depending on them) cuts off theme build in breadcrumb bar. I’ve found come code, which as I guess is responsible for this section:

    
    <?php
    
        if (is_front_page() || is_home() ):
            global $post;
            dttheme_subtitle_section( $post->ID, 'page' );
        elseif ( is_page() && !is_front_page() ):
            global $post;
            dttheme_subtitle_section( $post->ID, 'page' );
        elseif( is_post_type_archive('product') ):
            dttheme_subtitle_section( get_option('woocommerce_shop_page_id'), 'page' );
        elseif( is_post_type_archive('dt_portfolios') ):
            $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
            $title = __("Portfolio Archives",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-archive-term");
        elseif( is_single() ):
            if( is_attachment() ):
            else:
                $post_type = get_post_type();
                if( $post_type === 'post' )   {
                    dttheme_subtitle_section( $post->ID, 'post' );
                }elseif(  $post_type === "dt_portfolios"  ) {
                    dttheme_subtitle_section( $post->ID, 'dt_portfolios' );
                } elseif( $post_type === "product" ) {
                    $title = get_the_title($post->ID);
                    $subtitle = __("Shop",'dt_themes');
                    $icon = "fa-shopping-cart";
                    dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-single-product");  
    			}
          else {    
                    dttheme_subtitle_section( $post->ID, 'post' );
          }
            endif; 
        elseif( is_tax() ):
            $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
            $title = __("Term Archives",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-archive-term");
        elseif( is_category( ) ):
            $title = __("Category Archives",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-archive-categories");
        elseif( is_tag() ):
            $title = __("Tag Archives",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-archive-tags");
        elseif( is_month() ):
            $title = __("Monthly Archives",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-archive-month");
        elseif( is_year() ):
            $title = __("Yearly Archives",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-archive-year");
        elseif(is_day() || is_time()):
        elseif( is_author() ):
            $curauth = get_user_by('slug',get_query_var('author_name')) ;
            $title  = __("Author Archives",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-archive-author");
    	elseif( is_search() ):
            $title  = __("Search Result for ",'dt_themes').get_search_query();
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-search");
        elseif( is_404() ):
            $title  = __("Lost ",'dt_themes');
            dttheme_breadcrumb_custom_subtitle_section( $title, " subtitle-for-404");     
        endif; ?>
     

    The second thing
    Look at: http://wizaz.pro/makijaze

    We have only vertical gutter. There is no gutter between rows…

    Besides I have to question you about following:
    Look here: http://wizaz.pro/makijaze

    I’ve changed functionality to pop up only a featured photo. Is there any possibility to show all featured photos as a lightgallery whe any of them is clicked? They are showing separately at this time.

    * I’ll be thankful for not overriding my changes 😉

    • This topic was modified 2 years, 6 months ago by  octuss.
    • This topic was modified 2 years, 6 months ago by  octuss.

The topic ‘Theme Conflict & Additional feature’ is closed to new replies.