Newest Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
22 views

RankMath and custom user roles

I have created a custom user-role "developer" with the capabilities similar to "administrator". I made sure "developer" has a capability "manage_options". ...
UnlikeCoder's user avatar
0 votes
0 answers
17 views

How do i fix the following fatal error?

Fatal error: Uncaught ArgumentCountError: Too few arguments to function update_user_meta(), 2 passed in /www/wp-content/plugins/custom-user-registration-fields-tutor-lms/tutor-lms-custom-user-...
Luke's user avatar
  • 1
0 votes
0 answers
15 views

Why does psql work when called from shell, but not when included in a plugin PHP file?

I have the following php file in /wp-content/plugins/[my-plugin]/ test_db.php <?php echo phpversion(), PHP_EOL; echo '<br />', PHP_EOL; echo shell_exec('pwd'), PHP_EOL; echo '<br />', ...
hyp3rg3om3tric's user avatar
0 votes
0 answers
28 views

How to replace date() with gmdate() in this context?

$time = date( 'Y/m/d H:i:s', time() + ( get_option( 'gmt_offset' ) * 3600 ) ); Since this is already solving the "gm" problem, I imagine simply swapping out date() with gmdate() would be ...
WPdummy's user avatar
  • 23
0 votes
1 answer
23 views

Implement a webhook endpoint into a plugin

We manage a catalogue website, that displays objects the client manages in a 3th party application. The objects in the catalog are a CPT, created and updated via the API from the 3th party application....
mbs's user avatar
  • 1
1 vote
1 answer
181 views

how to make the link of comment section "nofollow" safely?

I have a general question that is not dependent on the theme of the WordPress site (as I think). Here is the code of the comments.php file in my theme folder: <?php /** * The template for ...
hamid-davodi's user avatar
0 votes
0 answers
22 views

Wordpress pages not saving [closed]

I setup wordpress using ispconfig. After I set it up, I was having problems with things not updating and asking for an ftp. I fixed it by adding a line to a file that forced it to use something else. ...
Gio T's user avatar
  • 1
0 votes
0 answers
25 views

Wordpress Archive: 2025 monthly pages don't work (but for 2024 they do) - What can I do?

On my Wordpress blog (self-hosted/not on wordpress.com, Wordpress 6.8.2 using the Neve theme), I use the standard archive widget that serves as a jump off point to posts from a specific month. 2024 ...
IronGoofy's user avatar
  • 125
0 votes
0 answers
20 views

Make SelectControl full width

What is the best way to force <SelectControl> component to take the whole 100% of sidebar width, when using this component for custom blocks or extending the sidebar features? I can probably do ...
Tahi Reu's user avatar
  • 308
-1 votes
1 answer
48 views

Wordpress shortcode JSON content has the quotes replaced by curly ones [closed]

I am trying to pass JSON content in a shortcode. But the double/single quotes are getting replaced by corresponding curly quotes. The result string cannot be decoded by json_decode for syntax error. ...
sariDon's user avatar
  • 273
0 votes
0 answers
32 views

How can I make the fonts and design on my WordPress site "Search Engine Realm" look consistent across all devices? [closed]

Hi WordPress Community, I run a blog website called Search Engine Realm, and I’ve noticed that the fonts and layout look slightly different on different devices and browsers. For example, the headings ...
Search Engine Realm's user avatar
0 votes
1 answer
33 views

Can't login to wordpress.org [closed]

I'd like to login to the wordpress.org forums. After I enter my username and password, I'm asked for either a security key or passkey. I have no security key, and if I scan the passkey QR code, my ...
Steve's user avatar
  • 1,777
1 vote
1 answer
63 views

DB table creation on reactivation - dbDelta errors on CONSTRAINTS

I'm working on a plugin and have an activation hook that creates several tables using dbDelta. The tables all get created without any errors or issues. Several of the tables have foreign key ...
Jesse Williams's user avatar
0 votes
0 answers
34 views

Block contains unexpected or invalid content. Attempt recovery

All the relevant files in a dynamic block are provided, but I could noyt get rid of block recovery error, Help will be appreciated. Here is block.json — { "$schema": "https://...
WordCent's user avatar
  • 1,964
0 votes
0 answers
18 views

WooCommerce Stripe test mode order stuck at processing [closed]

I am selling digital product, (set as virtual , non downloadable). I am using Stripe in test mode currently. When I make an order with card, the order remains at processing. WooCommerce should ...
Toniq's user avatar
  • 447

15 30 50 per page
1
2 3 4 5
7761