Questions tagged [user-interface]

The tag has no usage guidance.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
52 views

How can I add a fifth option to the alignment picker?

I'd like to have the following options in the image alignment picker: Left Right Center Full None Obviously four of those are there by default, but the "full" one doesn't currently exist. The idea ...
JacobTheDev's user avatar
  • 1,171
2 votes
1 answer
28 views

How can I create a simple interface for my WP plugin?

I've made a simple plugin to style the WP default backend. <?php /* Plugin Name: Admin CSS Description: Custom Admin style. Made by LOOT Author: LOOT Version: 1.2 Author URI: http://weareloot.com ...
Steph's user avatar
  • 121
2 votes
0 answers
29 views

How do I insert the smaller variant of an image?

I noticed that when I upload an image in my media library, WordPress seems to automatically generate smaller versions of the image: However, I don't know how to access these smaller versions when I ...
TheKidsWantDjent's user avatar
2 votes
0 answers
474 views

Reorder "menu order" of attachments to another predefined order

I want to show photos attached to a post in a gallery using the built-in system with a custom order. Currently with the [gallery] shortcode it is posible to order it by name, by upload date, by ID, ...
peroyomas's user avatar
  • 329
2 votes
0 answers
512 views

Move terms from one taxonomy to another keeping the hierarchy

I am creating a custom taxonomy for the first time. I am trying to add a Location taxonomy. What I am actually trying to do is use existing categories to make them into locations. I went into the ...
Proves Mes's user avatar
1 vote
0 answers
60 views

Create custom dashboard for Multisite admins

Earlier in this thread I asked a question on how to create a multi level admin roles for multisite management. Create multi level admin role After creating the roles and having their personal ...
ken4ward's user avatar
  • 111
1 vote
0 answers
28 views

Don't expand "Most Used" accordion item when adding new block

In the block editor, when clicking to add a new block, the popup shows an accordion with the first item expanded ("Most Used"). How can I change it so that all the items are initially collapsed?
lonix's user avatar
  • 301
1 vote
0 answers
35 views

Performance optimization of tree like structure

I have a category page as below: and when a category is clicked, using the following code $sql_categories = $wpdb->prepare ("SELECT * FROM ".$wpdb->prefix."wtd_art_categories WHERE Parent = %...
HOY's user avatar
  • 291
1 vote
0 answers
385 views

What's the best way to render Visual Composer in posts, not pages?

I have a page with layout and ui content I'd love to use in my posts. Is that possible without running through all the shortcodes with do_shortcode?
lintuxvi's user avatar
1 vote
0 answers
1k views

How to add swipe action to wordpress pages

I have a news website. I have the main front-page and also a couple of "sub" front pages (sport, social). The other sections works through category.php. I like to add a touch gesture functionality, ...
Alevalentini's user avatar
1 vote
0 answers
32 views

UI for taxonomies & query vars

I'm building a review category on our site and I'm wondering what would be the best way to build an UI for sorting the reviews. This is how it will be setup: A archive of reviews at /reviews/ The ...
Nikwonder's user avatar
0 votes
0 answers
26 views

Best approach of implementing multi-select/checkboxes for taxonomies?

I am working on modifying how multi-select is done in a list in a custom wordpress plugin instead of using the default method of holding ctrl and clicking. The point of the plugin is to be able to ...
Mance Rah's user avatar
0 votes
1 answer
45 views

How to change the WordPress Plugin Watson Assistant Chatbot BOX Size?

How to change the Wordpress Plugin Watson Assistant Chatbot BOX Size? The CSS code below changes the height from below to top but not from top to below. I want to decrease the chatbot BOX size from ...
Aymal's user avatar
  • 1
0 votes
0 answers
746 views

When is the wp-settings-[time] cookie generated?

I created a custom plugin for login and registration forms. When I log in for a new user, 4 cookies are set : PHPSESSID, wordpress_test_cookie, wordpress_logged_in_, and 2 wordpress_sec_ . But I don't ...
imagIne's user avatar
  • 11
0 votes
1 answer
518 views

How do I hide the UI for specific Gutenberg Blocks?

I have found a article about this filter but I am supposed to pass a array of allowed blocks to it. This is what I got so far that ddd is my debugging function from Kint Debugger it reveals that the $...
NextGenThemes's user avatar
0 votes
1 answer
81 views

Very large list of options for BuddyPress profile fields

I’m making a site with BuddyPress xprofile fields which can have up to 40000 options. I already loaded the options into the db via csv file. Now the site loads very slowly and is basically unusable. ...
Palaeocortex's user avatar
0 votes
1 answer
23 views

Uploading website to live causing problems to plug-in and layout

Good day! I am still learning on how to use wordpress. I have created my website in localhost then wanted to update my live site using my newly created website from localhost. I noticed that when I ...
Marvin Javier's user avatar
0 votes
0 answers
199 views

myStickymenu hide on scroll up to certain Y values

I am trying to implement this feature in plugin myStickymenu, so that the specific pane displays at scrolling down 500px (which works) and then hides again when scrolling back up to 1000px. I ...
weteamsteve's user avatar
0 votes
1 answer
25 views

4.9.8 fr Weird behaviour, no media, many buttons unresponsive,

Since a few days, I have incredible problems with a one WP blog. Long story short, a few examples: the media shows an empty page, but I can upload files, albeit with a strange interface, like old-...
ajmch's user avatar
  • 1
0 votes
0 answers
774 views

semantic ui dropdown for custom metabox

I'd like use Semantic UI Dropdown (https://semantic-ui.com/modules/dropdown.html) in my custom metabox for the plugin I making. I added the codes like that: // Styles wp_enqueue_style( 'semantic-ui', ...
Vincenzo Auriemma's user avatar
0 votes
1 answer
319 views

twenty seventeen theme: comments UI not visible

I'm new to WP, so I may be missing something. But I've tried everything and cannot figure out how to display the comments UI on posts. When I switch to different themes, the problem is resolved and I ...
David's user avatar
  • 1
0 votes
0 answers
24 views

Handling dozens of sidebars

We have the job to realize a page with custom sidebars. Sidebars can be created on the fly on post an page edit screens, to add a custom sidebar on each page. The client wants to use this to add ...
Hendrik Luehrsen's user avatar
0 votes
0 answers
20 views

Why does <li class="default-menu"> appear? I'm trying to remove a generic link called navigation on my main menu

I really didn't know where else to turn to. It really seems like major overkill to have to manually set class=default-menu to display:none and twice as much ditto to build a filter on functions.php ...
Frankenmint's user avatar
0 votes
1 answer
602 views

How to remove UI access to Custom Post Type using direct links?

My goal: A custom post type with a complete custom editor page and post list table. I have set show_ui to false. It removed the UI section. But if some admin puts direct link (wp-admin/edit.php?...
тнє Sufi's user avatar
  • 1,690
0 votes
0 answers
575 views

"Tree view" for wp_dropdown_categories() markup

I'm using wp_dropdown_categories() to generate a select box of hierarchical categories. By default, the select box is just a huge list of indented categories: This works fine until the number of ...
rinogo's user avatar
  • 1,421
0 votes
1 answer
53 views

User interfaces living in the Admin "back end" area

We're currently toying with the idea of building a user interface that lives in the Admin area ("back-end"), effectively meaning that those interfaces will be theme independent. The code that actually ...
emilesilvis's user avatar
-1 votes
1 answer
27 views

How was this menu system created?

Can anyone give me a clue how this menu system was created? https://40thdems.org/ This is a WordPress site using the Divi theme. Thanks in advance for any pointers!
user1147171's user avatar
-1 votes
1 answer
567 views

Post UI Tabs plugin double fade effect

After clicking a tab (any tab), the fade in effect occurs twice. Curious how to only have this occur only once. I disabled every plugin to ensure that this was not a JS conflict elsewhere and it ...
Andy Ford's user avatar