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
7 views

JSON API Comment Submit Responde in How to retrive avatar

Json api When i have post a comment using json api how to get user avatar in responce. Where to change may code. Post data using Url: ...
1
vote
3answers
24 views

Get all options saved by another plugin

I'm developing a plug-in that adds the possibility to import/export settings from another plug-in. However, I don't have access to the options ids saved by that plug-in. Is it possible to get all ...
0
votes
0answers
5 views

Re use the list table for a custom post type on another page

i've got a custom post type which is 'ai1ec_event'. So i have a "All events" page which has a Wp_List_Table with all my events and my customization to that table. Is there a way to draw the same list ...
0
votes
0answers
10 views

unzip a folder on specific location and delete the zip file

After the lots of search. I am deciding to post my question here. Basically i want to upload a zip file in my wordpress site from my admin panel. And also extract this file to specific location with ...
0
votes
1answer
37 views

html2canvas - It works in JSFiddle, but not in Wordpress [on hold]

I am trying to get this code from JSFiddle to work in my WP install (http://jsfiddle.net/Sq7hg/2/). I am having no luck. I am a novice JS user, but relatively experienced with WP. Here's what I've ...
0
votes
0answers
9 views

How can I trigger the media library “query-attachments” action manually?

I'm working on a plugin that manipulates the WordPress 4.0+ Media Library. I see that the attachments in the media library are loaded by an ajax call using the query-attachments action. I need to ...
0
votes
0answers
22 views

How to change color of headlines within shortcode?

I have done my own shortcode for the layout of the page like this: (from the functions.php file) // One Half function layout_one_half($atts, $content = null) { $atts = shortcode_atts( array( ...
1
vote
1answer
20 views

Private Plugin Updates - Localhost

I'm trying to get a automatic plugin updater work on localhost, I had it working at one point on a live server but for some reason mid update it gives me an error of: An error occurred while ...
0
votes
0answers
38 views

How to add pagination into post showing

I have created a plugin to display all posts on any page by short code. But how do I add pagination? global $wpdb; query_posts('cat='.$cat); $table_name = $wpdb->prefix . "advertisement"; ...
-3
votes
0answers
9 views

changed the permalinks plugin anspress [closed]

hello everyone I'm new here I need your help how to get shorter link plugins anspress example: mysite com question question and-etc... changed to : mysite com question and-etc... I hope you ...
0
votes
0answers
14 views

Creating a text file in plugin directory not working

I am creating a plugin that in admin end will create a text.file but when I tried it, no text file were created. this is my code.. if($_POST['pluginvalue_hidden'] == 'Y') { ...
0
votes
1answer
14 views

how to use hook deleted_user into custom function to delete user from custom table

I have a second user table in my WordPress database for a separate application that I am integrating. I need to be able to delete a user from this second table when the user is deleted in the ...
0
votes
1answer
22 views

Sessions not creating correctly in custom function

I am working with an external application called The Next Generation of Genealogy Site-Building (TNG) and integrating it into WordPress. It has been an easy matter to get the data to display inside a ...
0
votes
0answers
21 views

Using $wpdb->get_results with Select and a comparing a column with a variable

I wasn't sure whether I should ask this on stackoverflow so I thought I'd try here instead. I'm developing a custom plugin and I've got to retrieve some numbers from a table where the value in the ...
0
votes
0answers
33 views

When using an options array the Settings API isn't creating the database record

At the moment i am building my first plugin. So far i've saved as well as successfully uninstalled the options with single db records; everything worked like a charm. At the moment i try to improve ...
0
votes
1answer
23 views

custom plugin with upload files does not work

I an creating a custom plugin that used shortcodes.. then it will have a feature that will upload files and stores it in wp-content/uploads/ directory.. but it seems I got an error.. Warning: ...
1
vote
1answer
31 views

An echo line in a transition_post_status action leads to “cannot modify header information - headers already sent by”

I tried to set up an action hook with transition_post_status. Inside I wanted to set up a few conditional statements. To see if everything works I wanted to place a debug statement. Problem is as soon ...
1
vote
1answer
17 views

Declaring script dependencies between scripts enqueued with different action hooks

Consider this scenario: I enqueued some scripts in my custom theme. Then I set off to building a plugin that I want to be used only with that one theme. I want to enqueue other scripts in my plugin ...
0
votes
1answer
22 views

Enqueuing scripts and styles in custom plugins

I have a couple of questions regarding enqueuing scripts and styles in custom plugin code. I've recently come across plugin code where scripts were enqueued hooing into the template_redirect action ...
0
votes
0answers
17 views

Plugin admin menu: How to associate a hidden submenu page with a visible one?

My plugin has the following (simplified) admin page menu structure: // list of plugin items add_menu_page( 'My Plugin', 'My Plugin', 'edit_pages', 'my-plugin', ...
0
votes
0answers
48 views

Alert : A script on this page may be busy, or it may have stopped responding. [on hold]

I have a multilingual site in which i have installed WPML plugin.It was working,but from yesterday onwards i am getting the following alert and the site is taking too much time for loading. A script ...
0
votes
0answers
17 views

Dropdown pages in Settings API

I am working with theme option. There is dropdown option like this. 'memory' => array( 'type' => 'select', 'label' => __('Memory', 'fw'), ...
-1
votes
1answer
57 views

My wordpress website admin panel loads very slow, what can i do about that? [closed]

I am having a very slow load time for long time now, I read absolutely everything that I could about how to speed up my WordPress website hosted on azure, However there things that I am not capable to ...
0
votes
0answers
19 views

Show input value in front end

So I have this: function ntfr_text_field_1_render( ) { $options = get_option( 'ntfr_settings' ); ?> <input type='text' name='ntfr_settings[ntfr_text_field_1]' value='<?php ...
-1
votes
1answer
20 views

how can I make content from a plugin hidden when user is logged in? [duplicate]

I would like to make my social icons at the top of my page disappear when a user logs in to my website... what is the best way to go about this and can you give me all options that are possible ...
1
vote
1answer
162 views

How to change custom post type pemalink Hierarcy

When we set permalink as Post name and go to wordpress any default post Like "Testing 123" single page its link looks like this localhost/foo_articles/testing-123 Now i when we change our permalink ...
0
votes
0answers
21 views

How do I make a themeable jQuery plugin in Wordpress?

I'm writing a plugin in jQuery that I would like it to be customisable in wp-admin and I'm thinking of the best way to do it. For example, if I was writing a slider plugin and I wanted the the arrows ...
0
votes
1answer
23 views

Custom Post Type Audio Content

I want to make a custom post type of songs. Is there any way that i can provide an upload button to the admin to upload song as a post. So that it can be accessed via the_content(). I don't want to ...
5
votes
1answer
102 views

WordPress and multithreading

I'm working on a plugin. I've created an API that reads and writes to a custom table in the DB. This API can be called potentially from N clients simultaneously (and it really happens). I noticed that ...
0
votes
0answers
35 views

woocommerce: add custom field and visual composer

how do I add a custom field area to the single products dashboard and add visual composer support to it? Thanks.
0
votes
0answers
11 views

click event not firing on elements inside thickbox [migrated]

In my plugin I am using thick box modal window to show the list of items. The content in the thickbox div is generated through a ajax request. I have input checkboxes inside this div. The click event ...
0
votes
1answer
32 views

How to Get Current Custom Post Type Associated Taxonomy Term

I have a single.php file like below <?php get_header(); ?> <?php if ( have_posts() ) { while ( have_posts() ) { the_post(); echo '<div">'; ...
3
votes
2answers
79 views

Wordpress plugin from own server

I am developing a game, and I am planning that, I will have partners, so they can run a game like mine. For this, I developed a plugin, with some classes, and functions, to handle the game requests. ...
0
votes
0answers
22 views

Plugin Boilerplate - Where should I put helper functions?

I'm using the Wordpress Plugin Boilerplate and as it's OOP, I don't see where is the place for helper functions. If I am using this for say a review plugin - and I have a function that generates the ...
0
votes
1answer
17 views

Do rewrites added with add_rewrite_rule() persist after plugin deletion?

I am developing a Wordpress plugin and need to ad a rewrite url using add_rewrite_rule(). That does work. But what happens when my plugin is deleted? Does Wordpress cleanup the htaccess or do I need ...
0
votes
1answer
14 views

Getting Plugin to read all script files

In my pluging I created a file-1.php file which contains the plugin info and some functions for the plugin functionality, when the file was getting too long, I created a file-2.php file and put some ...
0
votes
1answer
39 views

Difficult to create unique titles and meta description?

I have just made my first theme for WordPress and I have been searching for information or some kind of tutorial, about how to create some sort of very simple plugin to handle unique titles and meta ...
0
votes
1answer
40 views

Plugin Form Submitting to admin-ajax.php instead of admin-post.php

I am building a plugin which loads a form into a table cell when clicked. Here is the AJAX: public static function cp_libhours_ajax(){ ?> <script> ...
0
votes
0answers
10 views

How can I pull in the current page's children and their children based on the main menu, not actual site structure?

I've been at this for a while now and am looking for some help. I'm trying to build tabs (and put links within those tabs) based on the structure of a site's main menu which does NOT in this case ...
0
votes
0answers
17 views

WP internationalization not loaded

I have problem with loading internationalization in my admin page. For generating .po and .mo files I use Poedit. My plugin structure is simple: ├───plugins │ └───radni │ └───radni.php │ ...
1
vote
1answer
23 views

Can we have an 'Update metadata' button in Image Gallery for all image instances?

{Note: This question is a followup of this one.} It is possible to implement the following: In WP go to Media | Library and select an image. The 'Attachment Details' window appear. We have there ...
0
votes
1answer
14 views

Unable to access custom plugin backend

So, I just created a new plugin and i've added capabilities, a new role, linked them all together, etc.. etc.. but for some reason I'm unable to access my own backend. Error message is the generic ...
0
votes
0answers
25 views

Save data on custom table Wordpress

Here is my current code, <div class="wrap"> <div id="icon-tools" class="icon32"></div> <h2>Quote Manager</h2> <div class="aio-content"> <form method="post" ...
-1
votes
0answers
10 views

Plugin hook that only fires when a new post is published? [duplicate]

I wrote a plugin for my site which posts an update on my forum whenever a new post is published. I'm using the "publish_post" and "publish_future_post" actions. The problem is, these actions also ...
0
votes
0answers
9 views

how to add page to wp plugin

i'm creating a new plugin and i want to add a second page but i don't need it to show on the side dashboard. i want it to look like this: admin.php?page=pageX i have tried this: ...
0
votes
0answers
24 views

wp_mail links are dead

I am trying to make a pseudo-newsletter type plugin which will email that authors of certain posts. The email sends the contents of a textarea with some extra text added to the end of it. I've sent ...
1
vote
1answer
35 views

Including third party libraries in plugin [closed]

I am developing a wordpress plugin and would like to include third party libraries from Github. How do I include these a library so I can use the functions in my plugin?
0
votes
0answers
18 views

Replacing Gallery Shortcode with Foundation's Clearing

Using wordpress 4.1 and Foundation 5, and attempting to replace the stock gallery shortcode with foundation's clearing. In debugging mode, I get a notice of: Strict Standards: ...
0
votes
0answers
34 views

update_user_meta not working

I'm trying to add additional profile pages and then allow users to submit custom profile data through the pages. I want this data to be unique to each user and only viewable by that user. The code is ...
0
votes
0answers
40 views

Override A Plugin Variable And Function Via Functions.php

Is it possible to override a variable in a plugin function without altering the plugin? The closest thread I found to answer this problem is this one : Pass A Value From Outside To A Plugin Variable ...