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

Page URL that is the same as other but in a different category

Is there anyway to prevent a duplicate post getting assigned a number as it's title despite being in a different category? www.example.com/coca-cola/diet www.example.com/pepsi/diet-2 Both are ...
0
votes
2answers
22 views

dequeue not work

i use a plugin that containing this code and i want to change js location to be located in my template directory instead of plugin without editing the plugin files class jqueryTimelinrLoad { ...
0
votes
1answer
632 views

Insert new user with form submit 'init' hook

I'm posting a form to insert a new user and hooking my function to 'init'. This code is in my mu-plugins folder. The user gets inserted fine, but the page is not loaded after wards. My form action ...
0
votes
0answers
11 views

Export CSV path in custom plugin

I create a plugin called project, which not using custom post type. I created a separate table for it. function menu() { add_menu_page('Project', 'Project', 'administrator', 'project', ...
0
votes
0answers
18 views

Search prices using drop-down range with WP Search Custom Fields plugin

I've built a search form using WP Custom Fields Search. The form searches a number of custom fields, all of which work perfectly.. except for one. I've set up a field in the search form with the ...
0
votes
1answer
50 views

Load custom PHP on a custom URL via a plugin

I am looking into having a plugin developed that loads a PHP script (myscript.php) on a custom URL. It's very important to achieve this functionality with a plugin. Example: example.com/myscript - ...
0
votes
2answers
2k views

How to append new form elements in “Add New” form of Users in Wordpress admin panel?

I'm developing a WordPress plugin and I want to append some extra form fields in add new form of Users section inside admin panel without editing core files. Can somebody help me in achieving this.
-2
votes
4answers
85 views

Plugin to install a plugin

I'm wondering if there is a way for a plugin to install other plugins directly. That means, I provide an interface for the user to click multiple plugins and download and install them directly to ...
0
votes
1answer
23 views

Restrict access to live site from public while showing small group the new site all on the same URL?

I am trying to come up with a way that I can put a WOrdPress site live on it;s final server for a client and have the site hidden from public. It would show a dummy placeholder page to all visitor ...
0
votes
2answers
435 views

Absolute paths in backend for plugins after moving wordpress

I wanted to move my wordpress from www.domain.com/old-name to www.domain.com/new-name. I thought that this is no problem and I missed backing up... Now if your are logged in into the dashboard the ...
0
votes
1answer
642 views

Integrating jQuery Datatables with Editor into wordpress admin

I am trying to integrate jQuery Datables into my Wordpress plugin http://editor.datatables.net/ I have Created a database table CREATE TABLE `id` ( `id` int(10) NOT NULL auto_increment, `first` ...
0
votes
0answers
18 views

Error 402: Unable to create order. Please try again

I'am facing this error after site transferring from one domain to another. site link is http://hybridsfromhell.net/checkout Error.log file error: [29-Jun-2015 19:00:23 UTC] WordPress database ...
0
votes
0answers
16 views

Wordpress listening on specific port

I am trying to get Wordpress to run on vagrant I have port forwarding for 127.0.0.1:8080 on my host machine. Everything runs just great except plugin scripts are stripping out :8080 from their url ...
0
votes
3answers
154 views

Show media-uploads to all users

I want my media-library and all currently uploaded files distributed and available to all users. I am using the User Role Editor Plugin Is there any functions.php hack that makes all media-uploads ...
1
vote
1answer
34 views

Subdomains with almost the same content

I have to create a website for a client. This client sells different products, and wants to enhance their view. The best way I thought about was to create subdomains, for example product1.domain.com, ...
0
votes
1answer
447 views

Not getting the Correct JSON response from Ajax Request

I am trying to save data from backend with ajax. But its returning data in HTML as well. But i want only JSON data. ////////////////////////////////// // Do Ajax Request to ...
0
votes
1answer
439 views

Woocommerce custom fields

I'm using woocommerce plugin in my wordpress web site. In Admin panel for products I've added few custom fields as shown bellow: On my shop page, I want to print the custom field values, and I use ...
-1
votes
0answers
18 views

How to stop theme from cropping my photos?

I have a Wordpress site using the Simple Shop theme with the Woocommerce plugin. When I upload an image for the shop page, the theme automatically crops the photo to fit in its spot on the page. I ...
-1
votes
0answers
6 views

Live Composer differences on live site vs in editor

I'm currently using Live Composer to set up a quick Wordpress site (never used it before, designer's choice.) Currently, I have a test banner up on the main page. It looks fine in the editor, I have ...
2
votes
2answers
378 views

Image resizing on home page (product category) [closed]

I have been working on resizing the images on my wordpress website, the images are not appearing on equal sizes or not aligning properly. But inside the product pages it looks normal size but in the ...
2
votes
1answer
431 views

Is there a limit on the size of a WP page?

I have a plugin that generates a gallery of user photos. Currently, it works using img tags pointing to the user photo image. It attaches to the the_content filter. I'm experimenting with converting ...
0
votes
1answer
39 views

change plugin shortcode function [closed]

i use a plugin that containing this code and i want to change the css and js and template.php location to be located in my template directory instead of plugin without editing the plugin files public ...
0
votes
0answers
31 views

wp_editor content in plugin options page

Hi I'm writing a plugin it involves the site builder / user adding content via wp_editor this content is then saved and submitted via a submit_button. I've wrapped the editor in form action = ...
-1
votes
1answer
21 views

WordPress plugin add_filter returning a link does not work. What is the correct way?

function ls_de_options($content) { return '<h3><a href="www.google.com">Hello World</a></h3>'.$content; } add_filter( 'the_content', 'ls_de_options' ); ...
0
votes
1answer
382 views

WP-API Custom Post Type json_no_route

I have created a custom post type and extended the WP_JSON_CustomPostType class as in the documentation, I can see the custom type when I go to wp-json/ but as soon as I go into wp-json/quizes it ...
0
votes
1answer
479 views

query_vars in plugin when using custom permalinks

I am trying to do the following I need to get the category of the current page at the plugin level so before it goes to archive.php orsingle.php so i have a plugin to do this and based upon ...
1
vote
1answer
1k views

How can I make a custom post type sticky?

I installed the "Sticky Custom Post Types" plugin, and I added this code to my function.php: function wpb_cpt_sticky_at_top( $posts ) { // apply it on the archives only if ( is_main_query() ...
0
votes
1answer
125 views

Add form fields dynamically on button click

I am looking forward to create a form section on click of a button click. Say I want to add a new seller agent information section as many times I want to on click of + button. The seller agent ...
0
votes
2answers
2k views

Mass check a certain box in an option panel for 3000+ WooCommerce products?

I am using WooCommerce and have 3000+ products. With WooCommerce, there is an option to enable/disable reviews for each product. The box looks like this on my edit product page: Unfortunately, the ...
0
votes
0answers
65 views

Getting error while installing wp_remote_get plugin

I Use a VPS centos 6.6, and wordpress version is 4.2.2, i have cURL installed and php-common installed and enabled on my server, but when i try to active the wp_remote_get plugin i receive the below ...
0
votes
1answer
36 views

Which Wordpress version to use for improved plugin compatibility? [closed]

I am currently using WordPress 4.2.2 and Woocommerce 2.3.11 - I find that many plugins associated with Woocommerce have not yet been updated for whatever reason. In some cases a whole year has gone ...
0
votes
0answers
21 views

Redeclare fatal error for PHP script in plugin when also in active theme

I'm developing a plugin and would like to include Aqua Resizer. However, when the active theme also uses the script, I get a fatal error: Fatal error: Cannot redeclare aq_resize() (previously ...
1
vote
2answers
3k views

woocommerce Add custom field set like billing fields

I am working on E-commerce functions where i require to Add custom fieldset as Profile Fields the fields in it are as billing Below are the Fields that is needed in My Check out and signup form ...
0
votes
2answers
1k views

Problems with migrating a WooCommerce orders

I am trying to import/export orders from one WooCommerce website to another. After using the WordPress import/export tool for the "orders", the individual order page no longer shows the product(s) ...
-1
votes
0answers
18 views

Can't update the shipping amount while checkout

I am trying to add shipping cost to the current order with a custom plugin code. I have write a plugin to display some radio buttons for delivery option and pickup option and embed one javascript file ...
2
votes
3answers
1k views

SESSION in WordPress Plugin Development

I wondering the session was disable in wordpress. I try to find some information on using session variables in the wordpress. I tried the following method to implement session variables in the ...
0
votes
3answers
2k views

Search WooCommerce Products in WordPress

I've noticed that my WooCommerce products are not searched by the default WordPress search function. Any idea how to modify the function to ensure that products and product tabs are searched?
0
votes
2answers
36 views

Deregister scripts from plugin

I have an own class that deregisters all scripts and styles and creates 2 cached files one for scripts and one for styles that is registered in the end. This runs inside theme, my problem is that I ...
3
votes
2answers
18k views

How to edit the get_price_html on woocommerce

I am trying to edit the price value for a single product. In single-product/price.php there is a template call to $product->get_price_html. How can I edit that function/method to change the way the ...
0
votes
1answer
22 views

update_option_{$option} not showing old value

I have the following bit of code (note, I put the mail() function in only to see what the values are): add_action('init','system_init_actions'); function system_init_actions() { ...
0
votes
1answer
37 views

Cannot access my wp-admin after installing Gzip compression [closed]

I have installed a WP Plugin called Gzip Compression to increased the speedpage and had an awful surprised: have no access to the website at all, giving me an error of invalid form of compression, and ...
0
votes
0answers
21 views

Getting gallery and image detail URL in Photo Gallery plugin

I am migrating photo galleries from old gallery system to Photo gallery plugin. Because I need to make a HTTP 301 redirection from original URL (gallery and photo detail) to new URL in Photo Gallery ...
33
votes
4answers
9k views

Best way to initiate a class in a WP plugin?

I've created a plugin, and of course being me, I wanted to go with a nice OO approach. Now what I've been doing is to create this class and then just below create an instance of this class: class ...
0
votes
1answer
14 views

The Commercial tab is missing from the Plugins page when trying to update Types 1.7

I have Types installed and registered on my live server, but also want to get it installed on my development server (which of course has a different URL so will have to be registered separately). ...
2
votes
1answer
28 views

How to crop image from center using wp_image_editor

I am working on WordPress plugin. In plugin the user upload images from meta field and in back end i use wp_image_editor for cropping and re sizing the images. The images re sized very well but on ...
0
votes
2answers
433 views

How to add a custom page template selector to a custom taxonomy?

I am trying to add the custom page template selector that can be found in the "edit page" screen for pages to a custom taxonomy. The custom taxonomy is product_cat created by WooCommerce. I am using ...
0
votes
3answers
34 views

Check if the front end user is log in or not

I am using "front-end-only-users" plugin for user registration and log in system. Now how i check that my front end user is log in or not through coding i use 'is_user_logged_in()' but it checking the ...
0
votes
1answer
27 views

WP_Filesystem usage within a block of code

What i am trying to do is to have this function working within my plugin block of code without having it as plugin on it own. My current and working solution outside wordpress is Save contents ...
0
votes
0answers
14 views

Trending Tags based on post views

I'm looking to display a list of the most trending tags on my wordpress blog - based on views that the posts within these tags have had, with a max tag count of around 10. I've looked into the ...
0
votes
1answer
34 views

Preventing My Plugin From Being Used For Free

I've been working with a software developer as a freelancer for a couple weeks. They have a useful plugin that they have recently learned has been being used for free very often. I'm looking for ...