0
votes
0answers
20 views

Shortcode in HTML not working [on hold]

I'm having a lot of trouble with something that seems simple. I'm trying to get a form to appear inside a lightbox (using the Easy Fancybox plugin – feel free to recommend an alternative since it ...
0
votes
0answers
10 views

Plugin update without overwriting the functionality [duplicate]

I have installed some plugins with my WordPress site, some time i modify a lot in the (.css or .php) files of the plugin to get the results i want after that i can use them with more than one site, so ...
-1
votes
0answers
15 views

Add the Category Slug to a class in a link array [duplicate]

I am using the Microkids Related Posts Plugin and I want to add the Category Slug into a class in the link. This is so that I can use the Category Slug as a unique global identifier which I can target ...
4
votes
3answers
430 views

Is it a good idea to edit an already existing plugin to add more functionality?

I need to add a relatively small bit of functionality to a Wordpress plugin and I have the option to either edit the plugin directly, or scrap the plugin completely and repurpose PHP code from another ...
0
votes
1answer
26 views

Style Wordpress Custom Post Type Single Page

I'm registering a custom post type 'events'. The events can be listed using a shortcode, and when you click on an event you go to the single view of that event. Now, I want this single view page to be ...
0
votes
0answers
19 views

add classes to wordpress menu links

As the title already says, I am trying to add classes on the WordPress menu item links (so not the li, but the a element). If it is possible to achieve something similar to WordPress its own function ...
0
votes
0answers
21 views

define multiple post thumbnails

i'm building a page for catalogs which shows all subpages in a grid with their selected post thumbnail. That works without a problem. Now I need a solution how to define 2 more pictures as a special ...
1
vote
1answer
58 views

Plugin Customization Lost During Plugin Upgates

I asked this on the WordPress Plugins/Hacks Forum because SE was in read-only mode yesterday. I did get an answer, but the "relative noobie" is kicking in, as I need an example in order to see how ...
0
votes
0answers
12 views

uploaded files show on same page using frontend uploader [duplicate]

i am using frontend uploader plugin to upload content , whatever files i am uploading it,s content going on a new page. I want to show uploaded file link on same page after approval . thanks in ...
0
votes
0answers
18 views

Displaying ACF image from within another plugin

I'm trying to call an image from a custom field made with Advanced Custom Fields but can't seem to get it working. The code below is in a PHP file within another plugin. The idea is that clicking on ...
0
votes
0answers
48 views

Issue with hide and display horizontal scroll accoucement bar

I am using horizontal-scrolling-announcement plugin to announce a news bellow the header.I have added some custom code to hide and display scrolling news announcement at one event if the admin change ...
0
votes
0answers
36 views

Open Page in Lightbox

I have something I’ve never done before and I’m not sure where to start. I’m working on the portfolio for a client’s site http://graybillcreative.com/arc/projects/. I’m using OTW Portfolio Light for ...
0
votes
1answer
67 views

Display_rows() and column_cb() strange behaviour

I found a strange behavior of my functions. I thought to pass the id from display_rows() to column_cb(), but the problem is that the program passes only the first digit. Any hint? column_cb(): ...
0
votes
1answer
36 views

Directory structure for plugin changes

When I'm working in Wordpress, I quite often need to make adjustments to plugins. The recommended method, as I understand it, is to take the plugin file I'd like to modify (say, mypluginfile.php), and ...
0
votes
1answer
28 views

How can I pass value to function in add_menu_page?

I was use to pass value to function for the below menu. add_menu_page('Competition Manager 2013-2014', '2013-2014', 'manage_options', 'manager_2013_2014', 'manager_2013_2014', plugins_url( ...
0
votes
0answers
62 views

ACF Plugin Conditional Logic add 'published' option

Is there a way to use the conditional logic of the ACF plugin to test whether the post has been published natively? I think I might be able to do this manually, but later updates would break the ...
-1
votes
2answers
223 views

How to add product images using script?

I have few hundred products on woocommerce without images. I am planning to upload images in future. Images have same name as the SKU of product (+.jpg). Is there a way I could write a script that ...
0
votes
0answers
13 views

Uploading external web pages with limited rights

Context: We have a Wordpress website for our software. This software is not available to everyone. Moreover its users, according to their rights have access to different parts of the source code. In ...
-2
votes
1answer
80 views

Wordpress: code structure

EDIT: I've posted them separately here wordpress.stackexchange.com/questions/137672/… and here wordpress.stackexchange.com/questions/137673/…. I'll vote to delete this one. I'm working on a Wordpress ...
0
votes
0answers
87 views

Creating button next to “add media” that allows you to choose a single post

I'm looking to create a button next to "add media" ( much like gravity forms "add form) that allows you to choose a custom post and then inserts that post id into a shortcode. I've bene looking at ...
0
votes
3answers
166 views

Add category selection to custom post type (plugin)

I picked up someone's old project at the company I work at. They created a plugin to add courses to the website (including dates, location etc), but they didn't add the possibility to select a ...
0
votes
3answers
180 views

How to list the Hooks and order of execution in current loading page?

I need to know the list of hooks that are called in the current page . How to identify the priority assigned to the action and filters in the action . If i want to remove the default action on ...
0
votes
0answers
18 views

Wordpress subadmin can create N user

Is there a way to create a subadmin that has a capability to create a number (N) another users. So that, if the subadmin has reached N value, he can't add another user anymore.
3
votes
1answer
260 views

Using Vagrant for customizable Wordpress Multi-sites

Background: My partner and I have a goal to create a customizable vagrant project that uses Wordpress multi site, as a local development environment. Ideal Use Case: Various developers on our team ...
0
votes
0answers
55 views

Multiselect value in wp_query

i have been trying to display the post that contain specific tag. what i am trying is: if user search for post related to tagss for example: if user selects the tag Don after submition the query ...
0
votes
1answer
27 views

disable lightbox in a plugin [closed]

i'm using the PHOTO ALBUM plugin for wordpress and I would like to disable the lighbox effects - meaning, i just want to show the thumbnails... is that even possible? Thank!
-1
votes
1answer
54 views

Themes VS Plugins [duplicate]

If I am customizing a WordPress site, should I do that via a theme or a plugin? By customization I mean: Add new custom post type Add new fields to the Users Add new widgets Add custom permalinks ...
0
votes
0answers
68 views

How to redirect users to their profile after they successfully edit their profile

I am using the buddypress plugin for wordpress and would like to make a little change... I was wondering, if there was a way I could redirect users to their profile page after they save the edits to ...
1
vote
0answers
38 views

Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?

After WP3.8.1 upgraded, two plugins I made for my networks both stopped working. Each runs on a separate multisite install. I posted the error report on the Wordpress form: ...
0
votes
0answers
53 views

Users Can Only Post Reviews When Logged In?

I use the plugin WP Customer Reviews on my site but to leave a review you must fill out a form even if you are logged in. I would like to make it so that if a non logged in user goes to submit a ...
0
votes
0answers
65 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
2
votes
1answer
79 views

Distributing and packaging plugins

I have a project where I'll be using WP as a customer portal to an external application. The application is accessed via web services (soap/xml) calls. The application has quite a few forms and for ...
0
votes
0answers
239 views

Add a user role from a registration form

Is there a way to add/create a Wordpress user role from the woocommerce registration form? I use a plugin called members that allows creation of new roles, but only from the admin page. I want to add ...
1
vote
1answer
282 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
0answers
19 views

General plugin customizing question problem

I've already asked this question within the plugin specific forum but I'd thought I would try here as a general question for any plugin. I'm trying to use the WP-MEMBERS plugin and I noticed that in ...
0
votes
1answer
89 views

get_var result empty for query of custom table in plugin admin

(There are a lot of related questions to this but none I can find with answers that have worked.) get_var returns empty when I query a custom table from a custom plugin for multisite. What am I ...
0
votes
0answers
809 views

Woocommerce: Remove Woocommerce default address fields [closed]

I am trying to remove / hide some default address Fields like as the Postcode (Zip-code) field in Cart Shipping Calculator / Whole Woocommerce ? Is there a function for this? I found in ...
0
votes
1answer
689 views

How to delete all records from or empty a custom database table?

I can't seem to find a simple reliable way to do this - perhaps?: // delete row ## global $wpdb; $delete = $wpdb->query( $wpdb->prepare( "DELETE * FROM `wp_table_name`" ) ); ...
1
vote
1answer
238 views

Add a custom form on the post-new.php admin page

i need to add a custom form on the post-new0.php page of the admin of wordpress. ( this form will load an external script in ajax and fill all the field) I'm able to do it via my plugin with ...
0
votes
0answers
127 views

Pull Data from DB for Admin Page Display as Relates to Admin Page Class by BA Internet

Why do developers make it so darn hard to use the tools they develop? Don't answer, I already know :) Have had some success using this: https://github.com/bainternet/Admin-Page-Class ...to develop a ...
0
votes
1answer
100 views

Add Excerpt On Quicksand Plugin

I'm using this plugin called "Quicksand" for Wordpress.. You might wanna check the link. What it does normally is it filters posts based on the category.. It shows the Featured Image Title of ...
0
votes
0answers
282 views

How to add attachment in woo commerce send mail function

I am using woo-commerce plugin. After the checkout process, I am sending a mail to customer, it's working good but also, I want to attach the product image into the mail. I am not getting any idea how ...
0
votes
1answer
2k views

Woocommerce custom email after order is submit

I want to create an custom function that can send an custom order email to an chosen supplier (in the checkout form). But when i try to get the data from the checkout in the email, the checkout form ...
0
votes
0answers
72 views

Display image in descending order from database table

I have used woo commerce plugin ,I am trying to display images in descending order by order_id in word press dashboard on orders tab.I tried lot's but not getting any idea how to do that.Bellow is my ...
0
votes
0answers
99 views

Insert image in custom row using woo-commerce plugin function

I am using the woo commerce plugin in bellow function ,I am trying insert one image which is stored in one session variable into the custom row woocommerce_order_items table File Name-> ...
0
votes
0answers
15 views

Insert retrieved image into another table?

I am retrieving one image from a table name "user_templates" after retrieving ,I have to insert that retrieved image into another table name "ca_woocommerce_order_items" but I am not able to insert ...
0
votes
0answers
75 views

Update woo-commerce cart content on post update

I am using the woo-commerce plugin for a payment gate-way when I did add to cart first time that time I am inserting the product to cart it's working good.Just having the issue with how to update cart ...
1
vote
1answer
524 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
1answer
2k views

How to add a new product type on woocommerce product types? [closed]

I want to add a new custom "product type" to woocommerce plugin: Tried to duplicate one of currently exist product type files (woocommerce template structure) as a new file (file name and inside ...
0
votes
1answer
740 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 ...