Skip to main content

Unanswered Questions

2,403 questions with no upvoted or accepted answers
0 votes
0 answers
13 views

How do I ensure that the URL parameters are updated correctly when multiple filters are applied

I am writing a product filter, and ran into this issue. I have 2 different attributes of my product filter: Tilt -- as a checkbox with "Yes" or "No", and Multibrand Compatible -- ...
0 votes
0 answers
16 views

button for resetting all the custom meta fields

I’d like to have a button to reset all the custom fields for the prices, the button should operate from the author (agency) edit page because I’d like to clean the prices of all the apartments (posts) ...
0 votes
0 answers
18 views

Add a React search box to blog home error - Cannot read properties of undefined (reading 'jsx')

I have followed a couple of tutorials online in the pursuit of adding a react component to my WP page. I have gone over and over it for errors and I cant see what I must be missing, as the console ...
0 votes
1 answer
9 views

Can you open a media frame to sellect an attachment to associate with another attachment you are editing on an existing media frame?

I want to have a media frame that pops up on click of a button on an existing media frame. This way I can associate another attachment with that attachment. This question shows an example of you can ...
0 votes
0 answers
21 views

How to edit text of new user email?

On my WordPress website (6.6.2), I would like to edit the current automatic new user email template. Actually I don't want to delete the current content, but I just want to add some text. Thanks for ...
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
21 views

How could i add username field in WooCommerce

I don't know how to add username field in registration page. There is no settings about this also. Used to be there is a setting about adding a username field but not now how could i add username ...
0 votes
0 answers
45 views

How do I disable shortcuts in WordPress?

I've restricted the blocks users have access to using add_filter( 'allowed_block_types' and it limits the choice of blocks users can add. This can however be bypassed with shortcuts. For example with ...
0 votes
1 answer
24 views

How to get selected category objects in the block editor?

I am using the following functions to get the selected category objects. It seems to always return no matches even though there are several. What am I missing here? (function (wp) { const { ...
0 votes
0 answers
27 views

Custom PHP contact form issue

I'm building a WP website with a custom contact form in PHP, HTML and Javascript. The issue is when the user click the submit button to send the form, it redirects to a 404 page. The PHP function: ...
0 votes
0 answers
13 views

Querying a meta field on a custom taxonomy archive

function display_hi_vis_products_with_orange_hi_vis( $query ) { // Ensure this only runs on the front end, and only on the main query if ( ! is_admin() && $query->is_main_query() ) {...
0 votes
0 answers
17 views

Fatal error with start_lvl and start_el in an abandoned theme

I have been unable to resolve this problem even after reading many related posts. This problem begun after updating to PHP 8. It concerns a theme that I bought many years ago and that has been ...
0 votes
0 answers
24 views

Why does website not scroll to top of container when phone is rotated?

I'm using Elementor. I have a container that has a price list in it which looks terrible on mobile portrait. I used the responsive setting to hide that container on mobile portrait. Then I added a ...
0 votes
1 answer
29 views

Function to filter numbers from string

I'm looking to filter numbers from a string, and make them bigger in one case, and hide them in the other. The best way, as I understood, would be to use a custom function via functions.php and ...
0 votes
0 answers
15 views

How to display all submenu items as a breadcrumb

I'm trying to display all submenus of the active page as a breadcrumb navigation on a section of the page. How could I go about this? For example; Home Program P1 P2 P3 About When I navigate to the ...

15 30 50 per page
1
2 3 4 5
161