New answers tagged

0 votes

Remove the deleted users avatar from list

[![enter image description here][1]][1] [1]: https://i.stack.imgur.com/E5qdG.png. kindly help to fix already need to delete please need your assistance please
Aleksandr Avezbakiyev's user avatar
0 votes

Add line break for menu items

Well I found a solution. I need to use like this: <span>Get<br><small>in touch</small></span> Now all is good!
Peter's user avatar
  • 1
0 votes

language_attributes for two languages?

/* html lang= dynamize */ function new_language_attributes($lang){ global $post; $hreflang_mapping = [ 'your-slug-english' => 'lang=\'en\'', 'your-slug-...
Thomas Kujawa's user avatar
0 votes

Add custom css to specific user

In the code that you proposes the selector only works if previously added the attributes in the HTML. It is easier if you load a specific stylesheet just for certain users: Create a new CSS file with ...
JacoboFB's user avatar
0 votes

Add line break for menu items

In WordPress, line breaks are generally not supported in menu item labels through the standard menu editor. However, you can achieve a similar result using a custom walker class. Here's a step-by-step ...
jin kazoya's user avatar
0 votes

Prevent part of plugin loading in another menu

Managed to sort it out with css code .hp-menu__item { display: none; }
TopFpv SF's user avatar
0 votes

Woocommerce custom "My Account" Tab - Add Save button

Basically, if you output your custom form fields on a custom My Account tab, it means you're outside of my account form territory - you should wrap the fields in their own custom form (tag), and you ...
Edward Munch's user avatar
0 votes

Inserting custom PHP script on homepage

Yeah, it looks I'm answering myself... But generally I can see this topic was viewed over 3k times so it is still actual. My charts/tables/dashboards are now composed inside existing CSS Wordpress ...
JBW Spzoo's user avatar
0 votes

Is it possible to create a custom post type with blank page for Post List and Add Post Page only?

Tom, thanks. I was partially successful, but I'm not sure I used all the necessary functions to make it perfect. I've also understood that it's not the register_post_type that is being modified, but ...
imagIne's user avatar
  • 41
0 votes

Is it possible to create a custom post type with blank page for Post List and Add Post Page only?

Hiding the admin UI that WP generates is trivial and well documented in the official WP Developer docs for register_post_type: https://developer.wordpress.org/reference/functions/register_post_type/ ...
Tom J Nowell's user avatar
  • 58.2k

Top 50 recent answers are included