Questions tagged [user-interface]
The user-interface tag has no usage guidance.
74
questions
0
votes
0answers
13 views
Customizer custom controls with mobile/tablet/desktop options embedded
I wonder if there's a way to create an custom control (say a slider/range control to set a padding value) that also includes options to select the device width (mobile/tablet/desktop) - so if I click ...
0
votes
0answers
34 views
How can I convert a metabox to components panel in block editor?
I added a custom side meta box to a custom post type in WordPress using addmetabox and I noticed that the UI is different from the default in the block editor. How can I make it resemble the default ...
1
vote
0answers
28 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 ...
2
votes
1answer
19 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
...
2
votes
1answer
56 views
How to write files in hosting in admin dashboard?
I see that some plugins like Wordfence can write on core folders like wp-includes or wp-admin (if write permission is enable). In case everything is permitted, is there a way to interact with the ...
1
vote
0answers
19 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?
4
votes
1answer
1k views
How to get the ToggleControl Gutenberg component working for a PHP Block
I got everything working based on this: https://gist.github.com/pento/cf38fd73ce0f13fcf0f0ae7d6c4b685d its just that the toggle does not get the visual representation of being toggled on. Any ...
0
votes
1answer
181 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 $...
0
votes
1answer
26 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. ...
0
votes
1answer
18 views
main menu hide woo commerce single products tittle
sorry maybe its off topic but i couldn't find any answer in oceanwp and
woocommerse forums
i use oceanwp them and elementor for design and my problem is main menu hide single products tittle
...
0
votes
1answer
16 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 ...
0
votes
0answers
138 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 ...
0
votes
1answer
19 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-...
1
vote
2answers
105 views
How Can I Expand the WordPress Customize window without any Plugin?
The Issue With Customise:
Wouldn't it be nice if WordPress made the Customise area shown in the below image resizable?
As it is at the moment, it can be a little tricky working in a squashed sidebar....
1
vote
1answer
100 views
Is there no admin ui guide for 4.x?
I'm starting a plugin project, and I want to keep the admin pages consistent with the rest of the admin in regard to styles and elements. However, I can't seem to find any resource that lists default ...
1
vote
1answer
128 views
How to create admin tabs [closed]
What I am trying to achieve is the following tab setup as in the "CoursePress" plugin for WordPress. My idea is to have different tabs for a custom post type, where the main setup tab also has the ...
0
votes
0answers
643 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', ...
0
votes
1answer
291 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 ...
2
votes
0answers
20 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 ...
0
votes
1answer
46 views
In admin edit-menu screen, newly added menu items always go to the bottom of the list
In admin edit-menu screen, newly added menu items always go to the bottom of the list. the only way to move it to the top is to drag/drop the item. I am a developer building a custom mega menu and the ...
1
vote
0answers
32 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 = %...
0
votes
1answer
45 views
Change menu order of core post-type in UI?
I'd like to move Posts from it's position (5) in the Dashboard Menu.
I tried to re-register it with only the menu order, but it no longer displays at all.
function reorder_core_post_types() {
...
0
votes
1answer
1k views
How to add UI buttons in customizer like twentyseventeen
So its been days since i've been looking into this and still found zero clue as to how to do it in my own custom theme.
I've also had a look at this, but nothing. I had a look at the customizer of ...
1
vote
1answer
41 views
Different UI in Wordpress
I want to know if it's possible in WordPress to have two types of UI. In Uber, we have the driver UI and the client UI. I want to know if a plugin exists or a theme. As the role may be the UI change.
1
vote
1answer
25 views
How to change number of items on add new pluggins page from backend?
When adding new plugins, the list is too short, and I have to click on next, next , next...
Is there a way to change the number of items to be displayed to something like 100 or 500?
3
votes
1answer
46 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 ...
2
votes
2answers
545 views
hide certain template files in apearance editor
Is there a way to hide certain template files from Appearance > Editor? Only want files that should be editable to display in the listing in the right hand column. This is in order to reduce clutter, ...
0
votes
0answers
22 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 ...
1
vote
0answers
380 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?
1
vote
1answer
1k views
Call javascript function when category was added via ajax
I've created a plugin to handle featured images for categories (well, for custom taxonomy actually, but it doesn't matter). Everything is working fine, except the featured image is not cleared after ...
0
votes
0answers
19 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 ...
0
votes
1answer
494 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?...
5
votes
6answers
12k views
WP_Widget deprecated error in Wordpress V4.3
This error only happened this morning as I updated my wordpress site to version 4.3. Two other sites on the same hosting ( and all using CPanel as an admin portal for the hosting) are not having any ...
0
votes
0answers
441 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 ...
1
vote
0answers
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, ...
0
votes
1answer
67 views
Customizing Users in Admin Area
I know how to customize the users in the admin area of WordPress. I have done it many times. However, I would like to customize the user a bit differently as explained below.
I would like to add a ...
2
votes
0answers
455 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, ...
3
votes
1answer
2k views
Using standard backend elements in Plugin
I'm currently writing a plugin for a company. I created a custom backend page where the admin can change settings used by the plugin.
Currently it looks very messy because there is just too much ...
0
votes
2answers
1k views
How to make the home screen of my blog not show full posts?
I recently set up my blog and on the home screen, the full blog posts are shown. Is there a way to cut off the blog posts at some point in the text? As it is now, my home screen is extremely long with ...
2
votes
1answer
2k views
$content_width for responsive UI
In our "mobile first" age a theme without responsive UI is treated like from stone age. It means that a theme could have different content width for different devices. But one of requirements for ...
0
votes
1answer
48 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 ...
3
votes
3answers
3k views
Add site options UI in Multisite Sites > Infos page
I want to add meta fields for the sites in my network (such as a thumbnail and a category). I know how to do this using get/add/update_site_option, but I'm wondering where I could put the UI to manage ...
2
votes
0answers
470 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 ...
1
vote
1answer
384 views
Back End Interface Plugin
The Back-end of Wordpress is nice, but I would like to customize the UI to some degree.
My goal is to make the user experience REALLY simple for untrained users.
I suspect plugins exist for this, but ...
0
votes
1answer
107 views
Interface needed to transfer contents in a table on a web page to the Add New Product interface
I will attempt to clarify this situation since the initial feedback was that it wasn't a question/or was vague.
I am having an e-commerce site built. The developer is using a WP template purchased ...
2
votes
3answers
8k views
How to change the file upload directory on version 3.5?
The option to change the upload folder for images is gone on version 3.5, any way to make it visible again or a workaround ?
From this core ticket:
Changing the upload_path and upload_url_path ...
3
votes
2answers
253 views
Prevent Selected Terms Rising to the Top
When you're editing a post and select a child category or term, and update, the selected terms appear at the top ( leading to potentially confusing situations where 'foo' 'foo' and 'foo' are selected ...
2
votes
1answer
169 views
WordPress Admin Interface not styled properly
The laptop I was working on recently crashed. But, I managed to get everything on it backed up, including my recent WordPress project off of my local server (I use MAMP).
I uploaded my SQL database ...
1
vote
0answers
31 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 ...
1
vote
2answers
1k views
lock meta box position on post edit screen for contributors
Our website has an open system for contributors (WP User Role) to add news and calendar content to the site.
I'd like to set and lock the position of the content and meta boxes on the post edit ...