ankitbnl406
Forum Replies Created
-
Forum: Plugins
In reply to: [Admin and Site Enhancements (ASE)] Hide Howdy not workingI found an another solution, use below script:
function as_custom_admin_bar_user_name() {
global $wp_admin_bar;
// Define the ID of the node representing the “My Account” section in the admin bar.
$node_id = ‘my-account’;
// Check if the specified node exists in the admin bar.
if ($wp_admin_bar->get_node($node_id)) {
// Get the current title of the “My Account” section.
$current_title = $wp_admin_bar->get_node($node_id)->title;
// Split the current title into an array based on the comma and space separator.
$newTitle = explode(“, “, $current_title);
// Update the “My Account” section title with the second part of the split title if available,
// otherwise keep the current title.
$wp_admin_bar->add_node(array(
‘id’ => $node_id,
‘title’ => isset($newTitle) && isset($newTitle[1]) ? $newTitle[1] : $current_title,
));
}
}
// Hook the custom admin bar user name function to run before the admin bar is rendered.
add_action(‘wp_before_admin_bar_render’, ‘as_custom_admin_bar_user_name’);Forum: Plugins
In reply to: [White Label CMS] Can not hide ‘Howdy’ with WP 6.6.1 anymoreI found a solution, use below script:
add_filter( ‘admin_bar_menu’, ‘replace_wordpress_howdy’, PHP_INT_MAX – 100);
function replace_wordpress_howdy( $wp_admin_bar ) {
$my_account = $wp_admin_bar->get_node(‘my-account’);
$wp_admin_bar->add_node( array(
‘id’ => ‘my-account’,
‘title’ => substr($my_account->title, strpos($my_account->title, ”)),
));
}I resolved myself through coding thanks
Great
- This reply was modified 5 years, 2 months ago by ankitbnl406.
Dear,
I used Advanced Custom Fields plugin and created a file custom field. Now i am able to see attachment in notification panel. But attached images not sending with notification. Please see below refer link. Please help how to sending notification with attached image
Dear,
I found the issue. Its because of Embbed method. I need to Embbed via CID. Can you please help how to Embbed via cid: image name
Regards,
AnkitThanks worked
Thanks will try to fix this
Forum: Plugins
In reply to: [Polylang] Different Theme Setting per LanguageUse widget code and use 2 widget one for english one for another then put both widget short codes in contact page
Forum: Plugins
In reply to: [Polylang] Different Theme Setting per LanguageUser widgets dear!