Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #624035

    Hey,

    I came across a weird bug since updating to the latest version of enfold and wordpress (i disabled all plugins). The Portfolio Items menu item was missing from my wordpress dashboard.

    I found this post that said that if two admin menu items have the same order number assigned one of them, one won’t show. I tried using the code they suggest on this post, but it didn’t help get the portfolio to work. https://www.wpfangirl.com/2015/help-my-custom-post-type-disappeared-from-the-admin-menu/

    I then decided to go to register-portfolio.php inside the includes/admin folder. I added the ‘menu_position’=> 33, to the arg array below and it reappeared in the menu.

    	$args = array(
    		'labels' => $labels,
    		'public' => true,
    		'show_ui' => true,
    		'capability_type' => 'post',
    		'hierarchical' => false,
    		'rewrite' => array('slug'=>_x($permalinks['portfolio_permalink_base'],'URL slug','avia_framework'), 'with_front'=>true),
    		'query_var' => true,
    		'show_in_nav_menus'=> true,
    		'menu_position'=> 33,
    		'taxonomies' => array('post_tag'),
    		'supports' => array('title','thumbnail','excerpt','editor','comments')
    	);

    Is there a way to do this in the child theme’s functions.php file instead?

    #625637

    Hey dustingrof,

    Are you still having the same issue when you do not make the changes?
    If so, please create a temporary admin login and post it here privately.

    Best regards,
    Yigit

    #626976

    Hey, I was about to post you some credentials and let you know that I was still running into the same issue when I removed the code. But then I looked down at the bottom of my page and noticed my wordpress version was at 4.2.2.

    I thought that was weird, because I was not getting the usual update notification at the top. This site of mine is hosted on my clients server rather than my own. I found this thread and am going to get updated before I get back to you. Note the solution to the problem is way down at the bottom.

    https://wordpress.org/support/topic/wp-updates-not-showing-latest-wp-version-available

    #626990

    All is good now that I ran a Wordfence scan and restored my core files to the repository version. I was then able to get updated to the most current version of WordPress and the problem went away.

    Hope this helps someone else in the same situation!

    #627620

    Hi,

    Great, glad you got it fixed and thanks for sharing the solution, much appreciated :-)

    Regards,
    Rikard

    #1285407

    Hei, this is s super old theread. But is it possible to change the position of the portfolio in the backend menu under Posts?

    #1285599

    Hey Raph,

    I think I responded to this already. Can you add a screenshot of what you need?

    Best regards,
    Jordan Shannon

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