New Landing How can we help? Themeforest Theme Support Dante Strangeness with single-portfolio.php ( prev & next )

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #102811
    No Dinx
    Member
    Post count: 25

    This site is for a carousel. We are using the portfolio post type to create bios about each animal in the carousel.

    Problem: the previous and next navigation on the single portfolio item pages does not function properly.

    Example: open the first portfolio item, “Zulu”. Click the > navigation arrow, it goes to “Quigga the Quagga”. Click the > navigation arrow, it goes to “Yun Hsiang”, click the > navigation arrow, it goes to “Morgan”. Now if I click the < navigation arrow, it goes back to “Yun Hsiang”. If I click < nav arrow again, it should go back to “Quigga the Quagga”, but it does not. It goes to “Angel”. If I am on “Angel” and click the < nav arrow again, it goes to “Raja” and the < arrow disappears.

    I have no idea why this is happening. Since the site is local, if you need to see anything, i can send screenshots and/or code.

    Please note I have created a custom single-portfolio.php child. Custom code is inserted from line 471 to line 508. Here is a snippet of single-portfolio.php from lines 463 to 511 to show my modification.

    <?php } else if ($fw_media_display == "standard" && $hide_details) { ?>
    
    </div>
    <div class="row">
    <section class="article-body-wrap col-sm-12">
    
    	<section class="portfolio-detail-description">
    		<div class="body-text clearfix" itemprop="description">
    			<div class="animal-details">
    				<div class="animal-head-left">
    					<h1 class="animal-name">
    						<?php echo get_the_title(); ?>
    					</h1>
    					<h3 class="animal-subtitle">
    						<?php echo do_shortcode('[ct id="ct_Animal_Sub_text_3900" property="value"]'); ?>
    					</h3>
    				</div>
    				<div class="animal-head-right">
    					<div class="animal-details-sponsor">
    						<h3>Sponsored by</h3>
    						<?php echo do_shortcode('[ct id="ct_Sponsor_text_1eb8" property="value"]'); ?>
    					</div>
    					<div class="animal-details-carver">
    						<h3>Carved by</h3>
    						<?php echo do_shortcode('[ct id="ct_Carver_text_2b07" property="value"]'); ?>
    					</div>
    					<div class="animal-details-painter">
    						<h3>Painted by</h3>
    						<?php echo do_shortcode('[ct id="ct_Painter_text_da1c" property="value"]'); ?>
    					</div>
    				</div>
    			</div>
    			<div class="container"><div class="row">
    				<div class="spb_content_element spb_single_image noframe col-sm-4">
    					<div class="spb_wrapper"><figure class="animated-overlay overlay-alt clearfix">
    						<img class="attachment-full" src="<?php echo do_shortcode('[animal-pic]'); ?>"></figure>
    					</div> 
    				</div>  
    				<div class="spb_content_element col-sm-8 spb_text_column">
    					<div class="spb_wrapper clearfix">
    						
    			<p><?php echo do_shortcode('[ct id="_ct_text_53f38e0ac8a2a" property="value"]'); ?></p>
    
    					</div> 
    				</div> </div></div>
    			<?php //the_content(); ?>
    			<?php if ($item_link) { ?>
    			<a class="item-link" href="<?php echo $item_link; ?>" target="_blank"><i class="ss-link"></i><?php _e("View Project", "swiftframework"); ?></a>
    			<?php } ?>
    #102970
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    This is way is very difficult for us to find out something.
    Can you put the site live with restrict access? So we can check it?

    Try to activate the Parent theme without your modifications to see if the issue still exist.

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register