Questions tagged [user-interface]
The user-interface tag has no usage guidance.
78
questions
0
votes
1
answer
197
views
wordpress 6.2 is alignfull and lignwide removed?
i am using a custom block theme, and i have support for alignwide and full. now i test my theme on 6.2 and the buttons for wide and full are not showing.
in my functions.php file i have this:
...
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 ...
8
votes
3
answers
25k
views
Create a custom admin page for custom post type + taxonomies + metas
I'm writing a plugin that relies on custom post types, new taxonomy and few custom fields.
All this data will be private (not queryable or searchable).
I'd like to provide an admin page to the user, ...
-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!
2
votes
1
answer
2k
views
Extend Elementor Archive Posts widget with a custom skin in order to show multiple badges
I modified my posts widget in Elementor with a custom skin in order to show multiple badges with following code:
/* MULTIPLE BADGES ON POST */
/* --- */
add_action( 'elementor/widget/posts/skins_init',...
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 ...
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 ...
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. ...
6
votes
7
answers
9k
views
how do I force a single column layout in screen layout
I am using multipress, but users with small screens cannot access the HTML tab as the Publish meta box has a div that slides above it, disabling the ability to click it. One idea is to force a single ...
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 ...
2
votes
1
answer
175
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 ...
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
...
25
votes
6
answers
52k
views
Possible to hide Custom Post Type UI/Menu from specific User Roles?
What I'm looking to do is completely hide the UI for a custom post type from specific user roles...Ive previously found many resources on how to disable access to using those CPTs but nothing that ...
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?
5
votes
1
answer
3k
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
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?...
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 $...
0
votes
1
answer
25
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
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 ...
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 ...
5
votes
5
answers
4k
views
Use tag interface for hierarchical taxonomy?
Custom taxonomies are great. I registered a bunch of new taxonomies and wrote an importer to import our hierarchical taxonomy into WordPress a la XML. The problem is one taxonomy has about 1,100 terms ...
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-...
4
votes
3
answers
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 ...
1
vote
2
answers
183
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
1
answer
319
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 ...
1
vote
1
answer
129
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 ...
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', ...
0
votes
1
answer
182
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 ...
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 ...
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 ...
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 ...
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 = %...
2
votes
1
answer
2k
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
1
answer
52
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
1
answer
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
1
answer
49
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.
4
votes
4
answers
353
views
Theme Options Panels, What are some good examples from Frameworks or Premium Themes? [closed]
I really like https://github.com/devinsays/options-framework-plugin
Does anyone know any other good implementations of an options panel from a Framework or from another premium Theme? I think its a ...
1
vote
1
answer
27
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
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 ...
9
votes
3
answers
15k
views
How to set back-end language per user?
I would like to use the english interface for the back-end but I would like to set it to native language for an editor. I know WPML has this feature, but I don't want to install the unsupported WPML ...
2
votes
2
answers
898
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
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 ...
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?
5
votes
6
answers
14k
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 ...
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, ...
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 ...
1
vote
2
answers
2k
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 ...
0
votes
1
answer
143
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
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, ...
3
votes
1
answer
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 ...