WordPress Plugins allow easy modification, customization, and enhancement to a WordPress blog. Instead of changing the core programming of WordPress, you can add functionality with WordPress Plugins.

learn more… | top users | synonyms (1)

0
votes
0answers
19 views

Is there a way to check PHP version on the hosting pre plugin activation? [duplicate]

Our plugin works on PHP 5.3+ only and we are having instances when users install our plugin on PHP 5.2 and receive an unhelpful message like "Parse error: ...". Is there a way to somehow tell ...
0
votes
0answers
13 views

Custom entity search and display

I am developing a custom plugin that adds a new product entity with its own table to the database. I would like to perform custom queries on those products through a custom search form -the classic ...
0
votes
1answer
13 views

Custom plugin for client, release in repository?

There is a business who has approached me and asked for an estimate for a project which involves converting their existing site one-page site into a WP site. Part of the functionality they require ...
0
votes
1answer
11 views

how to display my WordPress plugin on a chosen page?

I'm new to WordPress development and I just can't get my head around rendering the actual html/css contents on my plugin to a page on my WP site. Is there a specific function or so? I'm not talking ...
-1
votes
1answer
11 views

Import a gallery and edit it in admin page?

I want to the import/copy a exact gallery on http://www.skidstahus.se/vara-hus/ to my page and make it editable in the admin page, so I could add new pictures and info. With the gallery I want to ...
0
votes
0answers
7 views

Call a javascript function when setting panel is rendered

i'm trying to create an addon for Visual Composer, but i can't find a callback when the addon settings is added inside the editor. In wordpress plugin I can control the using the function form().
0
votes
1answer
30 views

Accessing GET variable named 'error'

As part of a project I'm required to make a wordpress plugin which integrates with Google for authentication (There are good reasons for developing a new plugin instead of using an existing one). If ...
0
votes
0answers
9 views

Login our site by Wordpress plugin [on hold]

I have a site with login option. First of all, users can register on the site. I want login my site with they login infos in Wordpress plugin. Is it possible? How can I do it?
0
votes
0answers
23 views

Control When a Script Is Loaded

My plugin usually appends my widget to the end of each post as intended, but not consistently, sometimes needing a page refresh. There are two main parts to the plugin: a div, which gets appended to ...
0
votes
0answers
4 views

How can I set a subsection page for a plugin e.g ?page=_&subsection=subsection_page

How can I set a subsection page for a plugin ? I noticed some plugins have 2 settings pages as follows: Main one: options-general.php?page=page Subsection: ...
0
votes
1answer
11 views

Downloading Generated XML File

I'm making a Widget which presents users with categories as drop down list. When user selects category and press download, I want to get all posts under category and download them. I have faced a ...
0
votes
0answers
14 views

Modify request query string before plugins

I have an issue where a plugin allows some behavior I don't like. Basically, I want to grab and modify a request query string before the Ultimate Member plugin processes it. Basically if someone isn't ...
0
votes
0answers
13 views

wpdb->query and non-ASCII characters in given query

recently I'm dealing with wordpress and I find myself running a table creation query in a plugin through the function $wpdb->query (this wpdb class). Everything is fine until I put a non-ASCII ...
0
votes
0answers
8 views

Problems with wp_remote_get only when certain themes are active

I wrote a plugin that uses wp_remote_get to get some data. It works great on certain themes, and other themes it completely breaks down with the following error: Problem with the SSL CA cert (path? ...
0
votes
1answer
12 views

How to add filter for wordpress plugin?

I have a really newbie question, but I'm really new to WordPress development. In the plugin that I'm using is using this filter. if ( true === apply_filters( 'some_custom_filter', false ) ) { ...
0
votes
1answer
21 views

Use functionality in third-party plugin in my own plugin

I'm currently building a WordPress plugin in which I need some functionality that already exists inside of another plugin. I was hoping to find a way to leverage that third-party code in such a way ...
0
votes
0answers
7 views

Create page (inside plugin) that can process data

I need to create a page in wordpress where I can process parameters that are passed in a 'get' request. What steps need to be taken for this to happen
0
votes
1answer
19 views

Add a page in admin without adding menu item

In my plugin I have registered a menu_page; now I need another page. How can I add another page to my plugin without adding another menu item? Is it possible to call it by href?
0
votes
0answers
21 views

Get the post ID only off single page

I will begin by saying that I am skilled PHP developper but brand new to WP. My idea is to make a plugin that increments a value every time a post is seen (I mean the complete "page" that contains ...
0
votes
0answers
27 views

How to create custom frontend php page via plugin

I'm new to wordpress development and was wondering how to create a custom php file (like: mysounds.php) which would use a php file in my plugin directory. So in other words: I create a php file in my ...
0
votes
0answers
7 views

How to create collections that are edited in admin?

I'm not sure what this feature is called, but I've seen examples of this before. Lets say, on my site I want additional collections of things (besides blog posts) that have their own sections in the ...
0
votes
0answers
7 views

plugin first menu name different from first submenu using register_post_type

i made plugin where i had used "register_post_type" to create custom post taxonomy. problem i that my first sub menu is also name of my plugin how can i fix it Below i code add_action( 'init', ...
4
votes
2answers
113 views

Using filters and actions for plugin API?

I want to integrate a public API to a plugin that I develop. The usual way other plugins integrate APIs is to define some functions that can be called by any theme or plugin. However, I think this ...
6
votes
1answer
82 views

Is there a limit on making calls to WordPress.org API's?

I am writing a plugin which makes calls to https://api.wordpress.org/plugins/info/1.0/{slug}.json Is there a limit on making calls to WordPress.org API's? For example once per hour or every 10 ...
0
votes
0answers
11 views

Gravity forms plugins image upload code [closed]

I want to change dpi of an uploaded image before uploading that image and before saving into database.
0
votes
0answers
8 views

wp_tag_cloud based on user id

I am using the wp_tag_cloud, however i want to filter this by the taxonomy and a user id, thus having a user tag cloud, I have seen a few hooks but not had much success. So wanting to keep this on the ...
0
votes
1answer
27 views

Custom Plugin - CSS works, JS doesn't

In the plugin I'm making, I use separate js and css files (____.js, ____.css). This is the first time that I've included an external .js file in anything. I'm registering and enqueueing both in the ...
0
votes
0answers
27 views

How can I add recent posts to menu like mashable

I would like create a mega menu that uses recent posts for hover state. Like When you hover a submenu you get a list of recent post relevant to that menu item like in Mashable. I I would like a menu ...
0
votes
1answer
20 views

Modify users.php page to create page/post on button clicked

I am trying to create a new Column in users.php (Wordpress Users Page) with buttons. Each button, associated with the user, has to create a page or a post (based on my programmatically selection). I ...
0
votes
0answers
9 views

Use one meta box handler at post editor and option page

I made plugin which uses custom database table to store custom form data. All works at option page where is added meta box like this add_meta_box( 'my_form_meta_box', 'My details', ...
-1
votes
2answers
33 views

Method not receiving attributes from shortcode call, general OOP problems

The method OpenMods that you see below, is supposed to take an array generated by an fgetcsv function, and put it into an HTML table. __construct is supposed to, as is typically the case, define the ...
0
votes
1answer
19 views

auto create only 1 wp page in activate custom plugin

I am using this code to auto create a page when I activate my plugin.. function insert_page(){ // Create post object $my_post = array( 'post_title' => 'My post', ...
0
votes
0answers
12 views

export.php override template

Is there a way to override export.php in wordpress core ? The file is under wp-admin/includes. My plugin overrides certain wp functions, not exactly override but just hooks my function and removes ...
0
votes
3answers
68 views

Many plugins making WordPress run slow by design?

So this is what I've read: Many plugins might get WordPress slow if they are activated Many plugins might get WordPress slow even if they are not activated!? An example Let's say I build a large ...
0
votes
1answer
25 views

Workflow for new importer plugin - your advices?

I'm building a new plugin to import Pinterest Pins from a user into Wordpress. It will NOT work using the Pinterest API (which is too limited for what I want to do) and requires the user login and ...
0
votes
1answer
16 views

Change author permalink to external URL

There are several questions here on wordpress.SE that explain how you can change the author slug in the author permalink URL, e.g. from http://your.blog.tld/author/author_slug/ to ...
0
votes
0answers
9 views

Notice: Trying to get property of non-object in WordPress if Debug is TRUE

I am writing a plugin for WordPress. I have created a Class as singleton pattern Class code /* * This I have refered from BuddyPress and trying to learn from it :) */ class AssessmentTest { ...
0
votes
0answers
20 views

admin_post hook error message passing

I've mocked up a quick skeleton plugin, I'm trying to catch the $_POST data from the form template. The best route that I've found is using the hook admin_post, unless there is a better alternative? ...
0
votes
2answers
45 views

WordPress API functions not working at AJAX functions.php call

I am trying to show subcategories of a category in WordPress using AJAX: when I select a main category, there is a call to WP Ajax and the result is used in showing the subcategories. So far, I have ...
0
votes
1answer
18 views

Widget Script Loads at Bottom of Page

I've been working on a plugin that adds a script to the sidebar when activated. So far, I've been able to display the code, but it loads at the bottom of the page and not in the sidebar. I'm pretty ...
0
votes
1answer
20 views

ECHO Executing 4 Times In Head

I have a plugin I created as a test and am running into a bit of trouble. The code is executing 4 times and placing what I echo in the <head> tag of the page. The reason I'm performing an echo ...
0
votes
0answers
16 views

Can I attach the data from one post to another?

I'm looking to create a "snippets" plugin of sorts that lets me create a library of snippets. I then want to be able to attach those snippets to a post but not within the post_content. I basically ...
0
votes
1answer
13 views

Writing editor content to a file

I have a project I'm working on where I need to write the content of the post editor to a physical file on the web server when a post is saved or updated. I'll be parsing and manipulating the content ...
0
votes
1answer
27 views

How do i get all author posts on custom post type list

I am trying to filter a custom post type by some custom fields value and if the posts are by author, query for 2 custom field works but author posts doesn't work. Thanks! add_filter( 'parse_query', ...
0
votes
0answers
27 views

Are there security issues with Visual Composer add ons?

I am developing some add ons for Visual Composer. They are quite client specific so I am not planning to submit the plugin to VC as official add on suggestion. I used this bitbucket code to start ...
3
votes
2answers
137 views

Custom Rewriting to Plugin with Parameters

I'm really stuck on the WP_Rewrite functionality... What I have I have a plugin that's rendered using a shortcode and is displaying full-site content. E.g.: //?p=2 (maps to domain.tld/myplugin/) ...
0
votes
0answers
21 views

How to add an “Add Image” field to my plugin and attach it to css background dynamically?

I am configuring a custom plugin to basically make things easier for a client who has no code experience and will probably be changing things around eventually. The following HTML displays a box ...
0
votes
1answer
39 views

What's the right way to implement functions in footer.php

I have a Wordpress website with a child-theme of 'twentyfifteen' I created. I added a PHP code that changes the footers background depending on the template displayed. This is my code part: ...
0
votes
0answers
21 views

Issue with iframe in TinyMCE

How do TinyMCE generate an iframe in wordpress admin panel ?? Actually I could not find out the starting point of iframe which is generated by TinyMCE. Thanks
0
votes
0answers
13 views

jQuery .on() function on iFrame of WordPress Admin

I am trying to execute following code on an iFrame of WordPress Admin while developing a plugin, but it is not working. jQuery(document).on('click', '.subject', function (e) { ...