This topic has 11 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #140767
     revizine
    Participant

    Hi there!

    1) How do you setup the default portfolio template to use 100% full-width for the portfolio items only? So the filter and pagination remains on its container.

    2) Is there an option in the portfolio template page to have two options if they want to go to the portfolio item or open the image in a lightbox using the overlay?

    3) Is it possible to even replace the default portfolio template to use an a grid using “essential-grid”?

    4) How do you enable to show related projects on portfolio items?

    Thanks!

    #140936
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #141172
     Radu
    Moderator

    Hi,

    1. You should check inner container no from visual composer row that contains the portfolio shortcode : see here how you can enable de-activate inner container no/yes https://drive.google.com/open?id=0Bxo5b6iHWRMwT2MtQWVjMXhvMVU

    2. No option and no quick solution for that

    3. Just edit your portfolio page using visual composer then add essential grid element and you should be able to do that.

    4. That section it’s created manually using post grid(see screenshot) pulling rest of the portfolio items + a heading text

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #143000
     revizine
    Participant

    If I choose to opt for the custom portfolio option to insert an “essential grid”, will this add the appropriate “creative works – schema.org markup” to the grid?

    thanks!

    #143129
     Radu
    Moderator

    Personally i don’t know this aspect,just test it, if the essential grid can do that yes

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #143202
     revizine
    Participant

    No, “essential grid” does not add the appropriate “creative work – schema.org markup”. How do you add this —itemscope itemtype=”http://schema.org/CreativeWork”— to the body, just for the custom portfolio page?

    thanks!

    #143203
     revizine
    Participant

    Or is it preferably for “essential grid” to add this schema type for their grid only?

    #143224
     revizine
    Participant

    Also, how do you implement in the “portfolio item template” the appropriate schema markup like this “http://schema.org/VisualArtwork” for the portfolio items? Thanks!

    #143387
     Radu
    Moderator

    Hi,

    Using this function

    COPY CODE
    
    /* Schema org for body */
    if ( ! function_exists( 'kleo_get_schema_org_markup' ) ) {
    
    	function kleo_get_schema_org_markup() {
    		$schema = 'http://schema.org/';
    		// If woocommerce product
    		if ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) {
    			$type = 'Product';
    		} elseif ( is_singular( 'post' ) ) {
    			$type = "Article";
    		}  elseif ( is_singular( 'portfolio' ) ) {
    			$type = "VisualArtwork";
    		} else {
    			if ( is_author() ) {
    				$type = 'ProfilePage';
    			} // Is search results page
    			elseif ( is_search() ) {
    				$type = 'SearchResultsPage';
    			} else {
    				$type = 'WebPage';
    			}
    		}
    
    		$type = apply_filters( 'kleo_schema_org_type', $type );
    
    		return 'itemscope itemtype="' . $schema . $type . '"';
    	}
    
    }
    

    Will add your desired markup to the body class,

    If you want to add another schema depends by pages just use this condition(about-us, contact and management represents the pages slug)

    COPY CODE
    
    if( is_page( array( 'about-us', 'contact', 'management' ) ) {
    $type = "VisualArtwork";
    
    }
    

    This will be added next to

    COPY CODE
    
    elseif ( is_singular( 'portfolio' ) ) {
    			$type = "VisualArtwork";
    		}
    

    the function will be added to wp-content/themes/kleo-child/functions.php

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #143435
     revizine
    Participant

    Hi there, I found this article relating to the schema.org markup. Does the theme follows this structure for different parts of the website? Here’s the link for reference: http://orbitingweb.com/blog/schema-org-microdata-guide/

    #143438
     revizine
    Participant
    #143577
     Radu
    Moderator

    Yes follows

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?