Skip to main content

Unanswered Questions

1,629 questions with no upvoted or accepted answers
0 votes
0 answers
7 views

Twenty Twenty Four child theme stylesheet is not being enqueued in admin panel when editing pages

I have created a child theme of Twenty Twenty four. I have a styles.css in the child theme directory and I have enqueued the stylesheet to load in the child theme's functions.php: <?php /* * ...
0 votes
0 answers
13 views

Post Navigation Elementor

I'm using Elementor and ACF on a website and have a custom post type for events. In elementor I have the posts on the archive page set to order by the ACF start date field. When the user clicks the ...
0 votes
0 answers
15 views

media_sideload_image only works on localhost and without return id or src

I'm trying to use media_sideload_image like in this question: Can't upload image using media_sideload_image it works on localhost with add_filter('https_ssl_verify', '__return_false'); for testing ...
0 votes
0 answers
24 views

After changing http -> https -> http, I cannot access admin dashboard

After changing http -> https -> http, I cannot access admin dashboard. Also I cannot access the server by ftp or ssh. What should I do? The site url is http://biomath.khu.ac.kr
0 votes
0 answers
23 views

How can I keep a WordPress dropdown menu open when navigating to a child page?

I'm using WordPress with the Astra theme (free version), along with Elementor Header & Footer Builder (free version) and the WP Mobile Menu (free version). I've set up a dropdown menu, but it ...
0 votes
1 answer
18 views

WordPress homepage shows default theme after migration – logged-out users see different content

I migrated a website from Enom to Hostinger, installed wordpress to the website, and uploaded my backup files using Updraft. When I am logged in as an admin, everything works just fine. But when i try ...
0 votes
1 answer
35 views

adding an options menu that allows saving multiple sets of said options

There are several good examples and tutorials on how to add an options menu to a plugin. (Many of these seem confusingly old though, but that's another thing, I'm assuming stuff from 15 years ago ...
0 votes
1 answer
25 views

Can I get the role of the currentUser in modern WordPress React?

const { currentUser } = useSelect( ( select ) => ( { currentUser: select("core").getCurrentUser() } ), [] ); This gives me a user object, with ...
0 votes
1 answer
29 views

/wp-admin/admin-ajax.php Error 500 while using divi premade layout in existing pages

I am getting error as 500 while only using premade layout and existing pages option. Its working fine for staging, issue is only on production. How to check exact issue... Tried disabling plugins.....
0 votes
0 answers
14 views

Whenever I add, modify, or remove a menu, my WordPress website does not update unless I perform a CSS regeneration. How can I address that problem?

My question is: Whenever I add, modify, or remove a menu, my WordPress website does not update unless I perform a CSS regeneration. How can I address that problem?
0 votes
0 answers
29 views

How to add an error notice conditionally

I am trying to add an error notice to an admin screen. Like this. So. I have a the function which outputs the error: public function my_error_notice() { $text = __( 'There has been an ...
0 votes
0 answers
12 views

Link from outside website or another page to a text widget title

I have a conference theme running on Wordpress, in the main page which is named as FrontPage, I need to add a link in the menu bar to one of the text widgets on the page. I do not know how to target a ...
0 votes
0 answers
20 views

The wp-admin url for each site does not work on WordPress multisite

I'm having some trouble while trying to access the admin area of each site in a WordPress multisite. I have the following settings in wp-config.php define('WP_SITEURL','https://web.mydomain.com'); $...
-1 votes
1 answer
17 views

Is there a way to get the WP Admin Header to inject as the first element in the body instead of the last?

The default approach is to inject it at the end of the html and fix position it at the top. That approach has worked for years but these days we have something better - position: sticky - and that ...
0 votes
0 answers
12 views

Menu item on a category

I read your post on how to create a menu based on category, but it displays all the posts in their entirety instead of just get the title as a link. I now have only some 12 posts in a category but ...

15 30 50 per page
1
2 3 4 5
109