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

Creating a register settings class that supports extended classes

I am having some trouble implementing a class structure to use for plugins I am developing. What I am trying to do is create a class I can just re-use for each plugin. I want it to be able to be ...
0
votes
1answer
13 views

Admin Logged In Notify Globaly

I have build a chat plugin where i want to show chat status that is admin is online somewhere or not i want to show "Admin is logged in" when admin is logged in somewhere and "admin is offline" when ...
0
votes
2answers
50 views

Get post values of form created by widget in sidebar

I have created this widget function to show a subscription form but from here i am not able to get the the values of input fields when someone submit it. Please help to get post values of the form. ...
0
votes
0answers
41 views

Dropdown list of Tags, Posts, Custom taxonomies in Options panel

I've been working with WordPress Settings API to create an options page for a plugin. Everything is fine except for displaying select dropdown lists and checkbox lists for WordPress tags, posts and ...
0
votes
1answer
37 views

How can I 'reactivate' .PHP files within a WP plugin that have been marked 'inactive'?

I attemped to edit .PHP files associated with a plugin through the Editor in Dashboard while the plugin was active - all .PHP files associated with that plugin have now been marked 'inactive' and the ...
0
votes
0answers
18 views

I want to list my custom taxonomy with a custom post type in a plugin

I've created a simple plugin for a custom post type. What fully works with an arhive page and a single page. Now I'm trying to add ann taxonomy to the custom post type. // Register Custom Taxonomy ...
0
votes
1answer
21 views

Different email notifications (about pending posts) to different users

I looking for something like this: I have two (or more) groups of users. Each group is responsible to different person. So e.g. if someone from group A send draft, person responsible to group A get ...
0
votes
0answers
25 views

import external link image in local wordpress

I have an insert image with a field named post_image, for insert image as an external link (view image 1). I want to import the full image to my web site so that it has a normal link: mydomain. ...
0
votes
0answers
16 views

How to add additional for each statement

I am using the function below to display the date of an event (using the Event Espresso plugin). I need to add next to the date, on the same line - the city and state of the event using this for each ...
0
votes
1answer
33 views

Front-end CSS Library for plugin [closed]

I'm looking for a CSS library that can style elements I display on the client-side (front-end) of a wordpress website. The CSS library needs to be able to work with most of the wordpress themes, which ...
0
votes
0answers
9 views

media_handle_sideload duplicating images

I'm using media_handle_sideload() to copy featured images for news stories to local Media items. But the trouble I'm having is that when doing so, the function seems to be creating duplicate entries - ...
0
votes
1answer
52 views

Multiple Checkbox

I cannot save & display the checkbox state on page update. function checkbox(){ global $post; $custom = get_post_custom($post->ID); $field_id = $custom["field_id"]; echo ...
0
votes
1answer
53 views

Adding New Role

I have add new role in functions.php file by this code: // Add a custom user role $result = add_role( 'supplier_for_planvent', __( 'Supplier_For_Planavent' ), array( 'read' => true, // true ...
0
votes
1answer
39 views

Disable default posts (Posts,Pages,Comments and Media) in wp-admin

I want to disable the default post types for user author in the wp-admin panel of the wordpress and display only custom post types. For that i had got the code given below. function remove_menus(){ ...
0
votes
1answer
24 views

Editing Global Variables from Inside Functions

I'm working on my first plugin and I have two separate functions inside to accomplish two different task. Each function is added to a different hook, one using actions and the other using filters. ...
0
votes
0answers
16 views

twitter widget loads properly in all themes except my own theme?

I've written my own theme for my wordpress website. The problem is that the twitter widget loads properly in all the themes except mine. Below is the attachment of the widget in both the themes - ...
0
votes
1answer
67 views

how to add extra meta box or textarea into custom post types

trying to create a custom homepage slider and to add "read more" link on images but i couldn't insert extra meta boxes or textareas function featured_image_slider() { $labels = array( 'name' => ...
0
votes
0answers
11 views

Creating a new elegant builder module?

Hi I am using elegant builder on my site and would love the ability create a new module, I basically want a text module with some custom styles applied before and after. I have contacted elegant ...
0
votes
0answers
21 views

Cannot save select multiple option in my plugin options

I have a select element in my plugin option page, but can't figure out how to save it correctly (all other options are correctly saved and reused). public function ...
1
vote
2answers
84 views

Is there a way to make a pure vanila page of just HTML/CSS/JS

Bit of a odd question. I want to be able to host example simple websites on my Wordpress Site. These "simple" sites would just consist of client side code. Is there a way to create a page which just ...
0
votes
1answer
64 views

Plugins not showing on dashboard?

I've seen other people post the same question but I think my scenario is a bit different. My plugins WERE working fine UNTIL I created 2 additional sites and added an extension plugin. So basically ...
0
votes
2answers
47 views

Override translation of 1 word

A few words in the WP Job Manager weren't translated yet. I edited most of them in de po file now but for the sentence "posted 5 hours ago" I can't find where to translate the "Hours" It's declared ...
0
votes
1answer
37 views

Stop Plugin Enumeration [closed]

Is there any way to stop plugin enumeration? I have tried Acunetix WP Security plugin, It seems to work but Yoast SEO plugin is still enumerating. Any plugins or code modifications are appreciated. ...
0
votes
1answer
85 views

Implement Autocomplete for a custom field on Wordpress Plugin Frontend

I've setup my plugin to be used on the frontend using a shortcode. I have managed to use an autocomplete form on a previous website I programmed from scratch (not WP based) but I don't understand how ...
0
votes
0answers
34 views

wp_update_post function ignores HTML tags

I have a custom plugin that moves posts from one category to another and then inserts text after the post is moved. This works fine except for I am trying to insert some CSS like you see below in the ...
0
votes
1answer
30 views

Add a checkbox in plugin options page and make it actually work

My code: function afi_checkbox_field_0_render( ) { $options = get_option( 'afi_settings' ); ?> <input type='checkbox' name='afi_settings[afi_checkbox_field_0]' <?php checked( ...
0
votes
1answer
22 views

Prompted for FTP details even with FS_DIRECT set to true

I am running WordPress 4.1 Multisite on CentOS with NGINX. I have set define(’FS_METHOD’,’direct’); in wp-config.php but am still getting prompted for FTP credentials when trying to install a plugin. ...
0
votes
1answer
53 views

How can I add a fixed vertical menu to my site? [closed]

I'd like to have a vertical (secondary) menu on some sub-pages of my site. It should be fixed (will stay as the viewer scrolls down the screen). I'm currently using the Q2W3 fixed widget, but it lacks ...
0
votes
1answer
33 views

add_meta_box creating default form field types

I'm using add_meta_box as per the Codex entry. My question is about the 'callback' to print the form fields on the admin page. In the Codex, the form fields are echoed as written out HTML elements, ...
0
votes
1answer
36 views

Plugin Development Form Self Submission

I am a new to Wordpress and I am trying to develop a plugin. All the plugin needs to do is provide an html form for a back end user to fill out then submit. Once the user hits submit on the form, I ...
0
votes
0answers
14 views

List taxonomy in custom post type

Guys i need help about listing my custom taxonomy items in my post type. Like in the orginal Post type (category). I create taxonomy feed-categories and when i try to add new feed i can only to add ...
-1
votes
1answer
46 views

Enqueue scripts in the footer

I'm trying to modify a plugin for enqueue scripts in the footer, because my jQuery link is in the footer. The plugin: add_action('wp_enqueue_scripts', 'fjgwpp_addCSSandJS'); function ...
0
votes
0answers
16 views

wp_mail_from: different from address each time

I have a form. Where user gives their name and email address. The I use the custom plugin to send the mail. The requirement is I need to send the mail on behalf of the user who signed. Now in wp_mail ...
1
vote
2answers
44 views

How to send mail to subscribers using wp_mail

I'm just starting out with making plugins and I'm trying to make a simple one that will mail a notification to subcribers whenever i make a new post so far i have add_action( 'publish_post', ...
0
votes
1answer
23 views

How to remove 'View Details' page & updates from third-party plugin?

I'm making a site for a friend and decided to use a plug-in I found in the wordpress repository, since I am new to wordpress. However, I ended up changing a significant amount of the code to make it ...
0
votes
0answers
141 views

Wordpress wp-json API - Custom Post Type returns 403

I've been trying for a full day to get a really basic install of the WP-API to answer to a custom post type (in this case called 'transactions'). The post type is set up and fully public, and it's ...
-2
votes
1answer
39 views

Questions about using Disqus or Jetpack for comments [closed]

I'm looking for a good commenting plugin, I want to choose between Disqus and Jetpack, but I have a few questions I couldn't figure out myself. Hopefully you guys can help me out! :) 1) Where are ...
0
votes
0answers
15 views

error on adding menu walker

I am trying to add a menu walker. I have added the following code in a plugin: class description_walker extends Walker_Nav_Menu { function description_walker() { } function ...
0
votes
1answer
30 views

Custom Info Box at end of posts?

I'm pretty new to WordPress so there are some parts of it I have difficulty working with. I run a small scale gaming niche website which focuses on just a small group of video games, and what I'm ...
0
votes
1answer
39 views

Wordpress plugin: efficient way to store large data

I have excel file with 1000+ records. Basically it has zipcode and corresponding email addresses. I need to create a custom wordpress plugin which queries this data and sends the mail. It would be ...
0
votes
1answer
35 views

Manually return false for function_exists

I'm having a run at developing a theme options plugin and right now working on implementing a 'hero' header, checking first to see if my plugin is active using: if( function_exists( ...
0
votes
1answer
81 views

Is there a good way to load tiny_mce_popup.js through editor.windowManager.open?

I need to load tiny_mce_popup.js in my page video.php. The page video.php is a popup. {text:'Video', onclick: function() { editor.windowManager.open({ title: 'TinyMCE', ...
0
votes
1answer
23 views

add_action does not call the function

I want to add a custom field in the menu, therefore I am trying to use wp_nav_menu_item_custom_fields. I am using following code but it does not even call the function. I am adding it in a plugin, why ...
0
votes
1answer
11 views

Integrating a hosted app with wordpress using the API

Say I have a hosted application that I want to tightly integrate with Wordpress to do the following: An admin logs into WP, then clicks on a link and redirects to my website. How can I have this ...
0
votes
0answers
29 views

WP MVC - metabox functionality

I am developing wordpress plugin. I need to use metabox for certain needs. How can i accomplish this using WP MVC? Currently i am using the wordpress add_meta_box() function in the main file of the ...
0
votes
0answers
44 views

How to `remove_action` from plugin

I'm using a third-party plugin that has an function hooked to the plugins_loaded hook. From the plugin file itself: add_action('plugins_loaded', 'acf_qtranslate_monkey_patch', 3); This is not in a ...
-1
votes
1answer
35 views

Open all PDF or docx link as iframe

I have posts in my WordPress as a link for pdf like this:- To show Doc place click here :- http://domain.com/2012-04/item-1335086631.pdf I need to convert this link to embed to show file in my ...
0
votes
0answers
18 views

Which wordpress plugin increases the size of tag as per more number of posts on it?

I have a blog on wordpress. I have several posts on WATIR, had few on manual testing and framework That time when I visited my blog I saw that text "WATIR" appears as giant heading, but rest are ...
0
votes
0answers
51 views

Wordpress consume and display Rest API with custom url struct

Hi I am writing a plugin for wordpress which needs to display results from an external REST API. I need a brief overview on the best stategy to approach it. I can write all the code etc I just need ...
1
vote
1answer
60 views

How to get Login Error messages on a custom template

I want to display login form and process the login on the same page, so that if there is any login error it should display the error messages on the same page. I have added this function: ...