Unanswered Questions
948 questions with no answers
5
votes
0
answers
2k
views
How to allow users login to WP from external domain and make REST requests
Basically what i want to do is:
Use Wordpress as a login system and data storage for web-application on another domain.
Make users able to register and perform REST calls from the application.
Let ...
4
votes
0
answers
759
views
wp-admin remove the subfolder URL
I have a problem with WP. I have a website with this URL: http://sub.domain.com/subfolder My Website works fine, but when I connect on wp-admin, the subfolder URL disappeared (http://sub.domain.com/wp-...
3
votes
0
answers
1k
views
Add Product categories to Wordpress menu without losing hierarchy
I need to add product categories to Wordpress menu, but when I'm doing this with WP interface it lose the hierarchy
I tried with WP-CLI, but there is no method to specify wich item is the child.
...
3
votes
0
answers
2k
views
Searchable meta value in user.php
I have created a new column in the user table list (admin page) and would like the column to be searchable in the search query, How do i add the meta to the search users query ?
/**
* Create user ...
3
votes
0
answers
65
views
Render Selected Categories in Admin Edit Post Screen differently
Selected Categories for a post in the admin screen are rendered by:
// Put checked cats on top
$output .= call_user_func_array( array( $walker, 'walk' ),
array( $checked_categories, 0, $args ) );
...
3
votes
0
answers
1k
views
Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
I have 8 custom post types (which are actually for 8 different blogs and used as "blog landing pages"). Each custom post type is also a Blog Category and each has several sub categories to it. For ...
3
votes
0
answers
1k
views
How to add ID and class in nav menu walker?
I would like to set up a custom walker that produces the following output:
<div id="navbarHolder">
<div id="navbar">
<ul>
<li><a id="nav_about" ...
3
votes
0
answers
1k
views
wp_nav_menu custom walker - child items
I have written a custom walker to integrate a jQuery drop-down nav script into my WordPress template. I need to add .dropdown-link to each of my parent menu items and .dropdown-wrapper to the ...
2
votes
0
answers
221
views
How to show always the top bar when editing
While viewing a page, or editing a theme, the topbar disappears and I can't find a way to make it always visible.
Is there a way to always show it?
2
votes
0
answers
879
views
Add acf custom fields so sub item in menus
Please, can anybody help me, I've been struggling so long with this
Basically, I want to add custom fields to sub menu items, I want to add an image and a link. I can see fields showing up in sub ...
2
votes
0
answers
130
views
Prevent posts from being published if the 'Uncategorized'-category or no category is selected
I do not want a user to be able to publish a post if no category is selected. This exact solution from a similar question is exactly what i want to do:
jQuery(document).ready(function ($) {
// ...
2
votes
0
answers
510
views
You do not have permission to create Navigation Menus - Twenty Twenty-Two theme
I have a WP Multisite, where I am the super-admin of the Network and the only admin (also super-admin) of this particular site.
Everything is working fine, but whenever I try to edit/add Navigation ...
2
votes
0
answers
117
views
Should I add the IP of the server that hosts my sites to the list of authorized IPs in the wp-admin/.htaccess?
All of my sites were recently hacked and I had to restrict access to the WordPress admin.
The logs are now full of denied connections, but I also see errors coming from the IP of the server that ...
2
votes
0
answers
139
views
Get user id for delete and update selected user
I'm trying to create admin form which can perform user creation, update and delete from frontend, See attached
i'm trying to update user from update button but i'm little confuse how to get id for ...
2
votes
0
answers
147
views
Opening specific posts on WP takes lot of time and freezes the editor
I have this weird problem in the last couple of days where it takes ~5 minutes to completely open some posts on WordPress wp-admin dashboard.
Please hear me out carefully.
This is happening only with ...