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

Custom sub menu is not showing in admin dashboard

Here I am making one small plugin for learning purpose.I have made one admin menu called Feature Slider and it has three sub menu Feature Slider, Add New Feature Slider and Add new movie. 1st two menu ...
-1
votes
0answers
14 views

Create a form where a user can insert a promo code [on hold]

On my wp e-commerce website I need to create a form where a user can insert a promo code given by me (and previously created). Inserting that code, the user can discover if he won a product or a ...
-1
votes
0answers
7 views

How can i add a discount to woocommerce theme that can be by day? [on hold]

i tried to add a discount from Monday until Friday but it didn't work cuz am trying to do it so even if i choose the day in the checkout page it work is there any code i can use to do that ? Thank ...
0
votes
0answers
14 views

Bind a function with its own argument to show something dynamically after every content

I have a function that is grabbing something from database using a user-defined ID. I need to show the content after every post/page content. So I followed @s_ha_dum's solution from WPSE, like below: ...
0
votes
0answers
11 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
19 views

Limit how many times a user reads articles and prompt user to subscribe

I have a Wordpress site on which I would like to limit the number of articles read by each unique visitor. I would like to prompt them to subscribe to my website after an X number of articles have ...
0
votes
1answer
12 views

Plugin README.txt isn't updating in the Directory (stable tag is correct)

I'm fairly certain I've tagged (and updated) everything properly according to the official FAQ. My previous version was 1.0.0 My new (current) version is 1.0.1 I've updated README.txt in trunk with ...
0
votes
1answer
16 views

Sub Menu content is being duplicated

In the plugin I am developing I am using the following code to build my menu - add_menu_page('BCRM Plugin Settings', 'BCRM', 'administrator', __FILE__, 'bcrm_settings_page', BOOGIE__PLUGIN_URL . ...
0
votes
1answer
16 views

How to avoid conflicts with db.php / $wpdb and other plugins that decide to use them?

Our plugin (VersionPress) needs to track database changes so that it can version-control them. We currently do this by creating db.php and overriding the $wpdb instance in it but it has an issue that ...
0
votes
1answer
16 views

Plugin settings are saving but the fields

I'm following @Otto's tutorial on Settings API. I managed to save the plugin settings into the options table, but by any means can't save any fields. <?php /** * Add Settings SubMenu * Thanks ...
-2
votes
0answers
16 views

Plupload: frontend media upload

I want to allow non registered guest uploading all kind of media to my wordpress blog. Therefore I tried several different plugins but non of them have all the required features. NextGEN Gallery ...
-1
votes
0answers
9 views

Plugin to display posts of a specific category, similar to a blog [on hold]

I am creating a magazine style template for WordPress and it has a few different sections displaying a few posts of each category. Kind of like this template: http://gazette.seoresearch.com/ . Is ...
0
votes
0answers
14 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 ...
-1
votes
0answers
21 views

Why wordpress plugin shortcode doesn't work properly with IE [migrated]

I recently working on a wordpress, plugin, it already reached a final stage, and all it left is cross browser compatibility, the problem is why shortcode doesnt work properly With IE. Below are My ...
1
vote
1answer
49 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 ...
1
vote
2answers
27 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 ...
0
votes
0answers
21 views

How to generate embed code [on hold]

I have made a proxy server with Google's app engine. I want users to share it where ever they can, on their blogs/forums/websites etc, but it has a small glitch. I want only the main box shared (like ...
0
votes
1answer
33 views

Plugin can't be activated [closed]

I'm developing a WordPress plugin, but the last changes caused the plugin to stop working. It tells me that I can't activate the plugin because it caused a fatal error. On localhost all is working ...
0
votes
1answer
22 views

how to get the post id in plugin

I have a plugin that I'm working on and I'm having trouble getting the post id so jquery can use it. I'm able to get it using the admin_head hook but I'm not sure how I can return it to jquery. I'm ...
0
votes
1answer
27 views

get_option() will not work without access to wp-config.php

I've created a plugin. In the initialisation file of my plugin I created an options page with some options to be stored by the admin. <form method="post" action="options.php"> <?php ...
0
votes
0answers
11 views

How to modify Genesis core function?

I am trying to modify a Genesis framework core function. I want to remove strip_shortcodes() from the function get_the_content_limit(). Here is my code: if ( wp_get_theme( 'genesis' ) ) { // replace ...
0
votes
0answers
21 views

Sessions in plugin development?

I'm developing a plugin. At present I have two files. dotmailer.php and dotmailer-add.php. I'm creating a newsletter widget. My dotmailer.php plugin adds an admin menu, with options. It allows the ...
0
votes
0answers
6 views

Updated/Tagged/Stable-Tag'ed plugin does not up in wordpress plugin repository

I have a plugin (http://wordpress.org/plugins/scoutnet-kalender) and I update it quite a few times from 0.2.0 (0.2.1, 0.2.2, 0.2.3 ...) to the new major release 1.0.1. I previously did this like ...
0
votes
0answers
16 views

How to leverage hefty memory actions from programmatically creating nav menus

I'm working on a plugin right now and hitting a wall. Long story short, part of the plugin process is to construct a dynamic nav menu. This nav menu can get rather large, and I'm finding that it seems ...
0
votes
1answer
15 views

ouput buffering confusing me!

I've coded a plugin that works with an external ReST API. It is possible to get a set of posts in JSON to render a post list in HTML. Now I want to extend it to provide download links for associated ...
0
votes
0answers
13 views

Plugin, add settings element

I'm new to WordPress and probably similar question already exist, but as far as I didn't find I make a new one. So I'm trying to make my first plugin in wordpress. I got to make plugin settings page ...
1
vote
0answers
18 views

Upgrade Private Plugin without Deleting

I've seen numerous questions asking a way to update a private plugin by checking to self-hosted repository, or update plugin from personal API, but my question is quite different. As we all know, if ...
0
votes
1answer
18 views

Input with spaces in Shortcode attributes overwritten by defaults

question seems to be similar to the one asked here but the answer went down a different path. Pretty much if a user enters a shortcode attribute with a space it will get overwritten by the default ...
0
votes
1answer
77 views

Plugin hook breaks new WP 4.0 media library grid view?

I have a plugin which has code in it which has broken the new WP 4.0 media library grid view. The grid view itself (the rest of the page is fine) won't display if my plugin is active and this option ...
2
votes
1answer
36 views

How do I add a widget programmatically to a newly created site (WPMU) within a plugin?

I'm making a plugin that creates new sites (WPMU), and also has its own widget that needs to be placed onto the new sites it creates. The issue I'm having is that I can't get the plugin to insert ...
0
votes
0answers
58 views

WordPress 4.0 Cookie Authentication to avoid nonce error when publishing a post and page

Cookies are now tied to internal sessions in WordPress 4.0. This means plugins using basic cookie authentication will have trouble because a token is required for publishing a post or page (as well ...
0
votes
1answer
28 views

Calling a class method instantiated by ajax call in wordpress [closed]

I have an ajax call in Wordpress that instantiate a class. I want to be able to call the class methods in other functions. Here is the code to demonstrate. Ajax call: ...
0
votes
2answers
42 views

Creating custom input fields on the admin side

I'm pretty new to wordpress (been using wordpress for a week now) and took over a site from a colleague of mine . He partially created a plugin to input "Specials" onto the site. At the moment, the ...
2
votes
1answer
125 views

Security error WP 4.0 + WP phpBB Bridge [closed]

so today I updated to 4.0 (glad I had backup). Everything was working fine until I tried to publish a post. There I got Are you sure you want to do this. Also had Cheatin' Uh under ...
0
votes
1answer
29 views

Plugin error on activation - breaks page encoding and prints the code of plugin php files

I have WordPress multisite install, everything was working properly. Developed a custom pugin on my local server (same configuration of Nginx, PHP, MySQL, Memcached, the only difference is OS - ...
0
votes
0answers
11 views

Can you create your own widgets and use them for editable areas of client content?

I'm relatively new to WordPress. As a content management system I chose WordPress so that I could design a website for a friend in a way that would be easy for them to use when I had handed it over. ...
0
votes
2answers
22 views

How to make a cronjob type plugin

Hi i am new on wordpress and has been given a task to make such a script that will fetch posts by categories and shoot email to subscribers. The table structure for subscriber is below Subscriber Id ...
0
votes
0answers
35 views

How to customize the WordPress excerpt?

I searched the web and the available plugins, but I couldn't find anything that is easy understandable for a noob like me to do the following: I learned how to create a "Continue Reading" link and ...
0
votes
0answers
6 views

How activate custom plugin in WordPress on virtual box “host only adapter” and no internet connection?

I'm running WordPress in Virtual Box CentOS 6.5 on a laptop without an internet connection. I am able to get the CMS in a web browser by running the virtual box using a "host only adapter". However, ...
0
votes
0answers
27 views

Input gets deleted/overwritten after changing to different Admin Menu

After I have added a plugin menu and have some input to be saved in the database, everything works fine and gets saved, even if I refresh the current page. However, once I go to other menus in ...
0
votes
2answers
31 views

register_activation_hook on multisite

I am working on creating a plugin for a multisite wordpress framework that is enabled by default for all (by me, the super administrator) When it activates it is required to create 2 tables where it ...
0
votes
1answer
15 views

How to cancle update messages from a changed plugin

I did many changes on an plugin which was allowed to be manipulated. Now I want to be sure, that an update will not overwrite all my changes. What can I do to prohibit it from updating (or showing ...
0
votes
0answers
32 views

Simple WP Plugin with plugin settings page

I need to create a plugin with only one select on his settings page and save select value. I have a select with all register menus and I can not to save my select value. What am I doing wrong? What ...
0
votes
1answer
18 views

Need to hide an element depending on date and post category

I've been racking my brains for a few days trying to figure this out. I'm using WP Voting on my site. I need to create a script in single.php that will remove the div that contains the voting widget ...
0
votes
0answers
35 views

How to execute function/method when specific URL is called?

I have url "www.something.com/wp-content/plugins/tool_new/admin/new_tool_email.php?method=new_tool_send" I want to sent up real cron job, and when this url is called to execute method ...
1
vote
1answer
82 views

Proper way to pass credentials in a custom login form to avoid “headers already sent”

I'm working on a custom login page plugin. I'm trying to figure out how to log the user in without creating "headers already sent" errors. I was calling wp_signon directly after the user clicked ...
0
votes
1answer
15 views

Children Shortcodes?

I started creating WordPress plugins a few weeks ago, and I would like to know if it's possible to somehow "embed" shortcodes in some others. Basically what I want to do is create a table or a list, ...
0
votes
0answers
29 views

Can't use get_option function in PHP file located inside plugin folder

I am currently developing a small plugin which queries an API for some XML data. The XML data is then used to display a page. I wanted to do most of the display and formatting related stuff in ...
4
votes
1answer
41 views

Check the Version of an Enqueue'd External Library

I want to use an external font library in my plugin, but I want to do a version check first to determine if I should bother enqueue'ing my version or not. I know I can see if a library is already ...