Newest Questions
116,410 questions
0
votes
0
answers
11
views
WooCommerce: Slow order confirmation loading with large carts (13s for 120 products) [closed]
I have built a private B2B shop and need an advice to reduce order confirmation loading time.
The average order contains around 120 different products.
The order validation is quite long (13s). With ...
0
votes
0
answers
16
views
I have a wordpress plugin with user authentication issues [closed]
I need help to solve the issue.
I can share existing code and folder name and other details.
Please solve this problem.
Templates folder containing register.php, login.php, forgot-password.php, change-...
0
votes
0
answers
23
views
why markers need to be tapped twice to have the popups opening in the right position (inside the leaflet map) [closed]
This part of code should rule popups behaviour
if (isMobile) {
map.on('popupopen', function (e) {
const popup = e.popup;
const el = popup.getElement();
if ...
1
vote
0
answers
16
views
Block themes/FSE: Show navigation sub-menus as expanded by default on desktop
In Full Site Editing themes, it seems that Navigation blocks with a Submenu, always end up showing the Submenu as collapsed, i.e. that you have to hover over the parent item to make the children show (...
0
votes
0
answers
10
views
connect media of wordpress to download host [closed]
I need to connect my media to the download host because the authors of my site want to upload videos and audios so they should be uploaded on the download host.
is there any way to do that?
or do you ...
-2
votes
0
answers
28
views
I think my student might be using AI to write her papers, How can I tell? [closed]
I’m a TA my first semester teaching a college global politics class and I had a student turn in an argument that was just a mess. The structure didn’t fit the assignment parameters at all and most of ...
0
votes
0
answers
9
views
How to reduce the vertical size of the header in the Hostinger AI WP Theme [closed]
How do I reduce the vertical size of the header in this Hostinger AI theme?
https://darkorange-raccoon-907852.hostingersite.com/
I want the "Latest from The 10% Experiment" just below the ...
0
votes
0
answers
14
views
SSR for Cart Content [closed]
Are there any option or hack to show initial cart content without reactjs? I mean the products and total sum blocks, no need to be full page. Those elements are generated after page load, which is ...
0
votes
1
answer
16
views
interactivity API cannot execute getContext()
I am trying out iAPI with help of ChatGPT AI and Claude AI but stuck with getContext() function.
As soon as I use getContext() in action, it will fail.
debug.js?ver=619affca133d04fbead9:81
Uncaught ...
0
votes
0
answers
13
views
Book Now button works on page 1 but not on paginated search results (Traveler WP – grid.php vs grid-2.php) [closed]
I’m using the Traveler WP theme by Shine Themes. I added a Book Now button to each tour card that opens a TicketingHub popup widget. On all normal listings and on page 1 of search results, the popup ...
0
votes
0
answers
22
views
do_shortcode Escaping
Please tell me how to escape the widget shortcode.
There is a function:
if (!function_exists('foo_do_shortcode')) {
function foo_do_shortcode($name, $attrs = array()) {
$special_chars = ...
0
votes
0
answers
27
views
How to disable formatting for a specific block variation
Currently using the Block bindings API with some custom paragraph block Variations, and I'm wanting to disable RichText formatting for just those variations.
I know I can use unregisterFormatType ...
0
votes
1
answer
16
views
How can I change the background color of the built-in navigation modal of WordPress Full Site Editing
I'm using twnentytwentyfive with FSE and I want the modal that comes up on mobile when you click the hamburger icon to have a different background color from the rest of the site (in my case site is ...
0
votes
1
answer
41
views
WordPress adding <br> tag after first <p> in existing text blocks
When editing an existing page or post, WordPress keeps adding a <br/> tag after the first <p> in a Text Block upon opening, but only if the <p> doesn't contain any additional ...
0
votes
2
answers
25
views
Is sanitize_file_name() broken?
On an input form, I have a select element. The select element is pre-populated with NN options. The options are built by scanning a given directory for files matching custom-*.min.css, thus returning ...
0
votes
0
answers
19
views
I need help making the book now button on page 2, and onward show the popup [closed]
I use travler wp by shine themes and their theme is good for tours the test site is experiences.reimagine.link
Please contact me the info is on the website
In objective to get more bookings, I had ...
0
votes
0
answers
25
views
Why do Flickr images embedded into WordPress posts via custom HTML blocks display for some readers but not others? [closed]
I had to stop using WordPress's native image handling because I quickly exceeded the space they provide. So, I started embedding images from Flickr with the "Flickr embed" block, instead, ...
0
votes
0
answers
40
views
Exclude specific DIV ID from WordPress search results without plugin
For example, in a WordPress content has the following text and Div element.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type ...
0
votes
1
answer
15
views
Is there a way to modify the list items returned in the Appearance > Menus "Add menu items" form/box?
When searching for pages to add to the menus in the Appearance > Menus section of WordPress, users are unable to differentiate pages that have the same title. For example, searching for "news&...
0
votes
1
answer
15
views
Details Block Missing from Inserter
The Details block, a totally standard block type in WordPress, is missing from my inserter for some reason.
I've tried disabling all my plugins, switching to a default theme, clearing cache, etc. It ...
0
votes
1
answer
16
views
How to highlight post in Custom Wordpress?
I would like to highlight a featured post above all other posts.
I didn’t see the “Stick this post to the front page” option in my Publish > Visibility section. Maybe it’s because I am using a ...
0
votes
2
answers
140
views
How to properly fetch attachment meta fields in a WordPress block when using MediaUpload?
I'm building a custom Gutenberg block that displays a gallery of images. Each image has a custom attachment meta field called _oembed_url, which stores an external video URL (e.g. YouTube or Vimeo). ...
1
vote
1
answer
70
views
Wordpress-login crashes permanently :: Login fails because PHP's `password_hash()` cannot generate a salt
good day dear
see the newest: update: on november, 7th well i still struggle with the login-it does not work!!!
what is needed: we need to have good compile configuration for PHP 8.2 or 8.3 correct ...
1
vote
0
answers
36
views
How to programmatically create a page without WP post type or custom post type? Just build out with data from various tables based on URL query
I have a process which creates invoices and store in a table wdcm_invoices. Another process takes the data and output HTML format and URL as https://inv.com/billing/richard-invoice-2036/ the digits ...
0
votes
2
answers
55
views
How to migrate a PHP 7 based site for which we have no server access? [closed]
We have a WordPress site hosted by a third-party provider who has gone completely unresponsive. It is running on an old version of PHP (7.4.33). We were never provided access to FTP/SFTP, phpMyAdmin, ...
1
vote
0
answers
35
views
Using ACF fields from a Gutenberg block in a load more function [closed]
I have been trying every which way to make my 'load more' work with ACF fields. I have a complex query that works correctly, but I need a 'load more' added. This is where I am. I can load more, but ...
2
votes
1
answer
33
views
Customized WordPress search URL to same post and search results
We used the following code, If search correct post name or URL (panda) in WordPress search box, users redirect to the same post like https://example.com/panda/. It's well.
While search wrong keyword, ...
0
votes
1
answer
24
views
Block publish if a category and subcategory haven't been selected
I'm trying to block publishing if a category and subcategory (that belongs to the the parent category) are not selected (uncategorized does not need a subcategory). The publish button should remain ...
0
votes
0
answers
36
views
How to setup a listing inside a listing with the correct context (Bricks and JetEngine) [closed]
I have a listing displaying data from a CCT called “atri_mob” in a single page of a CPT “listas”. It works based on a query that pulls all of the atri_mob CCTs related to the current CPT via a ...
0
votes
0
answers
30
views
Put to image file
I have to do Gutenberg block which contain static image.
So, I have written $image = plugin_dir_url(__FILE__) . 'images/montain.webp';
But I have output: src="http://localhost:8888/wp-content/...
0
votes
0
answers
29
views
How to Processs Form Data sent from Custom Settings Page in Admin Dashboard
:edit:
To clarify what I'm trying to do: I need access to form data submitted to options.php so that I can preprocess it into a specific data format. Then, depending on one of the fields, I either ...
0
votes
0
answers
24
views
The page jumps to top back when you scroll down, if paragraph block is selected in custom child block
Need a little help to solve the behavior issue.
I’ve developed two custom Gutenberg blocks — a parent block and a child block. When a user clicks a paragraph block inside the custom child block and ...
0
votes
0
answers
21
views
move a custom taxonomy from the right sidebar of the post edit page to the central space
I have this code but it doesn't do the desired work. Besides it makes disappear all the custom boxes I have in the center of the post edit page) I want to shift the custom taxonomy in the center of ...
0
votes
1
answer
28
views
Make this navigation bar link exclusively to posts within the same category using the URL structure already provided
<div class="nav-previous">
<?php
$previous_post = get_previous_post(true, '', 'category');
if (!empty($previous_post)): ?>
<a href="/southlake/?oldest">«</a>...
0
votes
1
answer
27
views
Put Page Under Custom Post Type Slug
I have a Custom post type called 'books'. All 'books' have a slug of /books/{post slug} and i've initiated the CPT with this code:
function create_books_custom_post_type() {
$labels = array(
'...
0
votes
1
answer
37
views
Make navigation in single.php only link to posts within the same category as the post being viewed? [duplicate]
Please look at the navigation bar on this webcomic website before responding to understand the objective.
I have navigation set up in single.php to be laid out in the standard way for webcomic ...
0
votes
1
answer
29
views
wordpress twenty twenty five portfolio updating one image updates other columns images [closed]
I am creating a blog and I added a portfolio page to my wordpress blog.
But it is mysterious when I add a image to a column, it updates other two columns also. is it possible to overcome this?
Before
...
0
votes
0
answers
12
views
How to style Forminator's TinyMCE textarea field?
The editor's body has .mce-content-body class and is within an <iframe>. Custom CSS option doesn't work as that's not injected into the <iframe>. I don't see any other way that exists to ...
0
votes
1
answer
35
views
Getting data out of response from REST API in javascript
I am working on a Gutenberg block and am modifying the Edit.js file. I want to fetch the root categories in the database. From the reading I have done, it seems a good way to do this is to use the ...
0
votes
0
answers
13
views
WooCommerce + WPML: Bundle price resets to 0 when switching languages
I’m running a multilingual WooCommerce store using WordPress with WPML and WooCommerce, and I’m facing a persistent problem with bundle product pricing when switching languages.
Setup
WordPress: 6.8....
3
votes
2
answers
150
views
Show exact search results and include post comments?
I'm resurrecting two older Q&As in this question to ask: is it possible to show exact search results which includes comments? Without any plugins?
This function is from an older Q&A Incude ...
0
votes
0
answers
56
views
Starter Templates not loading or freezing during import – WordPress + Elementor PRO + Astra
I’m reaching out for advice regarding a persistent issue with importing templates via the Starter Templates plugin in WordPress.
This problem has been ongoing for over two weeks, and despite multiple ...
1
vote
1
answer
48
views
How do I use fields => ids in an array with WP Query?
In my example below, when using fields => ids https://developer.wordpress.org/reference/classes/wp_query/#return-fields-parameter to get an array of post IDs, why does var_dump($args->posts) ...
0
votes
0
answers
23
views
WordPress Multi-Network, wildcard subdomains returning 404 after custom .htaccess rewrite
using Ubuntu + Hestia control panel (wildcard for subdomains "*.mydomain.com"
In a WordPress Multi-Network (MultiSite inside MultiNetwork with WP Multi Networks plugin) setup,
Each network ...
0
votes
2
answers
30
views
Validating form data register_setting
I defined a setting:
function mypluginblock_browsers_init() {
add_settings_section( 'mypluginblock_browsers', '', '', 'mypluginblock_browsers' );
add_settings_field( 'mypluginblock_browsers', ...
0
votes
1
answer
32
views
After upgrading php 7.4 to 8.3 a selector of my custom search-box doesnt work correctly [closed]
My search box is composed by various selector, if I dont use the selector of the "distance from the sea" I have no results, if I use it, also the other selectors work and I get results. It ...
0
votes
1
answer
47
views
How can I set up WordPress with files in docroot but with apparent directory in URL?
The problem
I have a client site example.com that historically has had WordPress served from https://www.example.com/web/ and a non-WP forum at https://www.example.com/forum/
For performance reasons ...
0
votes
0
answers
29
views
How do I update a WP_Post
The following code shows all post titles. Lets say I change the post_tile and the post_content.
How do I save it? Class WP_Post does not have a save/update method and wp_update_post() wants a '...
0
votes
1
answer
37
views
Disabling Plugin while awaiting a security update
I've read that insecure plugins can still present vulnerabilities, even when disabled, and that it's recommended to completely remove them. However, if a plugin has a security vulnerability, what is ...
1
vote
0
answers
41
views
How to chill out Wordpress ajax requests? (Rate limiting)
How can I configure wordpress to stop spamming my server with ajax calls when I'm editing an article?
Note: this question is about rate limiting my client, not setting rate limits on the server. I'm ...