Support ForumEdit link in Admin Bar not working for custom post and Boutique – Support Forum https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/feed Fri, 09 May 2025 14:38:08 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3393 <![CDATA[Edit link in Admin Bar not working for custom post and Boutique]]> https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3393 Tue, 08 Jul 2014 18:19:39 +0000 OlalaWeb Hi,

I don’t understand why the “Edit Post” link in the WP Admin Bar is not showing when I’m viewing any kind of Custom Posts or viewing the WooCommerce Shop page.

I’ve try to add the following code in my functions.php file but without succes :
function my_admin_bar_link() {
global $wp_admin_bar;
global $post;
if ( !is_super_admin() || !is_admin_bar_showing() )
return;
if ( is_single() )
$wp_admin_bar->add_menu( array(
‘id’ => ‘edit_fixed’,
‘parent’ => false,
‘title’ => __( ‘Edit This’),
‘href’ => get_edit_post_link($post->id)
) );
}
add_action( ‘wp_before_admin_bar_render’, ‘my_admin_bar_link’ );

I look forward to hearing from you,

Regards.

]]>
https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3424 <![CDATA[Reply To: Edit link in Admin Bar not working for custom post and Boutique]]> https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3424 Wed, 09 Jul 2014 14:28:45 +0000 IshYoBoy Hey,

The WooCommerce Shop Page does this by default. Regarding the Custom Post Type. Have you set all labels? Especially the ‘edit_item’?

Also please try deactivating the used plugins to check if the problem is not caused by any of them.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3532 <![CDATA[Reply To: Edit link in Admin Bar not working for custom post and Boutique]]> https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3532 Sun, 13 Jul 2014 08:06:11 +0000 OlalaWeb Hi,

My CPT are created and managed by a plugin installed and which I need to keep activated. Plugin’s name is ‘TYPES’

I’ve asked the developers and they have confirmed me that the edit_label is correctly set.

I’ve also try to deactivate all other plugin (execpt TYPES of course) but I still CANNOT see the edit link in admin bar for CPT single view.

I look forward to hearing from you,

Regards

]]>
https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3559 <![CDATA[Reply To: Edit link in Admin Bar not working for custom post and Boutique]]> https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3559 Mon, 14 Jul 2014 06:30:19 +0000 IshYoBoy Hey,

Is the Edit link available if you use it in the default WordPress theme (twentytwelve and so on)?

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3568 <![CDATA[Reply To: Edit link in Admin Bar not working for custom post and Boutique]]> https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3568 Mon, 14 Jul 2014 07:25:04 +0000 OlalaWeb Hi, yes. When I use Twenty Twelve, the link is showing.
So it is a theme related issue.

This must be related with the way Boldial use and get the_post() but; i’ve alread tried
to create a new function without success…

Could you please help me with the admin edit link nit showing in your theme for Custom Post Type ?

]]>
https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3571 <![CDATA[Reply To: Edit link in Admin Bar not working for custom post and Boutique]]> https://support.ishyoboy.com/forums/topic/edit-link-in-admin-bar-not-working-for-custom-post-and-boutique/#post-3571 Mon, 14 Jul 2014 08:04:59 +0000 IshYoBoy Hey,

Could you please provide a screenshot from the CPT settings as we are unable to access them in the backend. Thanks

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>