Add link to 'YOURLS Link' in toolbar
-
Better YOURLS works perfect on multisite.
One bug: The YOURLS Link in the toolbar is not a link.
<li id="wp-admin-bar-better_yourls-link"><div class="ab-item ab-empty-item">YOURLS Link</div> </li>
This resolves when adding
$yourls_url
to better-yourls/inc/class-better-yourls-actions.php:84.before:
$wp_admin_bar->add_menu( array( 'href' => '', 'parent' => 'better_yourls', 'id' => 'better_yourls-link', 'title' => __( 'YOURLS Link', 'better-yourls' ), ) );
after:
$wp_admin_bar->add_menu( array( 'href' => $yourls_url, 'parent' => 'better_yourls', 'id' => 'better_yourls-link', 'title' => __( 'YOURLS Link', 'better-yourls' ), ) );
One feature request: It would be nice to be able to replace the title in the admin.
Either way, great plugin! TY!
- The topic ‘Add link to 'YOURLS Link' in toolbar’ is closed to new replies.