Unanswered Questions
1,302 questions with no upvoted or accepted answers
0
votes
0
answers
12
views
Tinymice editor strips <![endif --> tags
In um email templates i have used if mso tags to render a different logo image.
this is the sample code i have used. However everytime i save the template wordpress converts my <!–<![endif]–> ...
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
23
views
ACF Inside Interactivity block
I’ve been using the WordPress Interactivity API blocks for a few months and have found them useful and straightforward until now.
BUT For the past two days, I’ve been trying to display ACF (Advanced ...
0
votes
0
answers
23
views
Prevent render in editor via PHP
Simple ACF Gutenberg Block that I would like to use as a wrapper for other content (using <InnerBlocks />). The block's only field is a Link that wraps all of the content in an <a> tag.
...
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
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 ...
0
votes
0
answers
8
views
How to load TinyMce cloud editor in Wordpress with wp_editor()?
I would like to use the latest version of TinyMce on a frontend textarea. How can I load the cloud version 7 with wp_editor() not having conflicts with the already old implemented 4.9 one?
With this ...
0
votes
0
answers
16
views
Working with editors and pending custom post types
I have found a problem that I don't think WordPress is capable of handling
I developed a CPT 'service-providers' and gave users capabilities to edit their own listing. Once they add a new listing or ...
2
votes
0
answers
80
views
How to Use Webpack with WordPress Script Modules and Enqueue a Custom Class
I am working on a WordPress project using version 6.5, which introduced support for JavaScript modules. I have a parent theme that exports a JavaScript class, and I want to import this class in a ...