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
2answers
782 views

Saving Custom Post types and fields to a custom table

I have a project in which I am trying to import a large amount of data into a WordPress installation and from that data, create pages on my site (as a custom post type). Since these pages will be ...
0
votes
0answers
16 views

Manipulate a <p> element via add_filter / function.php

I would like to add a class to the following <p> tag: <p class="form-row form-row-wide"> <input class="input-checkbox GR_checkoutbox" value="1" id="gr_checkout_checkbox" ...
0
votes
0answers
10 views

Add content from URLs

I want to create many many news sources in admin panel. Also, sources will auto update. You can think like feedly.com system. And if I want publish that news in my Wordpress site. Is it possible? Is ...
-1
votes
2answers
3k views

How do I stop out of stock items from appearing on my WooCommerce site when using the Layered Nav widget [closed]

WooCommerce includes a handy Layered Nav widget. This allows you to filter the catalog items based on attributes that you've set, including for variations of items (like different sizes.) However, if ...
0
votes
0answers
10 views

How to clean tables after plugins are uninstalled

A number of plugins which I use earlier are not uninstalled and there tables are still there. I don't know the table names created by those plugins. Is there a way to automatically delete (via a ...
0
votes
0answers
9 views

function get_page_permastruct() on a non-object

global $user_ID; $page['post_type'] = 'page'; $page['post_content'] = "Hello world"; $page['post_parent'] ...
-3
votes
0answers
15 views

How do i get all title of widget

if i have 3 widget like sidebar-1 ,sidebar-2 , sidebar-3 <div id="supplementary"> <div id="footer-sidebar" class="footer-sidebar widget-area" role="complementary"> <?php ...
-1
votes
0answers
12 views

Display dynamic pricing in the Woocommerce wishlist (bulk vs special offer)

I contacted Woocommerce support, they said they didn't support customisations and to try here. I've created a plugin to show dynamic pricing in the wishlist. My code creates a copy of the cart, ...
0
votes
0answers
8 views

WordPress - Pass A Value From Outside To A Plugin Variable

Is there a way to pass a custom variable value from outside like from functions.php to a plugin's variable? Lets say that I have the following function defined in a plugin. function plugin_funct(){ ...
-2
votes
0answers
6 views

Placing a product (woocommerce) from PAGE (..not from WS Dashboard)

Hi, am currently working on a project (and got lost a bit) where the main part is, that specific users will be able to post products from a WS page, "Place product" page. I only know how to add ...
0
votes
1answer
497 views

Adding inside wp-plugin jQuery script that receives JSON-formatted data, generated by php-function inside this plugin

I'm trying to add Highstock chart in my plugin. It requires input data in json format. But I have some troubles with default json parser in jQuery. I've already read this article, but still can't ...
-2
votes
0answers
18 views

eAccelerator for Wordpress How to make it work properly [on hold]

I was looking for solutions to speed up my buddypress website because it's taking ages to load and I've randomly found this article which talks about "eAccelerator for Wordpress". It says to extract ...
0
votes
0answers
14 views

Could not upload image in admin panel while making a plugin in wordpress

I am trying to make simple plugin but my problem is image which can not appear in admin panel... Here is my code: class DM_options{ public $options; public function __construct(){ ...
0
votes
0answers
20 views

Remove Adsense Ad in Forum Area [on hold]

I do realize this is more of a plugin-specific question, but I've already asked in the plugin support pages to no avail. I've also tried various php code solutions I've found online but none of it ...
1
vote
1answer
371 views

Remote upload file to server B

I'm aware this might be some of the hardest coding to do ever, but thought of giving it a try. Im basically trying to detect all (mp3) filetypes uploaded through the Wordpress media upload and send ...
0
votes
1answer
29 views

Delete tables from database when deleting plugin

I created a plugin and want to add a function to delete my tables from the database when a user deletes my plugin. I created a function that deletes tables from the DB when a user deactivates my ...
71
votes
12answers
43k views

Adding a Taxonomy Filter to Admin List for a Custom Post Type?

I have created a Custom Post Type called 'listing' and added a Custom Taxonomy called 'businesses'. I would like to add a dropdown list of Businesses to the admin list for the Listings. Here is what ...
0
votes
0answers
21 views

Carousel with most viewed posts from last 7 days

I'm looking for a way to display the most viewed post from the last seven days into a carousel ( displaying the image thumbnail, and the title). I'm using a existing carousel, and trying to tweak it ...
-2
votes
0answers
15 views

s2Member: Links from member list to profile pages built from [s2member-list] [on hold]

I've got an s2member shortcode giving me a fairly good member listing of all the members on my site. The documentation for the shortcode giving me my list, provides the following attribute: ...
0
votes
1answer
34 views

Allow a role to edit one specific plugin

Is there any way to allow a particular role (Contributors, in this case) to use one plugin, and one plugin only? I would like them to be able to add images to a gallery when writing their post, but ...
0
votes
0answers
11 views

Send POST variable with 'post_publish'

I have a custom button which triggers my page builder to load on the post.php page upon clicking it. However, I want to send a variable as well with it. Here's what I tried $('#post').attr('action', ...
0
votes
0answers
26 views

How to make a plugin theme-wide?

I have written a working plugin and meets the criteria. Although I've encountered an issue, I've noticed that it's only usable on the theme's functions.php that I write the function and specify the ...
0
votes
1answer
733 views

Saving/Writing/Adding file to upload folder

Within a plugin I am generating an image, I would like to save this image to the upload folder and update the WPDB with the location of said file. I cant find any build in wordpress functions to ...
0
votes
1answer
37 views

Custom meta box with jQuery.sortable custom post type list

What I'm trying to do is have a custom post type ordered differently on different pages. I've searched around for quite a while and can't seem to find anything to help. I have a post type named staff ...
3
votes
4answers
2k views

Removing an admin page added by a 3rd party plugin. Gravity forms in this example

I'm trying to hide a help page from editors, added by the gravity forms plugin. I believe I've run into the same issue before with other plugins, so I'd like to know the correct way to do it for 3rd ...
0
votes
0answers
15 views

How to auto populate about us page with data from signup?

If I have a default about us page that is used in new sites added to my multisite installation, is it possible to collect the name, email & phone etc on the new user sign up form and have that ...
0
votes
1answer
39 views

Comparisson between date() and a date from wp_postmeta

I am using the calendar plugin: "The Events Calendar", and is trying to get the events that are done. I can't see what it is that I'm doing wrong, but I'm pretty sure that my meta_query is wrong, ...
-2
votes
0answers
10 views

Send email using Subscribe2 with wp_insert_post not in Admin section [on hold]

I'm creating a new blog post through a template. I do that with the following code: if($_POST['category_name'] != ''){ $cat_ids = $_POST['category_name']; } $bmt_post = ...
2
votes
1answer
160 views

What are these entries in the database? Looks similar to JSON

So I have been wondering for a while now what these entries are and what they do, also what the format of them are. They look similar to JSON but are definitely not JSON. ...
-2
votes
0answers
14 views

Contact Form 7 Pipe _raw_ not working on select [on hold]

Hello I am trying to use pipes in a select box on contact form 7, I am using the code that is displayed on http://contactform7.com/selectable-recipient-with-pipes/ [select your-recipient ...
-1
votes
1answer
2k views

Add a Span Around a Product Title in WooCommerce [on hold]

I'm customizing a custom theme to use WooCommerce. One of the issues I've run into is adding a span tag around a product title on the single product page. I've figured out how to add a filter to the ...
-1
votes
0answers
6 views

Kento Post Views counter doesn`t work [on hold]

Kento Post Views counter for unique view doesn`t work well. I have Kento Post Views counter plugin in wordpress, but not working well. Sometime it appears double stats, the stats aren`t appearing ...
1
vote
1answer
50 views

The problem with Wordpress Importer

I've tried many times to upload theme-unit-test-data.xml from http://codex.wordpress.org/Theme_Unit_Test But when I'm trying to upload this file in WordPress Importer it gives me an error saying: ...
1
vote
2answers
1k views

How to only hook on Single.php after content?

I am currently hooking on the_content() but that goes through the Wordpress loop too. How can I only hook on the Single.php page? Also, is there a way to only look on the first X posts in the ...
-2
votes
0answers
9 views

Cannot install plugin on bitnami amazon ec2 instance Failed to connect to FTP Server [on hold]

I've activated an Amazon EC2 micro instance with the "Wordpress Bitnami AMI". I've got a password and username. I've opened FTP ports on "security groups" of amazon. I'm getting below error: ...
0
votes
1answer
276 views

Action hook “wp_insert_post” works but not for last imported post

I want to run a custom function whenever posts are imported to my custom post type. I am currently running this code - function on_post_import($post){ global $wpdb; $results = ...
1
vote
1answer
658 views

404 Error on Activate / Deactivate Plugin

I have a standard WP install (3.5.1) and am trying to activate a new plugin (WP Super Cache) however each time I try to activate it, I get my site's 404 error page... which is strange as it's the same ...
0
votes
1answer
2k views

Using AJAX to run SQL statement and populate dropdown

I am trying to create a search where the user selects two different bits of data from the database and it then prints some results that meet requirements. I know I need to use AJAX, or something ...
0
votes
0answers
582 views

Getting 404 page not found error while trying to access add new plugin / themes

I am getting 404 page not found error while trying to add new plugin or view installed plugin in my admin panel. i am using Hueman theme. every time i tried to use some option of admin panel i am ...
-1
votes
0answers
14 views

Wordpress plugin supporting upvote/downvote of comments along with star ratings and average star rating [on hold]

I am looking for a plugin that supports the following:- 1) User could leave star rating with or without a comment and average user rating is shown on the page 2) User comment with star rating could be ...
0
votes
0answers
23 views

Disqus comments not displaying properly

I recently installed the Disqus plugin on a theme I have been building but am not seeing the Disqus comment section as I should be. I can see that it is sort of working, for example using Dev Tools I ...
1
vote
2answers
31 views

Fatal error: Class not found in

I am working on a plugin for 'hooking' an extra payment provider into a checkout system. I have a class gtpCheckoutData in my function.php which calculates the prices. In my plugin I want to use ...
-2
votes
1answer
30 views

Self-hosted Plugins & Themes store with auto-updates? [closed]

I'm looking for a way to self-host a WordPress Plugins/Themes store (ideally at no cost — I am but a poor developer!) with the following features: Sell Plugin/Theme downloads Auto-updates for sold ...
-1
votes
1answer
23 views

Show div only if he has value insided - advanced custom fields plugin

Recently I installed the advanced custom fields plugin, and I want to display the fields only if there is values inside. So I used if statement and its work fine. Now I have some fields to display and ...
0
votes
0answers
12 views

Add image to post from external URL

I'm doing a plugin that can retrieve media from external APIs, and when I click on it (on the admin), it insert a new post with the media, its caption, etc. So, now, I'm inserting a new post on click ...
-1
votes
0answers
7 views

A plug-in that allows users to borrow clothes for a selected time [closed]

I'm in the process of creating a website that allows users to borrow clothes that I put up. Payment would not depend on days, but rather on the product itself and other variables. The closest plug-ins ...
2
votes
1answer
188 views

Display update notification messages like 'What's New'

I am about to push out a new update for my plugin. I've used a few functions only available to WordPress 3.8, which is fine because I want to support the latest version. How do I display a message to ...
0
votes
0answers
13 views

Translating wordpress plugin and themes

I created wordpress contact form plugin. I created function for translation, with poedit function ap_action_init() { // Localization load_plugin_textdomain('prijava_forma', false, ...
0
votes
0answers
8 views

Does adding nonce in save_post hook for every metabox really improve security? [duplicate]

I see a lot of example [1] that introduce the checking of nonce in the save_post callback of a metabox. e.g. function smashing_save_post_class_meta( $post_id, $post ) { /* Verify the nonce before ...
-1
votes
0answers
14 views

The cheapest way of receiving multiple small payments [closed]

I am looking for the cheapest and most convenient solution for one of the websites. Let's assume the website is providing paid weather service. There are 3 locations for which one can retreive weather ...