• Resolved Champ Camba

    (@champsupertramp)


    Hi,

    In UM 2.0.26, the custom Profile Tabs are not showing up in the UM > Settings > Appearance > Profile Menus. Is this a bug or this has been removed?

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Champ Camba

    (@champsupertramp)

    I added this temporary fixes in /includes/core.php under function create_cpt():

    		add_filter('um_profile_tabs', function( $tabs ){
    				$args = array(
    					'post_type'        => 'um_tab',
    					'meta_key'         => '_pp_position',
    					'orderby'          => 'meta_value_num',
    					'order'            => 'ASC',
    					'posts_per_page'   => 99,
    					'post_parent'      => 0,
    					'suppress_filters' => 0,
    				);
    
    				$posts        = get_posts( $args );
    				
    
    				foreach ( $posts as $post ) {
    
    					$meta        = get_post_meta( $post->ID );
    
    					$tabs[ $post->post_name ] = array(
    						'name'   => $post->post_title,
    						'icon'   => $meta['_pp_icon'][0],
    						'custom' => true,
    					);
    				}
    
    				return $tabs;
    
    		});

    Regards,

    • This reply was modified 6 years, 5 months ago by Champ Camba.
    Plugin Author PlusPlugins

    (@plusplugins)

    Thanks @champsupertramp !

    I am adding the above and checking with UM 2.0.26. Will release once, the UM 2.0.26 is released.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Profile Tabs menu settings not working in UM 2.0.26’ is closed to new replies.