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

Inactive Plugin Files

One of my plugins have some files that are inactive. I did some googling and found out that this is caused by editing files while the plugin is still active. OOPS, guilty. I then deactivated and ...
0
votes
1answer
16 views

Allow Facebook to preview posts before published

I want to allow Facebook (user agent facebookexternalhit) to access scheduled posts before they're published, so it can access meta information in order to schedule a status. Currently I temporarily ...
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
1answer
462 views

Hide Meta Boxes for Non-Admins

I have a review based wordpress site where I have a page for each different company where there users can review them. The theme I use adds a custom post type called "review" and I have used Press ...
1
vote
1answer
47 views

How to make Http Request to a php file present in plugin directory of wordpress

I'am new to wordpress plugin development and I'am developing a plugin (say myplugin) and I'am stuck in following problem. I had kept this plugin in mywebsite/wp-content/plugin/myplugin Inside ...
0
votes
0answers
20 views

Cannot Enqueue JS Script in Wordpress Admin

I'm running through a tutorial to add some ajax functionality to the admin area of WordPress and have hit a road block. I've been trying for a couple of hours now and as far as I'm aware, the below ...
1
vote
1answer
399 views

Replace woocommerce | (pipe) separator in product variation to , or another character?

How to replace Woocommerce | (pipe) separator in product variation to , or another character? I use Cyrillic keyboard layout and there is no pipe symbol. To enter that symbol I have to switch to ...
1
vote
1answer
2k views

How do you remove display of WooCommerce product category on single product page?

On my single product pages, I would like to change the meta data so that the Category button for the product does not display. I can't seem to figure out where this is called. I've looked in various ...
0
votes
0answers
24 views

wp-cli silently fails with error code 255

When I run most wp-cli commands I get silent failure. If I echo the return code, I can see that it is 255. Some background. Our team is working on a plugin. Previous version of plugin works fine with ...
0
votes
0answers
19 views

Wordpress admin menu pages not receiving passed info

I have a Wordpress menu page (A) and a wordpress submenu page (B). I want to pass data from A to B. A has a list of items and I want B to show the details of each item, by passing the item id to it. ...
1
vote
1answer
48 views

Custom Widget Creating PHP Exception When Placed In Its Own PHP File

I have a custom plugin created and i have created a widget. At the moment this code is included in the base php file for the plugin and its working fine. I want to move the widget and all future ones ...
0
votes
0answers
13 views

WordPress running on AWS behind a load balancer forces HTTPS links [duplicate]

Something weird happened to our website. After migrating to AWS, the setup is as follows: 1. 2 web nodes 2. 1 load balancer 3. S3 for content 4. RDS with a few DB instances Not sure what happened ...
0
votes
0answers
29 views

How to create a new database table whenever user changes options

I'am new to wordpress plugin development and I'am stuck in developing menu for my plugin. By going through documentation and many sites i created following menu. But i want to create a new table in ...
0
votes
1answer
519 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
-2
votes
0answers
11 views

One plugin affects another's css [on hold]

one of my plugins is affecting the css of another plugin. RPB Chessboard widget's css is normally this: http://imgur.com/GGSk4jU When a Quiz Master Next quiz is active, the css changes to this: ...
0
votes
0answers
14 views

Displaying PODS data in slider

I am working on a site that has already been created. The site uses PODS to create custom post types. One custom post type is "spotlight" which features certain people. I am trying to display ...
0
votes
1answer
2k views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
0
votes
2answers
31 views

Use wp_enqueue_scripts from included php file

I've got a realy hair pulling problem here. I've started cleaning up a plugin i've made and sort some of the functions in diffrent files. but i've got a problem with wp_enqueue_scripts. when i ...
0
votes
0answers
8 views

Plugin: Sensei - Remove action via another plugin

I am trying to remove an action within an existing WooThemes Sensei Class: global $woothemes_sensei; remove_action( 'sensei_single_course_modules_before', array( ...
0
votes
3answers
30 views

Optimizing site

So, I have about 10 plugins. They all have their own js and css files. However I also customized the site and not much of css and js are used. Is there a way for me to clean these up and ...
2
votes
1answer
3k views

Insert query inserts 2 entries, should insert 1

I've written a small posts by views plugin, well at least started one. My tables are set up but when they are updated the code adds 2 entries into my table when a post is loaded and views are ...
0
votes
1answer
25 views

Does the WordPress API have Modal Dialogs

Does the WordPress API have a Modal Dialog like BootStrap does? In my WordPress Plugin admin page - the plugin settings page accessed through the Dashboard - I would like to have modal dialogs appear ...
0
votes
0answers
22 views

Bootstrap Drop Down menu is not working

Bootstrap dropdown is working when i added the jquery( https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js ) in footer and by deregistering wodpress default jquery. When i disabling the ...
2
votes
2answers
394 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" ...
0
votes
1answer
24 views

Create a custom page template inside my wordpress plugin

I'm developing a Wordpress plugin and I want to create a file to where I want to redirect the user to show some information. I know that a perfect solution for this is using Wordpress custom pages. ...
0
votes
1answer
12 views

Things that saved lose when logout

i been working on theme for my portfolio on my host and domain name http://alyelgarhy.com/ and things i saved when login changed when logout for example i change the tagline to senior web designer ...
0
votes
1answer
416 views

Hiding posts - WP Hide Post not working

I frequently publish posts that I need to be hidden. They need to be published, so that someone who has their url can go to them, but I don't want them showing up on my homepage, in my recent posts ...
3
votes
5answers
2k views

How to run Two Wordpress blogs with different themes and with single database and same content

How do you run two Wordpress blogs with different themes using one database where the content remains the same in both sites? The issue that I am getting is at the Domain mapping in both blogs.
0
votes
0answers
19 views

Open Modal and load external URL in new tab

The theme CouponXL http://demo.powerthemes.club/themes/couponxl/ that is specific offers and discount coupons, clicking on a discount coupon (SHOW CODE) comes a modal window (from its own URL) and in ...
0
votes
1answer
37 views

Modify php code from plugin

I'd like to modify a plugin's php file that has only a bunch of if/else and echo statements. I can do it by copying the file into the child theme folder and changing the one little thing, but if the ...
0
votes
1answer
19 views

WP::is_main_query() Not Working

I am Trying to add some content before the posts container I use this code add_action( 'wp', 'mainFunc' ); function mainFunc( $query ) { if ( is_home() && $query->is_main_query()) { ...
0
votes
1answer
541 views

Form isn't inserting data into database with ajax plugin

I've been working at this for weeks without success. I've figured out problem after problem with the code, but none of the corrections seem to fix my core problem. The form doesn't insert anything ...
-1
votes
0answers
15 views

'Custom Twitter Wordpress' plugin causes wp_enqueue_script errors?

The debug log is: Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or ...
0
votes
0answers
18 views

Is it possible to place plugin files inside a Wordpress theme?

Is it possible to place plugin files inside a Wordpress theme? I have customize the plugin and on updation of the plugin all the code will be lost.
0
votes
0answers
11 views

All in one wp security breaked my /wp-admin

After installing the plugin all in one wp security, now we can't access to the wp-admin, we get redirected to 127.0.0.1, I checked on the .htaccess for clues and found this: # BEGIN All In One WP ...
1
vote
1answer
109 views

How do I add advanced custom fields / meta fields to Elasticsearch? [closed]

I am using the plugin ElasticPress. I'd like it to index some extra (advanced custom) fields. The only info I can find is this comment by one of the developers: [...]if you would like to add ...
0
votes
3answers
1k 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
1answer
404 views

Archive with months of current year only

I'm trying to figure out how to get the following archive navigation: JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC 2012 | 2014 Thus, a list with the months of the current or selected year ...
0
votes
1answer
13 views

How Should Custom Functions Be Called For Single Posts?

I have been trying to find the answer to this. I want to use the best method performance wise, but also want to make this solution portable as possible. I have created a plugin that adds multiple ...
16
votes
2answers
9k views

Disable update notification for individual plugins

Is there a way to disable update notifications for specific plugins? As a plugin developer, I have some plugins installed on my personal site using the svn trunk version for testing, but the same ...
-2
votes
1answer
35 views

In WordPress, after installing “Pie Register” plugin, admin permission is GONE! [closed]

After installing the Pie Register plugin to my WordPress (v4.2.2) site, I found my administrator user lost all its administrative permissions. The menus for viewing and changing the site ...
2
votes
1answer
2k views

Display products for a category, sorted by post_excerpt

I'd like to display a list of products for a certain category, sorted by the post_excerpt. The original code I used was this: $args = array( 'tax_query' => array( array( ...
0
votes
0answers
14 views

How to sanitize an input array to save in options?

I want to santize a category IDs list before updating it, how this should be done. This is how I'm doing: $categories = get_categories(array('hide_empty'=> 0)); foreach($categories as $category) { ...
-1
votes
1answer
23 views

I want to filter my products with attributes [closed]

I have ebook store, where all the books are listed, everything is done.. In products, publisher and author added as a custom attributes. Now I want to filter the products on the basis of ...
1
vote
1answer
578 views

wp_specialchars and wp_specialchars_decode in a shortcode plugin

I have written my first plugin, a shortcode plugin. I have read about wp_specialchars and wp_specialchars_decode but I'm not sure how to use them. The plugin read a shortcode allowing some parameters ...
-1
votes
0answers
22 views

Creating a blank wp_head() action

I'm creating a plugin and one of the screens of the plugin needs to be a completely fresh template page. I've got it all hooked up and it's working fine but the issue is that there are certain plugins ...
0
votes
1answer
514 views

Unable to add TAB character to post?

I am using the CodeColorer plugin to display source code in my WordPress. I am trying to have my code indented so that it displays properly on the website. However, when I try to add the following ...
0
votes
4answers
497 views

Error uploading plugin zip file

I have a question here and hope you guys can help me with that. Couldn't find the exact answer from search and I am not a coder myself. I was given the instruction (to change plugin name) by my ...
0
votes
0answers
16 views

Block host access via theme files?

so I have been reading up on analytics spam and have been looking for a way of dealing with it across multiple wordpress sites I run. The best solution seems to be to block the hostname via my ...
0
votes
1answer
409 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 ...