New Landing How can we help? Themeforest Theme Support Joyn Portfolio Category Pages not working

Viewing 15 posts - 1 through 15 (of 24 total)
  • Posted in: Joyn
  • #242336
    pleeman
    Member
    Post count: 105

    Hi,

    After a recent update portfolio items no longer show up on any category page?

    Example category page:
    http://ajc.flywheelsites.com/portfolio-category/government/

    In addition, on the main portfolio page, the category filter tool is not displaying all of the portfolio items. For example, the residential category should display 8 items, but only shows 1?

    http://ajc.flywheelsites.com/portfolio/

    Site access info is available in next post.

    #242337
    pleeman
    Member
    Post count: 105
    This reply has been marked as private.
    #242347
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Can you test this with your child theme deactivated, and only the Swift Framework plugin active?

    Thanks.

    #242350
    pleeman
    Member
    Post count: 105

    Same problem with the child theme deactivated and all plugins (except swift) deactivated.

    #242355
    pleeman
    Member
    Post count: 105

    I guess I could just make pages for each individual category instead of relying on the category-pages to work…??

    #242360
    pleeman
    Member
    Post count: 105

    I went ahead and just created pages for these instead of using the category-pages.

    #242506
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have managed to resolve the issue so please check it now.
    Thanks
    Mohammad

    #242508
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok no problem

    #242590
    pleeman
    Member
    Post count: 105

    @Mohammad, what did you do?

    Thank you

    #242620
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I have forwarded to Mohammad for yo u:)

    #242631
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I flush the permalink and upgrade swift framework.
    Thanks
    Mohammad

    #245843
    pleeman
    Member
    Post count: 105

    Hi,

    Our portfolio category pages are not working again? Also, not sure if we have any updates needed. We are using a child theme but don’t get notifications about updates.

    http://ajc.flywheelsites.com/portfolio-category/commercial-office/

    #245844
    pleeman
    Member
    Post count: 105
    This reply has been marked as private.
    #245887
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Have you customized the theme files anywhere?
    Thanks
    Mohammad

    #246065
    pleeman
    Member
    Post count: 105

    Here is the only modification using the child theme.

    functions.php

    <?php
    	
    	/*
    	*
    	*	Joyn Functions - Child Theme
    	*	------------------------------------------------
    	*	These functions will override the parent theme
    	*	functions. We have provided some examples below.
    	*
    	*
    	*/
    	
    	
    	/* PORTFOLIO ITEM DETAILS
        ================================================== */
    	if ( ! function_exists( 'sf_portfolio_item_details' ) ) {
    		function sf_portfolio_item_details() {
    		    global $post;
    		    $item_sidebar_content = sf_get_post_meta( $post->ID, 'sf_item_sidebar_content', true );
    		    $client               = sf_get_post_meta( $post->ID, 'sf_portfolio_client', true );
    		    $item_link            = sf_get_post_meta( $post->ID, 'sf_portfolio_external_link', true );
    		    $item_categories      = get_the_term_list( $post->ID, 'portfolio-category', '<li>', '</li><li>', '</li>' );
    		    $fw_media_display     = sf_get_post_meta( $post->ID, 'sf_fw_media_display', true );
    		    $image                = wp_get_attachment_url( get_post_thumbnail_id() );
    		    $pb_active            = sf_get_post_meta( $post->ID, '_spb_js_status', true );
    		    $link_icon		      = apply_filters( 'sf_link_icon', '<i class="ss-link"></i>' );
    		    ?>
    		<?php if ($fw_media_display == "split") { ?>
    		<section class="item-details">
    		    <?php } else if ($pb_active == "true") { ?>
    		    <section class="item-details container">
    		    <?php } else { ?>
    		    <section class="item-details col-sm-3">
    		        <?php } ?>
    		        <?php if ( $item_sidebar_content != "" ) { ?>
    		            <div class="sidebar-content">
    		                <?php echo do_shortcode( $item_sidebar_content ); ?>
    		            </div>
    		        <?php } ?>
    		        <?php if ( $client != "" ) { ?>
    		            <div class="client"><span><?php _e( "Client:", "swiftframework" ); ?></span><?php echo esc_attr($client); ?></div>
    		        <?php } ?>
    		        <time class="date updated" itemprop="datePublished" datetime="<?php echo get_the_date( 'Y-m-d' ); ?>">
    		            <span><?php _e( "Date:", "swiftframework" ); ?></span><?php echo get_the_date(); ?></time>
    		        <?php if ( $item_link != "" ) { ?>
    		            <a class="item-link" href="<?php echo esc_url($item_link); ?>" target="_blank"><?php echo $link_icon; ?><?php _e( "View Press", "swiftframework" ); ?></a>
    		        <?php } ?>
    		        <?php if ( $item_categories != "" ) { ?>
    		            <ul class="portfolio-categories">
    		                <?php echo $item_categories; ?>
    		            </ul>
    		        <?php } ?>
    		        <?php if ( sf_theme_opts_name() == "sf_atelier_options" ) { ?>
    		        	<?php echo do_shortcode('[sf_social_share]'); ?>
    		        <?php } else { ?>
    		        	<div class="article-share" data-buttontext="<?php _e( "Share this", "swiftframework" ); ?>"
    		             data-image="<?php echo esc_url($image); ?>"></div>
    		        <?php } ?>
    		    </section>
    		
    		<?php
    		}
    	    add_action( 'sf_after_portfolio_content', 'sf_portfolio_item_details', 0 );
    	}
    	
    	/* ADDITIONAL THUMBNAIL SIZES
    	================================================== */  	
    	
    	add_image_size( 'thumb-image-onecol', 1800, 9999, true);
    	add_image_size( 'full-width-image-gallery', 1800, 9999, true);
    
    	
    	/* LOAD THEME LANGUAGE
    	================================================== */
    	/*
    	*	You can uncomment the line below to include your own translations
    	*	into your child theme, simply create a "language" folder and add your po/mo files
    	*/
    	
    	// load_theme_textdomain('swiftframework', get_stylesheet_directory_uri().'/language');
    	
    	
    	/* REMOVE PAGE BUILDER ASSETS
    	================================================== */
    	/*
    	*	You can uncomment the line below to remove selected assets from the page builder
    	*/
    	
    	// function spb_remove_assets( $pb_assets ) {
    	//     unset($pb_assets['parallax']);
    	//     return $pb_assets;
    	// }
    	// add_filter( 'spb_assets_filter', 'spb_remove_assets' );	
    
    	/* ADD/EDIT PAGE BUILDER TEMPLATES
    	================================================== */
    	function custom_prebuilt_templates($prebuilt_templates) {
    			
    		/*
    		*	You can uncomment the lines below to add custom templates
    		*/
    		// $prebuilt_templates["custom"] = array(
    		// 	'id' => "custom",
    		// 	'name' => 'Custom',
    		// 	'code' => 'your-code-here'
    		// );
    
    		/*
    		*	You can uncomment the lines below to remove default templates
    		*/
    		// unset($prebuilt_templates['home-1']);
    		// unset($prebuilt_templates['home-2']);
    
    		// return templates array
    	    return $prebuilt_templates;
    
    	}
    	//add_filter( 'spb_prebuilt_templates', 'custom_prebuilt_templates' );
    	
    	function custom_post_thumb_image($thumb_img_url) {
    	    
    	    if ($thumb_img_url == "") {
    	    	global $post;
    	  		ob_start();
    	  		ob_end_clean();
    	  		$output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);
    	  		if (!empty($matches) && isset($matches[1][0])) {
    	  		$thumb_img_url = $matches[1][0];
    	    	}
    	    }
    	    
    	    return $thumb_img_url;
    	}
    	add_filter( 'sf_post_thumb_image_url', 'custom_post_thumb_image' );
    	
    ?>
Viewing 15 posts - 1 through 15 (of 24 total)

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

License required for one of the following items
Login and Registration Log in · Register