New answers tagged customization
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
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!
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-...
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 ...
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 ...
0
votes
Prevent part of plugin loading in another menu
Managed to sort it out with css code
.hp-menu__item { display: none; }
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 ...
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 ...
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 ...
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/
...
Top 50 recent answers are included
Related Tags
customization × 5081plugins × 497
posts × 463
custom-post-types × 421
php × 390
functions × 285
theme-development × 279
plugin-development × 260
themes × 231
custom-field × 218
categories × 201
menus × 172
pages × 168
woocommerce-offtopic × 163
multisite × 154
css × 147
templates × 140
custom-taxonomy × 137
images × 136
widgets × 136
loop × 118
database × 112
wp-query × 106
search × 104
taxonomy × 102