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)

2
votes
0answers
31 views

Having Multiple authors for the same WordPress Plugin

Is it possible to have more than one author for a WordPress plugin using the plugin comment block? I searched for it, but I think it's not possible through the default way. Is there a workaround for ...
2
votes
1answer
57 views

custom taxonomy and custom post type url conflict

i am having one serious url issue. there is news custom post type. it's slug is news. News taxonomy slug: news_category News taxonomy url is: http://domain.com/news_category/press-release i want ...
0
votes
1answer
33 views

Get access to Wordpress when logged out

I have a WP site with bbPress installed and bbPress Like Button (a like button plugin). I was trying to import a phpBB forum to bbPress. I'm having problems doing this and in the process must have ...
0
votes
2answers
8 views

Author Permissions on WordPress Blog

I'm looking for a suggestion on how to set up the user permissions on wordpress plugin. For Example: I've Contact Form 7 plugin, when a author signing in to his account, he can see the plugin and upon ...
0
votes
0answers
17 views

the_content filter doesn't work on archive pages

the_content filter only seems to work on single posts, but everything I read says it should show up on archive pages too. How do I get the following function to work on an archive page? add_filter( ...
3
votes
1answer
294 views

Building a custom REST API

I have a WordPress.org site which takes user input, searches a custom database and displays the results of the query. I have this working using the wpdb class. Now I'm trying to get this working for ...
0
votes
1answer
19 views

Multiple Accounts on 1 email - Multisite

It seems like that on my Multisite I would want multiple accounts to be created from a single email. I have already tried the Allow Multiple Accounts plugin but yeah that does not work. Any solution ...
0
votes
0answers
10 views

Custom post type request switches to media request

I am using Modern Tribe's Events Calendar Plugin http://tri.be/shop/wordpress-events-calendar/ I use this on multiple sites, but I have a really weird problem. I've already checked to ensure it is ...
-1
votes
1answer
28 views

Cannot modify header information - headers already sent by

I am getting this error, when I am doing example.com/wp-admin Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
1answer
29 views

How to add wp visual editor in a custom widget?

I am developing a widget plugin and want to add a textarea with WYSIWYG editor in widget settings. Any help would be highly appreciated. Thanks.
0
votes
0answers
10 views

How to format the Widget Display function contents?

I'm writing my first plugin, and basically I'm wondering how to write the code which goes inside of the widget display function: function widget($args, $instance) {} I'm trying to run a post query, ...
0
votes
0answers
19 views

My Ajax Query is returning the contents of the page itself

I am attempting to execute the submission of a form in AJAX. function rapid_form_callback() { global $wpdb; $table_name = $wpdb->prefix . "my_client_here"; require_once( ...
0
votes
0answers
25 views

Put an audio plugin on the frontpage [closed]

This is the page I am designing: http://leona-anderson.com/ I do not have a site on the frontpage, I show the newest blog posts. Now what I want to do is, put some Audio Player Plugin on the front ...
-1
votes
1answer
16 views

Remove base from the custom post type URL [duplicate]

I wanted to add blog before the post slug in the URL. The URL for the post type page was: http://example.com/blog/post-one So basically to add blog before the posts url in Settings >> permalink ...
-1
votes
1answer
22 views

Admin Message Broadcast for all wp users [closed]

Wordpress admin sends a message and it will be shown in frontend to registered wp users. Read and unread facility is also required Any Plugin suggested for this task?
0
votes
1answer
134 views

AJAX fileupload - TypeError: not a function ajaxSubmit()

I have a plugin that works as a standard POST but not as an AJAX POST request. I am getting a not a function error in Firebug with this function: TypeError: jQuery(...).ajaxSubmit is not a function ...
0
votes
1answer
31 views

Using 'mysqli_connect' 'crashes' Wordpress client-side

I am using Wordpress as a CMS for a bus-route planner, I have inputted the first few bus stops for the first bus route and am now developing a PHP script for the planner. I am using this code, with a ...
0
votes
1answer
33 views

How to add img into a plugin?

I started constructing my first Wordpress plugin but got an issue... I've a folder-file structure like that: PluginFolder/ TemplateFolder/ img/ my files php How can I use the /img/ folder in ...
0
votes
0answers
23 views

stuck in $args value insertion how to pass more than one value

I am in a middle of building a plugin and some how I manage to limit profiles to show only with the users with role regular_user by putting this line in my code $args['role']='regular_user'; ...
-2
votes
0answers
31 views

Wordpress Plugin Inserts Demo Data into Custom Tables each time I activate it

i am developing a plugin that creates some custom tables in database. The plugin also installs some default data into database. The issue I am having is each time I activate the plugins, it inserts ...
0
votes
3answers
25 views

wp_ajax action responds with 0

I'm writing a plugin. There is a button, that triggers an ajax-request to an action I added in my plugin page: Head of my plugin PHP file: add_action('wp_ajax_update_nav_items', 'update_nav_items' ...
2
votes
2answers
242 views

Custom pages with plugin

I'm developing some plugin where I would like to enable custom pages. In my case some custom page would contain a form like contact form (not literally). When user will fill out this form and send it, ...
0
votes
0answers
29 views

Google map disappeared after updating to WP version 4

Few days back, I updated my wordpress website to the latest version Benny. But after that update, everything went haywire. One premium plugin went missing. Google map disappeared into thin air. ...
0
votes
2answers
47 views

Hide a Menu Item on Login

I am using the following code to hide a menu item when a customer is not logged and show it when a customer is logged in. .hide-item-not-login{ display: none !important; } .logged-in ...
0
votes
2answers
29 views

Stop Wordpress processing Javascript as text

I'm currently developing a bus route planner, using Wordpress as my CMS. I've added some JQuery code to add support for ajax (so visitors can use the route planner and load the route without having to ...
0
votes
0answers
14 views

Allow to user select template only once

i want to give the user option to select template one time in multisites. way that can help me is to allow the user select the template once the user first login to the system. if you know how can i ...
0
votes
0answers
8 views

Best practices for using plugin source in multiple projects with tortoise

Today I uploaded my first two plugins to WordPress. I use these plugins in most of the websites I develop. I am using NetBeans on my desktop. I am trying to figure out how to best use Tortoise SVN to ...
1
vote
0answers
22 views

Trouble adding tiny mce to textarea in custom plugin

I'm using the Sunrise open-source OOP framework to develop my plugin. I am building out a new settings page and I'm having trouble adding in a WYSIWYG/tiny MCE textarea to the settings page. I've ...
2
votes
5answers
145 views

Upgrading Wordpress 4.0 asks for FTP password

I was able to upgrade Wordpress 4.0 on my local machine, and I also just updated some plugins on the production machine, but when I try to update Wordpress 4.0 on the production machine, it is asking ...
1
vote
1answer
61 views

Overwrite or Replace code in WP_Footer

I have a some code being dynamically added into my Footer via add_action('wp_footer' ...). Unfortunately I'm not sure how to remove it using conventional methods, I've looked at the following question ...
1
vote
1answer
24 views

Procedural Question on Plugin Installation

I am running WP multisite with about 80 sites. I can see from my server's directory structure the presence of only one directory for ../wp-content/plugins/* Each of the plugins I have installed is ...
1
vote
0answers
8 views

automatic plugin install availability: server configuration

This link shows how it may be possible that WordPress may not be able to download and install a plugin via its web interface (known as automatic plugin install). However it may be still be able to ...
0
votes
1answer
23 views

How to save information related to post in database?

I created a post-to-email plugin and I need to save something in the database when the post is sent so I don't allow users to send it twice. How do I save this in the database? And how can I retrieve ...
0
votes
1answer
38 views

Show related posts based of current ACF field name in a single page post (a loop within loop)

I have a single page where I display my current post. Within the post loop, I wanna display another loop inside that shows 3 other related posts by title that share the same text as the current post ...
1
vote
0answers
13 views

using plugin to add menu item to external page [closed]

I have a wordpress plugin that is working well so far. The last step for me is to have it create a menu item on the main navigation menu to an external page when you activate the plugin. Not sure how ...
0
votes
0answers
16 views

WP Meta Box Not Saving

I've been trying to get this custom meta box to save but it is not working. I've browsed around but still haven't found a solution that works. function add_link_box() { add_meta_box( ...
0
votes
0answers
21 views

Filter html of WordPress editor in visual mode only

1 down vote favorite I have done a lot of Googling , but have not been able to figure this out yet. I have used a function in a plugin I am creating that swaps out the file url of any image inserted ...
0
votes
0answers
25 views

Wordpress Apply filter in plugin causes 500 internal error

I use the plugin https://wordpress.org/plugins/show-post-in-lightbox/ to display all feautered image of every post on a page. whenver one of these images get clicked on a lightbox will appear showing ...
2
votes
0answers
31 views

Display (and manage) webcam images?

I have a webcam that write every minutes or so, an image to an ftp folder on the server where WP is installed. My question is how to get the last image displayed on page, with refresh every 60 second, ...
0
votes
0answers
27 views

Make a select field directly beside a text input field with the Settings API

I'm building a plugin that needs a very simple options page. I'm asking the user to enter the default width and the default height that they want the plugin to use for their embed. I also want to give ...
0
votes
1answer
24 views

Replace code in plugin template

In plugin, I have following code in function: $return_string .= '<li class="wpc-category ' . $class . '"><a href="'. get_option('catalogue_page_url') .'">All ...
0
votes
1answer
29 views

Array to string conversion error when trying to POST multidimensional array

I am getting the following error notice: Array to string conversion in /path/to/wp-includes/class-wp.php on line 281 I have a form that is for frontend submissions to create custom post type posts. ...
1
vote
0answers
45 views

Render custom php template into string

I have a native php template, say, <div> <?= $data ?> </div> Deeply inside the wordpress plugin page I need to render it into string. I feel I miss something well-known here, but ...
1
vote
1answer
52 views

Test files for plugin development

The end of the first chapter of Professional WordPress Plugin Development by Wrox Press released February 2011 states: To test a plugin during development make a test.php file and place it in ...
0
votes
1answer
33 views

Show image or notification on specific blog in multisite

I have a multisite. I am trying to create a simple plugin that will allow me to select website(blog) from the list of all website in my multisite. How to show some image or notification(text or html ...
1
vote
2answers
55 views

Adding Font Awesome to WP Plugin

I'm trying to use font awesome icons for my plugin. I've read this page in the codex and this question. Here's what I've tried so far: I've added this on wp-plug-in.php (or should it be somewhere ...
1
vote
3answers
28 views

Best way to modify a plugin with no hooks and no pluggable functions?

I have to make some changes to some functions in a plugin that don't have hooks and aren't pluggable. My idea was to wrap the functions I modify in a if ( ! function_exists()) and move my ...
1
vote
1answer
47 views

Js file is not adding using this code in functions.php

Sorry i am noob in WordPress. I am using following code in functions.php to add the .js file in wordpress. function your_function_name() { wp_localize_script( 'function', 'my_ajax_script', array( ...
0
votes
2answers
36 views

How to redirect to edit.php page after saving the post,product and showing the message “post saved ”

I am trying to redirect all post pages, once a post or products are saved. It is redirecting to that page but it is not showing any message. Let me know how to register message for particular pages at ...
0
votes
1answer
15 views

Child Theme Changes Are Not Reflecting In Parent Theme

So I've recently moved my Wordpress.com blog to Wordpress.org. I was using a Child theme via a Plugin and changed a bunch of the CSS, but when looking at the parent theme, nothing ever changed. No ...