Unanswered Questions
3,253 questions with no upvoted or accepted answers
0
votes
0
answers
16
views
Is AJAX relevant when inserting a new post programmatically?
What I'm already able to achieve :
Inserting a new post with the WordPress function.
Doing it programmatically when some conditions are fulfilled.
The downside of this way of creating new post is ...
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
17
views
Filtered queries not responeding to page path
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
1
answer
23
views
When a foreach loop is used multiple times in blocks, is there a way to ensure a variable always has a unique value?
I'm a bit new to this so sorry if my explanations are a bit daft.
We use custom gutenberg blocks on our site. One of them is a FAQ block where you can add questions/answers and they display as an ...
0
votes
1
answer
30
views
WP_Query with multiple categories unexpected behavior
I'm working on a custom filter that uses checkboxes to choose which categories to show. I'm trying to get it show posts based on selecting more than one category. When I test with hard coded ID's it ...
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
18
views
Custom theme on multisite has issues with standard loop output
I am experiencing the following error output when using the standard loop on page.php and single.php on a multisite-based WordPress installation. The loops are the same for both template types, with ...
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 ...
1
vote
0
answers
19
views
Dinamis Query Loop template Custom Post Type dan Taxonomy di WordPress Blocks dengan PHP
Google Translated:
Hello everyone,
I’m trying to create custom blocks in WordPress that dynamically
display posts from custom post type that I’m creating, which is
“products”. I also want to sift the ...
0
votes
0
answers
21
views
Wordpress Post Query Using Custom native MySQL like St_Distance_Sphere
Is there a way to query posts for "the loop". But include some filter on the results based on a mySQL Function like St_Distance_Sphere? Or convert a wpdb->query into a form similar to &...
0
votes
1
answer
31
views
How to get the post title inside a custom block in a loop? block.js
I have created a custom post type and I want to create blocks that display its values. To start with, I created a placeholder that gets replaced with the correct values using PHP.
Everything works as ...
0
votes
0
answers
77
views
WooCommerce Mini-Cart Problem
I'm doing some customisation to the mini-cart. When a user adds a product to the cart, inside the mini-cart I'm creating a slider containing the added product's cross-sales. So for example, user adds ...
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.....