Support » Plugin: Portfolio for Elementor » Disabled Portfolio Category controls in Elementor

  • xenonofarcticus

    (@xenonofarcticus)


    In the source ( power-ups-for-elementor/modules/portfolio/elementor/widgets/elemenfolio.php ) I see the following code:

    		/*$this->add_control(
    			'type',
    			[
    				'label' => __( 'Display specific portfolio category', 'elpug' ),
    				'type' => Controls_Manager::SWITCHER,
    				'default' => '',
    				'label_on' => __( 'On', 'elpug' ),
    				'label_off' => __( 'Off', 'elpug' ),
    				'return_value' => 'yes',
    			]
    		);*/
    
    		/*$portfolio_taxonomies = get_terms( array('taxonomy' => 'elemenfoliocategory', 'fields' => 'id=>name', 'hide_empty' => false, ) );
    
    		$this->add_control(
    			'taxonomy',
    			[
    				'label' => __( 'If yes, select wich portfolio category to show', 'elpug' ),
    				'type' => Controls_Manager::SELECT,
    				'default' => 'yes',
    				'options' => $portfolio_taxonomies,
    			]
    		);*/

    Which seems to hint at a feature I’d really like — having an Elementor Element just show one category of Portfolio items.

    Is this feature non-working, or why is it commented out?

    The page I need help with: [log in to see the link]

  • The topic ‘Disabled Portfolio Category controls in Elementor’ is closed to new replies.