482 questions
0
votes
0
answers
22
views
managing different folder structures between development and deployment in a WordPress plugin
I have developed a WordPress plugin that is now live on the WordPress Plugin Directory. However, I'm facing an issue with managing different folder structures between my development environment and ...
1
vote
0
answers
46
views
Edit Link Still Appears for Hidden Pages on Frontend for Non-Super Admins
I'm having trouble preventing the edit page link from appearing in the admin bar on the frontend when non-super admin users view hidden pages. I have several functions that are supposed to remove the ...
0
votes
0
answers
18
views
Unable to import WXR via PHP on plugin activation
I'm setting up a large collection of sites for my non-profits chapters. They all need to start with a bit of boilerplate content and I'm hoping to automate the import process. However, I can't for the ...
0
votes
0
answers
44
views
PHP: Wordpress plugin - I want to create Google calendar event into specific shared google calendar
I wanted to create wordpress plugin for our music orchestra. In that wp plugin i wanted to be able to easily add event to google calendar. We use 1 shared google calendar. I have read some posts here ...
0
votes
0
answers
24
views
WordPress get_plugin_updates missing manual updates
We are using WordPress 6.7.1, I have created a plugin which checks if there are updates pending, so we can monitor this overall WordPress websites.
But for some reason I can't get all the plugin ...
0
votes
0
answers
35
views
add_filter() conflicts with add_action()
My code is likely not great and I'm sure you are all gonna say what the functions do is the wrong way to do it... If so, that is a separate conversation... That is a conversation I would be interested ...
0
votes
1
answer
38
views
in wordpress how to use classes from plugins
i have 3 party plugin for example google-calendar-events
Inside there is include_once 'includes/main.php';
add_action('init', [$this, 'init'], 5);
So I understand that this class is in globalnamespace ...
1
vote
0
answers
37
views
Confluence API integration on wordpress site
We're trying to fetch Confluence page content on a WordPress site using the Confluence API. The API returns a response when tested via Postman, but it doesn't work on the WordPress page.
I've created ...
0
votes
0
answers
38
views
Add new suscriber with Mailster but no is added into data base
I've created a custom WordPress theme and I'm working with Mailster plugin.
According to the documentation if you want to add a new subscriber then you can add to the Mailter list which you've created ...
0
votes
0
answers
48
views
DataTables 2.0 in Wordpress Plugin Admin Area
I would like to implement DataTables2 in my WordPress plugin. I started from test table to check if it works:
<?php
/*
Plugin Name: WooSKU Updater
Description: A plugin to manage SKUs, quantities, ...
0
votes
0
answers
23
views
tn3 gallery within web page called by API into WordPress site not working
I am creating a custom WordPress plugin where a API call is made to display a web page in the WordPress site. The web page called by API has a image gallery made with tn3 gallery, which does not ...
0
votes
2
answers
84
views
wp_remote_get() not working after replacing file_get_contents() function
I'm trying to replace file_get_contents() function by wp_remote_get() function, so my program works perfectly with file_get_contents(), but when I replace it with wp_remote_get() it's not working any ...
0
votes
0
answers
123
views
WordPress Plugin Text Domain Not Loading for Translations
I am developing a custom WordPress plugin called netpeak-seo and I'm encountering issues with loading the text domain for translations. Despite following the correct structure and ensuring that the ....
0
votes
0
answers
41
views
How to handle .htaccess restrictions during plugin installation on Bitnami when .htaccess is disabled?
I have a WordPress plugin that creates folder structures and places an .htaccess file inside these folders to restrict access. This works perfectly in typical WordPress setups, but I’m facing an issue ...
1
vote
1
answer
96
views
Custom page template from plugin does not work with pre-installed themes in WordPress 2024
So I have a simple Wordpress plugin that just allows me to use custom page templates. Here's the code:
my-special-template.php
<?php
/**
* Plugin Name: My Special Template
* Description: Awesome ...