Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugins]

Plugins are tools to extend the functionality of WordPress. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

1
vote
0answers
18 views

Making sure that a plugin's scripts and stylesheets are included for dynamicaly loaded content

I'm currently making a theme that uses admin-ajax.php to dynamicaly load pages and posts. Some of this content uses plugins like final tiles gallery and Video Embed & Thumbnail Generator. If ...
1
vote
0answers
149 views

correct way to include a library(and its dependent libraries) in wordpress development

I am trying to create a wordpress plugin using reactjs. I am facing an issue when I try to include a external library(react-image-lighbox) using wp_enqueue_script. what is the correct way to include a ...
1
vote
0answers
525 views

Filtering WooCommerce Orders by Category

I am using WooCommerce as an ordering system online. I will be having many categories for each products. How can I allow the admin or the shop manager to filter the orders page by product category? ...
1
vote
0answers
47 views

How to make a implement queue for scheduling tasks in WordPress?

Is it possible to implement some queuing mechanism for task scheduling? In my plugin, I want to run a task triggered by cron for 5 seconds and if not complete, save the state and call another Async ...
1
vote
0answers
399 views

Session destroyed on page redirect

I am developing a plugin where I have started a session on init hook. I have a form which when submit calls a function which uses SDK (i.e payment is handled here). If this function returns FALSE ...
1
vote
0answers
1k views

Fatal error: Call to undefined function cmsms_theme_page_layout_scheme()

I am using a modified version of the Social Activity theme from CMS Masters, and was trying to change the hardcoded versioning of the stylesheet in the header in order to reflect CSS changes I made. ...
1
vote
0answers
241 views

WooCommerce Dynamic Cart Pricing

I needed to calculate the price of a typeface based on the 3 different licence values selected. I couldn't find a way of doing this with variations unless I created a variation for each possible ...
1
vote
0answers
35 views

Redirecting thousands of posts that currently have no category in their permalink when changing permalink structure to include category

Currently I don't have categories or anything else in my URLs, posts are just: www.domain.com/%postname%/ I am updating my permalink structure to include the category though (actually a category ...
1
vote
0answers
17 views

Submit page limited in time to upload image

I’m not sure where to ask this and where to start to search for this kind of information. Excuses in advance if this is not the right place. I’m now the admin of a site done with Wordpress for and ...
1
vote
0answers
25 views

Deactivating all plugins and reactivating one by one, fixes conflicts. Why?

I was experiencing some Javascript errors thrown in Google Chrome debug console, so I have deactivated all plugins and then re-enabled them one by one. No more errors! How can it be that following ...
1
vote
0answers
470 views

Metabox not show in categories custom post type cmb2

it is possible to add a field in the categories (tags) in taxonomy? this is my code in functions.php function post_types(){ register_post_type('products',array( 'labels' =&...
1
vote
0answers
623 views

Why “Call to a member function on a non-object” in plugin only?

I am embarking on converting my PHP script, which calls a news search API to pull down news stories, in to a WordPress plugin. It's early days, I only really have the plugin header so far. I will ...
1
vote
0answers
59 views

Bulk edit WP posts to update embeded images with new alt tags

I have a client site that has approx. 2000 posts, most with 2-3 images embedded. Recently we've gone through the media gallery and given all the images proper meta data, clean titles, descriptions, ...
1
vote
0answers
103 views

Wordpress wp-admin/network/plugin-install

I am having issues that seem to be related to trying to change a multisite installation to use www. The site was initially setup without the www. I added code to .htaccess to redirect all urls to ...
1
vote
0answers
19 views

Plugin dropping pagination variable

I'm having problem with a plugin. In the plugin, I noticed the url string switches after the page load and the '&paged=#' disappears. For example: On page load: http://www.domain.com/wp-admin/...
1
vote
0answers
1k views

How to pull email and name from Flamingo plugin

I am trying to pull the name and email from the database and show on the front end of my website. I tried many scripts and looked on the flamingo forum as well. But couldnt find a solution. All the ...
1
vote
0answers
35 views

Wordpress plugin/theme or other wayout to create portable pages?

Here is my problem - I have my production server running my wordpress site. I have mirrored the site on my localhost to play around and make updates before I push them to production. Staging process ...
1
vote
0answers
109 views

Insert data from .sql file in wordpress plugin

I'm creating a wordpress plugin that need to create a table and insert location data to that. There are more than 50000 locations in that INSERT query, so that in separate .sql file. I need to run ...
1
vote
0answers
232 views

WP_Async_Task doesn't appear to be running asynchronously

I have copied the code from this example of how to use WP_Async_Task. But with this modification: add_action( 'wp_async_save_post', 'josh_send_to_api' ); function josh_send_to_api( $id ) { ...
1
vote
0answers
171 views

Display Swift Snippets in Wordpress

I want to display swift code in my WordPress site but I have not found any useful plugin. For now I use Crayon Syntax Highlighter but there isn't a theme for the code that make it look like on the ...
1
vote
0answers
482 views

jQuery for custom plugin not working with Divi theme

I'm writing a plugin, and it requires Bootstrap's nav tabs feature. I added Bootstrap to my plugin, and made sure jQuery was enqueued as well. This is how I did it: function added_scripts () { ...
1
vote
0answers
71 views

Why am I getting ( WooCommerce Services could not be installed (Could not create directory.). ) error and how to solve it ?

PayPal by Braintree could not be installed (Could not create directory.). Please install it manually by clicking here. WooCommerce Services could not be installed (Could not create directory.). ...
1
vote
0answers
133 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 ...
1
vote
0answers
30 views

Add comments for template variables

I am writing a small plugin that uses a custom template to render content. The plugin uses extract() to add variables that can be used inside the template. I was wondering if there is a standard for ...
1
vote
0answers
60 views

Plugin developer automated documentation

I have published a plugin which provides a nice extensibility. Now, I want to provide my users an automated PHP Documentation which describes the API Functions, Filters and Actions like this page here:...
1
vote
0answers
135 views

How to replace wordpress default text editor (TinyMCE) with a custom one.

I'm on a project that requires me to replace the WordPress text editor(TinyMCE) with a custom one. I've googled it several times but I've not seen a way to make this happen. Does anyone here have a ...
1
vote
0answers
27 views

Consolidate plugin functionality into a theme

I have several plugins installed into a theme a created. I was wondering if it was possible to integrate the codes from all the plugins into my theme so i can export it as one file. That way if i ...
1
vote
0answers
55 views

Create a multisite network for an existing installation

I have a website with some large number of posts like (75k posts). Till now, i am using a plugin called Main Category As Sub-domain to convert categories into sub-domains. ISSUE - 1 → In recent ...
1
vote
0answers
15 views

All sites themes functions.php have been changed

all of the themes functions.php have been changed for the sites on my web hosting server. Because I couldn't copy it here without making it look ok, the code is here: https://justpaste.it/18emu Is ...
1
vote
0answers
320 views

Bootstrap and Custom CSS in custom plugin are being overwritten by theme

This is my first plugin, and I'm having a real hard time figuring out enqueuing styles/scripts. All the code I wrote for the plugin works great, but I'm having issues with stylesheets and Bootstrap. I ...
1
vote
0answers
660 views

Add multiple attributes to product from php

I'm trying to update a WooCommerce product entry with data from an API, where the values from the API match taxonomy terms I've created in my WordPress site. For most fields this works, but I have ...
1
vote
0answers
218 views

WordPress Widget Not Saving Data

I'm creating a very simple widget with 3 inputs. but whenever I changed the details, it's not getting saved. Below is my code. Please let me know if there any issue. Thanks. class ...
1
vote
0answers
31 views

Homemade plugin while using Themify Ultra

I am using the theme called Themify Ultra for a webproject. Theme can be found here. I want to make a plugin that changed letters to other letters like leetspeak. Here is the code in my plugin that ...
1
vote
0answers
120 views

XML sitemap over product variations

So i have a smaller webshop, that contains a lot of products - and some of those products have variants - like blue, yellow, red and so on. But the thing is that Yoast SEO's sitemap generator only ...
1
vote
0answers
61 views

Product queue for my subscription box

I'm in the process of developing my subscription box and was struggling a bit with the available solutions on the backend of my site. I only send one item (as a start) in my box every month and I ...
1
vote
0answers
20 views

Blog titles from WP blog on plain html site?

My organization has a plain html, actually asp.net website. We recently were required to create a wordpress blog. We host both of these sites ourselves. I have been asked if we could have a dynamic ...
1
vote
0answers
274 views

WordPress + PHP + IIS + PHP Fatal error: require():

After searching the internet, I found people with the same problem, but that could not be solved in a good way. The problem is as follows, a Wordpress (I've also had the problem with Joomla) + IIS 8 + ...
1
vote
0answers
758 views

Ajax fail and get 504 error

Help guys.. COntact form doesnt work and get 504 Gateway Time-out and ajax fail... what can i do?? Although message is sent. I dont know exactly what to do.. Is there anyone with same problem and ...
1
vote
0answers
91 views

Submit form after reCaptcha is solved

I have installed WP plugin for reCaptcha & add it on registration page, everything is OK but it submit the form before reCaptcha is solved. I don't want to mess with WP code and do something ...
1
vote
0answers
30 views

Why do plugins deactivate by themselves?

What are things that can make plugins deactivate by themselves? I sometimes have issues with this and I was wondering what the reasons were.
1
vote
0answers
27 views

remove_section in a plugin

I tried to remove a section of a child theme in a plugin with the following code: $wp_customize->remove_section('rb_aboutyou_section'); but nothing has changed.
1
vote
0answers
125 views

register_taxonomy and variable rewrite slug

I use Wordpress last version. I have a plugin which uses custom slug for posts. Here is the register code : $args = array( 'hierarchical' => true, 'labels' =&...
1
vote
0answers
76 views

“Micro-Site” Options

We are wanting to start offering Micro-Sites as an option to member in a non-commercial environment. Essentially, each user ideally would have one page to customize the content for. Backgrounds and ...
1
vote
0answers
14 views

Want to take Facebook Page posts and turn them into blog post

My client has a Facebook page where he posts all his news. We want to simplify the process of double posting by finding a way that takes Facebook Page posts and turns them into WordPress blog posts. ...
1
vote
0answers
184 views

External Domain on Wordpress Multisite

I have a new wordpress multisite install. I want to point an external domain to a specific site on this install. I'm using the WP mu domain mapping plugin. I'm hosting on Godaddy cpanel. Things I'...
1
vote
0answers
14 views

In the archive widget, how do I sort in between two years?

I want to make custom time periods in my archive widget. Right now it is sorted by month and with plugins I can change it to months and days and stuff, but I don't want that. I want to sort the ...
1
vote
0answers
81 views

Customize permalink wordpress category id

I'm looking to add "ID" for tags And category in the URL permalink. Our link right now is: example.com/lastnews example.com/hashtag/{tagname} We looking to change it to: example.com/{cat-id}/...
1
vote
0answers
537 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 ...
1
vote
0answers
375 views

WP All Import - Execute Imports

After I completed my CODE and finished my site, I now have another problem. I use a plugin called WP All Import to import my products. I want that the different imports are executed by WP All Import ...
1
vote
0answers
57 views

Migrating hosts, 500 errors and plugin issues

This a pretty broad question. I'm migrating from godaddy to a digitalocean droplet, for reasons. I created a backup and uploaded it to my droplet. I spun up the database, modified the wp-config.php ...