Newest Questions

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

REST API not accessible if 'WordPress Address' and 'Site Address' are different?

In normal use, I would like 'WordPress Address' to be https://example.com/wordpress, and 'Site Address' to be https://example.com (in other words, the site is visible at example.com, but is actually ...
EML's user avatar
  • 161
1 vote
0 answers
52 views

Cron task for creating a file of bookings.ics

I need to setup a cron task in order to generate a list of bookings.ics from my Bookings Calendar plugin. My function which is located inside my functions.php is this one. It is processing my bookings ...
Oris Sin's user avatar
  • 113
0 votes
1 answer
72 views

Gutenberg Blocks: Data Validation Issues using `dangerouslySetInnerHTML`

I'm curious about best practices when it comes to an issue like this. (Also keep in mind that I am re-learning block development after being away for close to a year.) So I have a custom block that ...
Ebonie Butler's user avatar
1 vote
1 answer
88 views

How to get list of ALL tables in the database?

This is strange. I know about $wpdb->table(). But it doesn't seem to show a table that I know "should" exist. I have the Profile Extra Fields plugin installed and activated. I used it to ...
sootsnoot's user avatar
  • 135
0 votes
0 answers
45 views

How to detect YouTube iframe tag in a specific WordPress post

I have multiple posts on WordPress blog. Some of them contains a YouTube video, while some not. How can I detect (query) YouTube iframe tag so I display a text like "Contains video fix" ...
KA.MVP's user avatar
  • 3
0 votes
1 answer
48 views

shell_exec returns string with "238" removed?

I'm using shell_exec() in functions.php to get a string from shell script which gets the actual page ids from WP database. The shell script (shortended): #!/bin/bash liste="" for title in \ ...
ridgy's user avatar
  • 101
0 votes
0 answers
21 views

Why does wpcf7_mail_sent not detect logged-in user context in WordPress?

I'm using Contact Form 7 and hooking into the wpcf7_mail_sent action to handle form submissions. When logged-in users submit the form, I expect to access their login state via is_user_logged_in() and ...
Sanjay Goswami's user avatar
0 votes
1 answer
26 views

Tribe styles won't unregister

This just flat out isn't working for The Events Calendar and it should. (Works with all other plugins once the style handles have been figured out). add_filter( 'wp_enqueue_scripts', function() { ...
user23718181's user avatar
0 votes
0 answers
8 views

CubeWP Custom fields does not showing on my single past frontend page

I have CubeWP installed with several custom fields configured. However, I mistakenly deleted some of the custom fields and then recreated them. Currently, the fields appear correctly on the “Add New ...
Hamza Nazir's user avatar
1 vote
0 answers
14 views

wp-cron events stopped working and are showing next run in the past

I am using godaddy's managed hosting for wordpress. Haven't had any issues until about 5 days ago. If I recall that day, all I did was to change the timezone of the wordpress site to UTC-6 and add a ...
applemelon123's user avatar
0 votes
1 answer
47 views

Display content based on multiple URL parameters—pretty URL or query string

I am building some frontend forms so that users can manage some data held in custom post types. I would like to minimize the number of pages and templates I need to create to display the correct forms ...
nickfindley's user avatar
1 vote
0 answers
48 views

How to extend admin search in WP edit page using either post id or custom fields?

I want to be able to search for posts (or cpt's) using either post id's or custom fields within the edit page in the dashboard. As of right now, I'm able to search using the post id, this is how: ...
alex's user avatar
  • 11
0 votes
0 answers
35 views

this JavaScript conceived in order to save time with data savings is not working, why?

I put these 2 blocks of code in functions.php but they broke the site add_action('admin_enqueue_scripts', 'save_custom_fields'); jQuery(document).on('change', '#function_sconto', function() { var data ...
Andrea Sacconi's user avatar
0 votes
1 answer
41 views

Add a trailing slash at the end of the category URLs

Is there a way to add a trailing slash at the end of the category URLs in WordPress? My permalink setting is set like https://example.org/2025/07/sample-post/ this. But it does not add a trailing ...
Mrinmoy Mondal's user avatar
0 votes
0 answers
22 views

How can I set default attributes for newly inserted blocks without impacting existing blocks?

Sample use case: When a user inserts a single new Group Block, I want it to be given a light-gray background to start. I do not want to impact any existing Groups on the website (hence why using block'...
MadtownLems's user avatar

15 30 50 per page
1
3 4
5
6 7
7761