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

    I want to change Portfolio Items’ icon from the generic pushpin to the folder icon, f322. How do I make this change in the Child Theme of Enfold? I don’t want the change to get overwritten. Thanks

    #463705

    Hey!

    Try adding this to your child theme functions.php file:

    add_filter('avf_portfolio_cpt_args', function($args) {
    	$args['menu_icon'] = 'dashicons-portfolio';
    	return $args;
    });

    Cheers!
    Josue

    #463712

    Oh you TOTALLY rock! Thanks so much! That’s just about driven me two clicks from crazy. But I tried exactly what you said and it worked.

    Another question for you. How do you make the “Install Plugins” submenu under “Appearance” in the main WP admin menu disappear? It appears to be tied somehow to the LayerSlider WP plugin that comes with Enfold. I’ve looked at this for 2 days and I can’t figure out how to get rid of it. It’s a duplication of what’s already under the Plugins menu. Thanks

    • This reply was modified 9 years, 6 months ago by TheURLdr.
    #463738

    Hi!

    This will do it:

    add_action( 'after_setup_theme', function(){
    	remove_action( 'tgmpa_register', 'avia_register_required_plugins' );	
    });

    Regards,
    Josue

    #463740

    Thank you again! Worked like a charm.

    #463757

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.