Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #294234

    Hi, is it possible when you click on a portfolio item to load just a different image or video without the slideshow?

    #294797

    Hi sifeek!

    Thank you for using the theme.

    If I am not mistaken, you’re using the AJAX portfolio? Unfortunately, you can’t set a different video or image other than slideshow but you can link the images to a video then open it on a lightbox. Edit the featured media of the portfolio item then look for the Apply link to the image? and set it manually. Add the url of the video to open it in lightbox.

    If you have the time, please check our latest theme Enfold. This theme has the capability to set another image, video, gallery or preview text on the ajax portfolio view

    Best regards,
    Ismael

    #294842

    Thank you for the answer Ismael.
    Can you tell me which file respond to Ajax portofolio?

    Best regards

    #295356

    I have another question can I switch the places of this two images: http://tbdemo.biz/seeinside/wp-content/uploads/2014/07/Question.png
    seeinside image and bmw image.

    • This reply was modified 1 month, 3 weeks ago by  sifeek.
    #296204

    Hi!

    1) The ajax portfolio code can be found in angular\includes\helper-templates.php – search for this function:

    
    function avia_check_ajax_request()
    

    2) In angular\includes\helper-templates.php replace:

    
    				echo "<div class='flex_column two_third first'>";
    				
    				if(!post_password_required())
    				{
    				echo $dataHTML;
    				}
    				
    				echo "</div>";
    				
    				echo "<div class='portfolio-entry one_third'>";
    				echo "<h1 class='ajax-portfolio-title'>".get_the_title()."</h1>";
    				
    				echo "<div class='entry-content'>";
    				$meta = avia_portfolio_meta($id);
    				if($meta)
    				{
    					echo avia_advanced_hr(false, 'small');
    					echo $meta;
    				}
    				echo avia_advanced_hr(false, 'small');
    				the_content(__('Read more  &rarr;','avia_framework'));  
    				echo "</div>";
    				
    					
    				echo "</div>";
    

    with

    
    				echo "<div class='portfolio-entry one_third first'>";
    				echo "<h1 class='ajax-portfolio-title'>".get_the_title()."</h1>";
    				
    				echo "<div class='entry-content'>";
    				$meta = avia_portfolio_meta($id);
    				if($meta)
    				{
    					echo avia_advanced_hr(false, 'small');
    					echo $meta;
    				}
    				echo avia_advanced_hr(false, 'small');
    				the_content(__('Read more  &rarr;','avia_framework'));  
    				echo "</div>";
    				
    					
    				echo "</div>";
    			
    				echo "<div class='flex_column two_third'>";
    				
    				if(!post_password_required())
    				{
    				echo $dataHTML;
    				}
    				
    				echo "</div>";
    				
    

    Cheers!
    Peter

    #296608

    Great! Thank you Peter.
    Cheers!

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Portfolio item’ is closed to new replies.