Skip to main content

Unanswered Questions

2,225 questions with no answers
6 votes
0 answers
636 views

How to load paginated post pages via ajax

Here's the case I got: I've setup post pagination for my website and everything works well. Except one thing - on every new page request all the resources are loaded again. This makes the website ...
3 votes
0 answers
394 views

How to fix wrong attribute error for Visual Composer Grid Builder?

Hello I am facing this issue in editing media grid layout of Visual Composer V6.2.2. Below is the error I am getting Fatal error: Uncaught Exception: Wrong attribute for 'vc_single_image' shortcode. ...
3 votes
0 answers
572 views

Solve cors problem using rest api or ajax

I'm building an app with nuxt using WP as a CMS, so I have this code in my functions.php to allow any origin (temporary) using the rest api and admin-ajax urls function add_cors_http_header(){ // ...
3 votes
0 answers
1k views

Is it possible to intercept all ajax requests and get the parameters and the returns?

Is there any hook that always goes through it, where I can see all the requests, and also the returns after the "action" that is executed? I need to intercept all requests, including requests from ...
3 votes
0 answers
78 views

How to find out what blocks are added by a plugin

I am creating a plugin, which adds a number of blocks defined by JS/PHP as per Gutenberg documentation. I want to display these block names on an admin page. Is there a hook or function I can use ...
3 votes
0 answers
50 views

Yoast SEO blocking/re-initialising longer running process

I have created a custom plugin, the job of which is to calls an external API to fetch data and fill in some custom tables in WordPress database. This is really a long-running process (maybe over 30 ...
3 votes
0 answers
479 views

Install plugin remotely

I have seen a couple services ( ManageWP, BlogVault ) where we supply them with the admin login details to our WordPress site and they programmatically install their respective plugin and then connect ...
3 votes
0 answers
608 views

Plugin could not be activated because it triggered a fatal error. (No Error??)

I am having the error while trying to activate a plugin. "Plugin could not be activated because it triggered a fatal error." I set WP_DEBUG true from wp-config.php file, but there is no other ...
3 votes
0 answers
259 views

allow arabic letters when register new account

How can allow arabic letters when register new account ? i don't need to lose any security. If any of us, Arabs, want to register in any wordpress blogs we have to use English letters in “username” ...
3 votes
0 answers
162 views

How can I rewrite a plugin generated URL?

I'm using the wpForo plugin to create custom profile pages on the front end of my website. The profile URLs generated by the wpForo plugin look like this: example.com/community/profile/username/ ...
3 votes
0 answers
86 views

Custom values are not translated

I'm trying to translate my plugin. Inside plugin's root folder I have 'inc' folder, where located registration.php file. This file has a code, which adds custom fields to comment form. (I use right ...
3 votes
0 answers
182 views

WP REST API route request explain

Maybe can someone explain or show additional info about "WP REST API route request" from beginning to the end. Main questions, how handle this request in most earlier stage. For example for ajax ...
3 votes
0 answers
1k views

Setting TinyMCE Content in wp_editor

I am currently coding on front-end editing in wordpress. The outcome should be evernote-like editing using wordpress posts. The Wordpress database stores markup without paragraphs and adds them on ...
3 votes
0 answers
446 views

How should I handle errors within a plugin?

Building my first serious attempt of a Wordpress plugin. I'm not sure how I should handle errors. I really just want to give the user some kind of message that the variable is wrong instead of ...
3 votes
0 answers
325 views

Cannot update my options using wp_ajax

I have implemented wp_ajax in on my options page but the value of my options are not getting saved or updated. Here is my form: public function email_settings_form(){ // Set class property $...

15 30 50 per page
1
2 3 4 5
149