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.

learn more… | top users | synonyms (2)

0
votes
0answers
12 views

Force reindexing of plugins in Multisite

I have a Wordpress multisite installation and am developing it on localhost. However if I install a plugin in development, deploy the files and check multisite plugins section in Wordpress admin, it's ...
0
votes
0answers
14 views

tinyMCE, style format dropdown customize

I have been looking into tinyMCE api and documentation to solve this problem but couldn't solve.. I am doing following things to add style_format. what it does it creates a wrapper div around the ...
1
vote
1answer
22 views

Troubleshooting Plugins.php HTTP install path vs. a HTTPS for a single Plug-In

I am attempting to troubleshoot the install path showing up in Plugins.php for a plug-in I have installed on my site that I did not originally write. All resources referenced and installed by this ...
0
votes
1answer
93 views

WP JSON REST API (Ryan McCue) how to query posts with specific meta data with 'AND' relation?

I use Wp_query class to query my posts. 15 posts are in a template fetched on page load and their filtering works fine. Infinity scroll fetches for other posts using JSON restful services. The filter ...
0
votes
0answers
26 views

How to clean tables after plugins are uninstalled

A number of plugins which I use earlier are not uninstalled and there tables are still there. I don't know the table names created by those plugins. Is there a way to automatically delete (via a ...
0
votes
0answers
26 views

function get_page_permastruct() on a non-object

global $user_ID; $page['post_type'] = 'page'; $page['post_content'] = "Hello world"; $page['post_parent'] ...
-3
votes
0answers
16 views

How do i get all title of widget [closed]

if i have 3 widget like sidebar-1 ,sidebar-2 , sidebar-3 <div id="supplementary"> <div id="footer-sidebar" class="footer-sidebar widget-area" role="complementary"> <?php ...
0
votes
1answer
21 views

Pass A Value From Outside To A Plugin Variable

Is there a way to pass a custom variable value from outside like from functions.php to a plugin's variable? Lets say that I have the following function defined in a plugin. function plugin_funct(){ ...
0
votes
0answers
28 views

Could not upload image in admin panel while making a plugin in wordpress

I am trying to make simple plugin but my problem is image which can not appear in admin panel... Here is my code: class DM_options{ public $options; public function __construct(){ ...
0
votes
2answers
50 views

Delete tables from database when deleting plugin

I created a plugin and want to add a function to delete my tables from the database when a user deletes my plugin. I created a function that deletes tables from the DB when a user deactivates my ...
0
votes
0answers
14 views

Send POST variable with 'post_publish'

I have a custom button which triggers my page builder to load on the post.php page upon clicking it. However, I want to send a variable as well with it. Here's what I tried $('#post').attr('action', ...
0
votes
0answers
28 views

How to make a plugin theme-wide?

I have written a working plugin and meets the criteria. Although I've encountered an issue, I've noticed that it's only usable on the theme's functions.php that I write the function and specify the ...
0
votes
0answers
32 views

Carousel with most viewed posts from last 7 days

I'm looking for a way to display the most viewed post from the last seven days into a carousel ( displaying the image thumbnail, and the title). I'm using a existing carousel, and trying to tweak it ...
0
votes
0answers
15 views

How to auto populate about us page with data from signup?

If I have a default about us page that is used in new sites added to my multisite installation, is it possible to collect the name, email & phone etc on the new user sign up form and have that ...
2
votes
1answer
188 views

What are these entries in the database? Looks similar to JSON

So I have been wondering for a while now what these entries are and what they do, also what the format of them are. They look similar to JSON but are definitely not JSON. ...
0
votes
1answer
44 views

Comparisson between date() and a date from wp_postmeta

I am using the calendar plugin: "The Events Calendar", and is trying to get the events that are done. I can't see what it is that I'm doing wrong, but I'm pretty sure that my meta_query is wrong, ...
0
votes
1answer
103 views

Custom meta box with jQuery.sortable custom post type list

What I'm trying to do is have a custom post type ordered differently on different pages. I've searched around for quite a while and can't seem to find anything to help. I have a post type named staff ...
1
vote
1answer
57 views

The problem with Wordpress Importer

I've tried many times to upload theme-unit-test-data.xml from http://codex.wordpress.org/Theme_Unit_Test But when I'm trying to upload this file in WordPress Importer it gives me an error saying: ...
1
vote
2answers
42 views

Fatal error: Class not found in

I am working on a plugin for 'hooking' an extra payment provider into a checkout system. I have a class gtpCheckoutData in my function.php which calculates the prices. In my plugin I want to use ...
-1
votes
1answer
32 views

Show div only if he has value insided - advanced custom fields plugin [closed]

Recently I installed the advanced custom fields plugin, and I want to display the fields only if there is values inside. So I used if statement and its work fine. Now I have some fields to display and ...
0
votes
0answers
13 views

Translating wordpress plugin and themes

I created wordpress contact form plugin. I created function for translation, with poedit function ap_action_init() { // Localization load_plugin_textdomain('prijava_forma', false, ...
0
votes
1answer
18 views

Add image to post from external URL

I'm doing a plugin that can retrieve media from external APIs, and when I click on it (on the admin), it insert a new post with the media, its caption, etc. So, now, I'm inserting a new post on click ...
0
votes
0answers
8 views

Does adding nonce in save_post hook for every metabox really improve security? [duplicate]

I see a lot of example [1] that introduce the checking of nonce in the save_post callback of a metabox. e.g. function smashing_save_post_class_meta( $post_id, $post ) { /* Verify the nonce before ...
0
votes
1answer
21 views

How to create user groups and allow custom posts and plugin modify/access to specific group?

I am looking for plugin or is there any method/function to create user groups and give an access them to modify/access.
0
votes
2answers
34 views

Apparent errer when installing plugin

I have been working on my first plugin (call is myplugin). The path to the plugin code is wp-content/plugins/myplugin/myplugin.php. The myplugin.php file is essentially as follows: <?php ...
0
votes
1answer
32 views

Translating wordpress plugin

Ok i built plugin for contact form, I wanna add translation for it. In my main plugin files i add this code function ap_action_init() { // Localization load_plugin_textdomain('prijava_forma', false, ...
2
votes
0answers
47 views

add_rewrite_rule, plugin activation and plugin deactivation

I see a lot of example showing to call add_rewrite_rule in your init hook, e.g. function add_my_custom_rewrite() { add_rewrite_rule(... } add_action('init', 'add_my_custom_rewrite'); and in ...
0
votes
1answer
29 views

Best way to hook a custom url?

Let say I've a custom page with slug created "/products", I want user will be able to POST to a form with url "/products/create" and allow us to render some JSON output. The "/products/create" page ...
0
votes
1answer
21 views

Translating wordpress plugin

I built contact form plugin in in wordpress. I am planing to translate field name to diffrent languages. In that cause i will use Poedit. My question is does wordpress has some language options in ...
-2
votes
1answer
42 views

Self-hosted Plugins & Themes store with auto-updates? [closed]

I'm looking for a way to self-host a WordPress Plugins/Themes store (ideally at no cost — I am but a poor developer!) with the following features: Sell Plugin/Theme downloads Auto-updates for sold ...
1
vote
1answer
49 views

ReOrder Post Within Categories plugin with featured image

I need to add featured image somewhere near title so I can easier sort them, currently the plugin use this code to show the title only, tried with the_post_thumbnail and nothing is showing up. Thank ...
0
votes
0answers
34 views

Lazy Load sometimes don't work

recently I implented lazy load script into my wordpress blog through query posts. Well it is working, but sometimes javascript will not just work. Actually I have these images in sidebar aka images ...
0
votes
0answers
19 views

Wordpress plugin header already sent

I bulid contact form, wich redirects after submit to success page. but some how i get error Warning: Cannot modify header information - headers already sent by (output started at C:\Program ...
0
votes
1answer
15 views

Issue removing Media Editor Tabs — Duplicate Items

I'm following the advice found in several places to remove tabs by using the following filter. However, the same number of tabs appear, the last one is simply displayed x number of times. I'm running ...
0
votes
0answers
10 views

Can a standalone app be made to work as a Wordpress plugin? [duplicate]

I just developed a tool for web site owners. This works as a standalone app with its own user and routes system and other custom elements. Now it seems Wordpress is getting more and more popular and ...
0
votes
2answers
41 views

Multiple instance of data in plugin custom database table on plugin activation

I'm creating a plugin that adds some data to a custom table created by my plugin on plugin activations. I also created a settings page with a form that users can insert their own data to the ...
2
votes
1answer
28 views

Avoiding plugin name collisions with WP updater

I have a client who has a WordPress site that uses a custom plugin written for them by another developer. Recently, they ran the WordPress updater and one of the updates clobbered that custom plugin ...
0
votes
0answers
20 views

Execute PHP code of a plugin markup file

I am creating a plugin which imports html markup. I would like to execute some php on those markup files before or after it gets imported. Is there anyway I can do this? Right now if I add PHP to the ...
0
votes
2answers
28 views

Restricting page access [closed]

I need to restrict access to a page in a wordpress site for everyone but registered users. I have looked at a couple of plugins, and although they work well, they don't quite fit my solution... The ...
0
votes
0answers
66 views

WP-API Custom Post Type json_no_route

I have created a custom post type and extended the WP_JSON_CustomPostType class as in the documentation, I can see the custom type when I go to wp-json/ but as soon as I go into wp-json/quizes it ...
0
votes
1answer
22 views

Get info (url) from already enqueued styles

I am building a theme and using Easy google fonts WordPress Plugin. I created several typography controls within Theme Customizer for Post content,Post header, Author page content, Single Post ...
0
votes
0answers
19 views

How to use in my plugin the Autocomplete for users and sites field?

i am building plugin for my multisite, so i need to be able to select some blog from the blogs list, and then get the blog id to use this id in another function. the best solution will be using ...
0
votes
0answers
18 views

Plugin and shortcode

Ok i created plugin for contact form, wich is called [contact_form]. For example i call it in section where page is added, so plugin is integrated into wordpress template. Is there somehow to show ...
0
votes
1answer
36 views

Ajax return 0 in plugin - ajax only used in wp-admin

i use ajax a lot and have no problams with it. This time i am trying to use ajax inside wp-admin and only their aka this is not a "nopriv" issuse. This is being used inside a plugin i am writing. ...
0
votes
0answers
13 views

Network Wide Logo Plugin

I created a simple plugin that I use to add and edit my logo's. I have a multi install so I use many different themes. The only problem I am having is that I have to add the plugin code to each ...
0
votes
0answers
141 views

Calling Theme My Login templates in a Bootstrap Modal Popup

Hopefully someone can help with this. The issue can be found at http://adopt.hatchmedia.ie. I am using Bootstrap v3 in a WordPress site. The site has a login window for users which I have set to ...
0
votes
1answer
38 views

add_meta_box Callback not being called

I created my first plugin last week that makes a custom post type. As this worked, I copy pasted the code I already had and modified it to be a different post type. For whatever reason however, the ...
0
votes
0answers
31 views

Passing Hidden Field into modified PHP plugin script

I'm going to need a little help on this one; I've got a plugin the King Sumo Giveaway... and in the file class-ks-giveaways.php I've found what I need, which is the element that sends the ...
0
votes
0answers
10 views

P2 By Email Problems with Outlook

Our organization just launched a new, private online community so that our members can communicate and connect with each other online. It's a WordPress site, but we use the P2 theme, which allows for ...
0
votes
1answer
47 views

Price comparison table based on Custom Post Type?

I have created a review site where clients can rate their hosting providers based on various factors, however since the launch, many have asked if it would be possible to create a price comparison ...