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

Use just a shortcode from another page

I am building a bbpress forum and I have it set up right so that when you click a forum it displays a loading image and loads the link with ajax instead of redirecting the page However, this loads ...
0
votes
0answers
11 views

Is there any CLI tool for plugin development? [on hold]

I have plans to build tool to speed up WordPress development by creating boilerplate code for plugin/themes. Something like set of Generate commands in Symfony2 Console component. Tool have to ...
0
votes
0answers
22 views

How to develop custom URL redirection

I'm writing a custom theme and have a custom post type which represents an external entity (e.g. a website). Hence, I have a field 'external_url' in my post type. Part of the custom post type post's ...
0
votes
1answer
19 views

Adding Additional Variables on Menus Page

I'm learning PHP by building a plugin to show or hide menu items based on a user's location. I am a bit stuck at the moment. In the function below, the text input is being saved to the database, but ...
3
votes
1answer
17 views

Adding extra pages to plugin that shouldn't appear in the sidebar

I'm trying to add extra pages to my wordpress plugin and link to these pages through links, form forwards etc. I don't want them to appear in the menu on the left - so add_submenu_page isn't the ...
-1
votes
0answers
16 views

Using a GIF as a featured image [on hold]

I'm looking for a developer who can assist me by creating a workaround to allow me to use animated GIFs as the featured images on my website. Unfortunately I cannot default to first image. If ...
5
votes
3answers
3k views

How can I find plugins' slug?

I'm wondering how can I find plugins' slug (slug = internal name used by WordPress to do plugin updates and to determine which plugins are currently active)? It is usually plugin's folder name but if ...
-3
votes
0answers
21 views

Displaying dynamic content on product page [on hold]

How can I add a custom Flash animation on a product page in WooCommerce? The animation should change based on the product displayed. I searched everywhere, but found nothing about this.
2
votes
2answers
494 views

Get image URL from media library in input

On wp-admin/post.php?post=447&action=edit for example I have a link and an input. The link appears as follows: <a href="#" class="button insert-media add_media" data-editor="tj_image_url" ...
2
votes
2answers
677 views

Multiple files in a plugin

I'm trying to write a plugin with multiple files. I'm sure I did it before without a problem, but now I have the problem in the subject. In the main plugin file I have included a file name - ...
0
votes
2answers
26 views

How to enqueue JavaScripts in a plugin

I am struggling a lot this time working on including a JavaScript files in plugin folder. I am trying to create a plugin by transferring widget files from themes directory. I copied the widget file, ...
0
votes
1answer
785 views

Multiple entries in get_option results? or why is _multiwidget set to 1?

I am developing a wordpress widget, and need to store some user configuration values, that is why I am using wordpress update_option and get_option. I am new to widget development. I have some ...
-2
votes
0answers
17 views

Generate pre-built visuals with Post text

Anyone can give me a hint: I need to have on my website a "Generate Visual" button - that will take my post text and give me several different templates where I can make visuals of. Explanation: I ...
2
votes
1answer
2k views

get_template_part from plugin

This is default get_template_part function inside WordPress: function get_template_part( $slug, $name = null ) { do_action( "get_template_part_{$slug}", $slug, $name ); $templates = array(); ...
0
votes
1answer
19 views

This doesnt work for Plugin get_template_directory_uri()

function Zumper_widget_enqueue_script() { wp_enqueue_script('jquery-repeater-form',get_template_directory_uri().'/admin/js/sample.js'); } add_action('admin_print_scripts-widgets.php', ...
0
votes
1answer
14 views

How to add settings subpage from a plugin to a settings page created in theme?

I'm using add_menu_page(...) from a custom theme and I want to add subpages to that menu with add_submenu_page(...) . If I try to do it from the theme it works as expected but when I try the same from ...
-1
votes
0answers
11 views

Taxonomy based dynamic rewrite

I have a hierarchical taxonomy, something akin to: Term1 Term1/Subterm11 Term1/Subterm12 Term2 Term2/Subterm21 ... And I'd like to get all the posts for a given taxonomy when accessing ...
0
votes
0answers
21 views

Help with folder structure for MVC plugin / theme

I know similar questions have been asked many times, but I couldn't find an answer that would help me progress with my project... Here's my situation: Large part of my project is for logged users ...
0
votes
1answer
15 views

Wordpress custom plugin developement

I'm trying to make a page in my plugin, but don't want it to appear in admin_menu, but just in my plugin page menu! I have a lot of pages, don't want them all to appear as sub menus! any ideas?
0
votes
0answers
18 views

Hooking to APIs working on WP_Posts

I'm working on a WP site, and I've found a plugin that I can use to do most of the work. But there is a problem: as I feared, it stores all of its data inside WP_Post. This is obviously pretty stupid ...
1
vote
0answers
27 views

Input in plugin widget does not allow spaces

I'm developing a plugin for a client which allows keeping records of reservations to their hotel, and it has a widget which allows clients to make reservations. However, for some reason one of the ...
-2
votes
0answers
26 views

Trying to update my plugin in the wordpress.org repository, authentication failed

So I am trying to update my plugin in the wordpress.org repository, and the authentication is not working. I get the error: POST of '/!svn/me': authorization failed: Could not authenticate to ...
5
votes
1answer
127 views

Best way to flush_rewrite_rules for custom post type, in a mu-plugins plugin?

I am writing a plugin that instantiates a custom post type (among other things). It is a multisite plugin and lives in the directory mu-plugins. What is the best practice for handling ...
0
votes
1answer
20 views

Wordpress User Management Departmental Managers

In wordpress is it possible to departmentalise user accounts and then have a departmental manager oversea those accounts in same department but not other departments?
0
votes
0answers
8 views

Help with Widget Update Function

I was putting together a very simple widget plugin. The one thing I'm having trouble with is updating three variable in the backend (title of the widget, affiliate ID, and number of images to show). ...
0
votes
1answer
26 views

Buddypress Member list not showing admin and mods

I'm trying to get a list of members for a buddy press group but the result leaves out members that are admins or mods even though exclude_admins_mods=false has been specified as a parameter. This is ...
0
votes
0answers
22 views

Package site as a Plugin [on hold]

Can I package my external site as a WordPress module that will be installed like a package or plugin? The behavior is like an external site linked inside WordPress using custom databases and configs ...
0
votes
0answers
23 views

Email not sending on wordpress

I am trying to send custom email using ajax in wordpress but it's coming back with 500 internal server error on form submission. Can anyone help me out with this concern <script ...
1
vote
0answers
14 views

Some strings from a .mo file do not load

In a plugin I'm developing, most translations do work, but some strings refuse to work without an apparent reason. For a settings page, I'm using this pattern: $clgs_settings_descriptions = array( ...
0
votes
0answers
9 views

I want to do required field Tags Meta_box before publish a new post

I´m trying to doing a "required field" for the "Tags Metabox" when the user posting a new post, like the featured image metabox. But I'm not sure which is the best solution, via jQuery? or by hooking ...
0
votes
1answer
29 views

Shortcode returning localized HTML part

Here's my issue. I made a shortcode which makes a related article section in post content. Here's the content of this function: $a = shortcode_atts( array( 'id' => 0, ), $atts ); ...
0
votes
0answers
14 views

Display articles on spefic page slug

I need to modify a plug-in for display articles on a specific pages. the pages are : http://host/gallery/gallery-one/, and... http://host/gallery/gallery-two/ the articles are also suddivided in ...
0
votes
1answer
40 views

Disable variations on woo commerce if out of stock

I use Woo Commerce on my site with multiple variations on one product. How do I remove or blank out a variation from being selected if I make the product 'Out of Stock'? I've tried using 'Hide Out of ...
0
votes
0answers
18 views

Adding checkbox opt out to send to campaign monitor not working

For some reason I cannot make this work. Anyone can tell me what is the issue? <?php add_action( 'register_form', 'ac_email_opt_in' ); add_action('register_post','check_checkbox',10,3); ...
0
votes
0answers
18 views

Create tabs in admin options page from custom post type loop

For a WordPress crm/password management plugin I am working on, I have created a custom post type called 'client'. I also have made a separate menu page for storing and showing the passwords of these ...
0
votes
2answers
37 views

Add a row on clicking each post featured image

I have to add a row that (containing the content of post) below the post thumbnail on clicking thumbnail. I have done it by using this but it affects the adjacent post thumbnail.I want that a ...
0
votes
1answer
28 views

wp_enqueue_script inside a class static function [closed]

I have searched for a solution of my problem, but without resolution. I have writed a plugin and in init hook I call wp_enqueue_script and wp_enqueue_style. wp_enqueue_style work correctly, ...
0
votes
1answer
10 views

Wp Debug Enabled True Notices and Warning

Notice: Undefined index: Zumpito_event_full_day in /home2/michael/public_html/domainname.com/wp-content/themes/themename/included/main.php on line 246 Warning: Cannot modify header information - ...
2
votes
1answer
718 views

save_post hook not triggered in WP v3.6.1

I developed a plugin having a custom metabox that is using the save_post hook to store data. The plugin is 18 months old and is used by thousands of customers, so I'm pretty sure everything is good. ...
0
votes
1answer
971 views

Create an user on external database

I have wordpress site and a project management system from codecanyon. Here is the link I have disabled registration for users in project managment system, only login is enabled. I need to make users ...
0
votes
1answer
773 views

Ajax +wordpress onClick link redirect to new page and create html content

i have two pages in my wordpress plugin index.php charts.php in index.php i have some content and some link.. <a onclick="show_trend()" >Trend</a> while clicking this link ,i have ...
0
votes
0answers
11 views

Customize the map from Geodirectory plugin [on hold]

I'm trying to add a color to a particular state for Geodirectory's map since all of the locations are in one state WV. I found this site that generates the JS code for this for JS maps. but don't ...
0
votes
0answers
9 views

Add Community Events 'Submit an Event' form to a page or template

I am using the Community Events add-on of The Events Calendar plugin along with Simple Membership plugin. Simple membership lets me restrict page access to different membership levels via the page ...
34
votes
16answers
4k views

How do you debug plugins?

I am pretty new to plugin authoring and was having a hard time debuging. I used lots of echo and it is sloppy and ugly. I am sure there is a better way to do this, maybe an IDE with a debugger that ...
1
vote
0answers
18 views

Custom Taxonomy and tax_query Issue?

I am working on Plugin development and my plugin name is plugindev.I have a custom post type called team.I have a custom taxonomy Team_Category which is being registered by this code ...
0
votes
1answer
412 views

Woocommerce checkout update totals with datepicker

I've added a new date field on the checkout page. I'd like to create a date based delivery fee calculation. The date field has the 'update_totals_on_change' class. When changing this manually the ...
0
votes
2answers
2k views

using wp_footer hook in a plugin

I'm using the wp_footer hook into the plugin and it doesn't work, but when I copy the code to the "functions.php" file of the active theme it does work, what is the possible problem in this situation ...
0
votes
0answers
15 views

migrating user and passwords from jshop to wordpress

Hi i am migrating from jshop to wordpress so i also want to migrate old website users but there passwords a encryted using md5($string.$salt) method but then if i add user to wordpress database then ...
0
votes
0answers
14 views

How to add custom pages to menu programmatically?

So I need to add some pages when it created to the menu within plugin. Menu id is 125. Pages have taxonomy gp_hubs. $category = wp_insert_term($name, 'gp_hubs'); foreach ($sub_categories as ...
1
vote
1answer
4k views

Auto gallery from folder contents

I want to create a WordPress shortcode that will add an automated gallery of the contents in a folder. I am currently trying to implement this in a site that publishes 12 annual magazine issues, so as ...