Newest Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

I'm building a WordPress Jalali Date module that converts WooCommerce + Dokan dashboard date fields from the default Gregorian datepicker to a custom Jalali (Shamsi) datepicker. I need to replace ...
Peyman Mohamadpour's user avatar
0 votes
1 answer
20 views

I am trying to disable clicks on featured image — findings show I have to force it to img tag as it's currently set as background. Also, I want to set alt to post title. It currently showing "...
Afeez's user avatar
  • 1
0 votes
1 answer
16 views

So this is about the Navigation block in FSE themes like Twenty Twentyfive (the theme I'm using right now). What I want is to add styles to the submenu that pops up when you hover/click on a menu item ...
jerclarke's user avatar
  • 3,113
1 vote
1 answer
37 views

I'm trying to add a column to the post list for my custom post type, boardgame. I know the post_type is boardgame because that shows when I show All Board Games in the left nav /wp-admin/edit.php?...
commadelimited's user avatar
0 votes
0 answers
18 views

If the user adds a product that is only visible via searching or fully hidden to their cart, they're unable to click its name to go to its single product page, as you would with other products. Is ...
Günther Steinmeier's user avatar
0 votes
0 answers
15 views

I'm building a custom WordPress Gutenberg block and want to define an attribute in block.json that is an array, but whose items must be one of three allowed strings (“A”, “B”, “C”), and with a maximum ...
Hans Spieß's user avatar
0 votes
1 answer
33 views

This code is placed in the mu-plugins directory: function disable_plugin_on_non_woocommerce_frontend( $plugins ) { // is frontend page not part of WooCommerce if ( ! is_woocommerce() &&...
Andy's user avatar
  • 227
0 votes
1 answer
25 views

I have a website on WordPress, we recently rebranded the website with Avada website builder, but I can't figure out how to get rid of the old links. They have nothing on them, it just says page not ...
Hayley's user avatar
  • 1
0 votes
2 answers
35 views

I am new to WordPress and created my first website this week, replacing one created years ago. I need to build another one for an entirely different domain, these are 2 clubs I belong to with no ...
Janice's user avatar
  • 1
0 votes
0 answers
14 views

My WordPress site loads very fast on my laptop and local environment, but some users report slow loading and layout shifts on their mobile devices. Here is my live site for reference: https://...
Aashir Jamil's user avatar
0 votes
0 answers
61 views

I have a properties wordpress site, with about 160,000 properties .. the database has over 8,000,000 records more than 7,000,000 are in postmeta table only.. the site runs on a superb server 64 GBs ...
user avatar
1 vote
0 answers
20 views

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 (...
jerclarke's user avatar
  • 3,113
0 votes
1 answer
17 views

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 ...
Edmunds Priede's user avatar
0 votes
0 answers
29 views

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 = ...
ams team's user avatar
0 votes
0 answers
32 views

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 ...
MediaFormat's user avatar
0 votes
1 answer
19 views

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 ...
jerclarke's user avatar
  • 3,113
0 votes
1 answer
42 views

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 ...
John C's user avatar
  • 1
0 votes
2 answers
26 views

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 ...
joho's user avatar
  • 63
0 votes
0 answers
40 views

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 ...
Geovanny Okuneva's user avatar
0 votes
1 answer
19 views

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&...
whatifthis's user avatar
0 votes
1 answer
16 views

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 ...
cfrydlewicz's user avatar
0 votes
1 answer
16 views

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 ...
user270563's user avatar
0 votes
2 answers
143 views

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). ...
leemon's user avatar
  • 2,048
1 vote
1 answer
73 views

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 ...
zero's user avatar
  • 30
1 vote
1 answer
48 views

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 ...
Nadal's user avatar
  • 99
0 votes
2 answers
57 views

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, ...
user32882's user avatar
  • 101
1 vote
0 answers
40 views

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 ...
Ruth's user avatar
  • 21
2 votes
1 answer
34 views

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, ...
Geovanny Okuneva's user avatar
0 votes
1 answer
24 views

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 ...
user18102663's user avatar
0 votes
0 answers
30 views

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/...
ilya arakchiev's user avatar
0 votes
0 answers
30 views

: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 ...
Varstraypl's user avatar
0 votes
0 answers
25 views

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 ...
dvaansiseelr's user avatar
0 votes
0 answers
23 views

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 ...
Andrea Sacconi's user avatar
0 votes
1 answer
28 views

<div class="nav-previous"> <?php $previous_post = get_previous_post(true, '', 'category'); if (!empty($previous_post)): ?> <a href="/southlake/?oldest">«</a>...
mysterymachine's user avatar
0 votes
1 answer
29 views

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( '...
NotaGuruAtAll's user avatar
0 votes
1 answer
38 views

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 ...
mysterymachine's user avatar
0 votes
1 answer
29 views

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 ...
user3103982's user avatar
0 votes
0 answers
12 views

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 ...
Destroy666's user avatar
0 votes
1 answer
35 views

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 ...
Timothy Paustian's user avatar
0 votes
0 answers
14 views

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....
osama seyam's user avatar
3 votes
2 answers
151 views

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 ...
BlueDogRanch's user avatar
0 votes
0 answers
64 views

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 ...
Pavel Kurušta's user avatar
1 vote
1 answer
49 views

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) ...
BlueDogRanch's user avatar
0 votes
0 answers
24 views

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 ...
James's user avatar
  • 1
0 votes
2 answers
30 views

I defined a setting: function mypluginblock_browsers_init() { add_settings_section( 'mypluginblock_browsers', '', '', 'mypluginblock_browsers' ); add_settings_field( 'mypluginblock_browsers', ...
pehu's user avatar
  • 23
0 votes
1 answer
33 views

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 ...
Andrea Sacconi's user avatar
0 votes
1 answer
48 views

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 ...
Andy Macaulay-Brook's user avatar
0 votes
0 answers
29 views

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 '...
rhavin's user avatar
  • 119
0 votes
1 answer
37 views

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 ...
Dave Thompson's user avatar
1 vote
0 answers
48 views

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 ...
Michael Altfield's user avatar

15 30 50 per page
1
2 3 4 5
2329