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 (3)

7
votes
1answer
91 views
+50

wp.media.view.ImageDetails - Save settings as HTML5 data-* attributes for image

What I finally want to achieve are extra settings added to the Image Details box, that will be stored in the image <img> tag as data-* attributes Example: <img src="..." ...
1
vote
0answers
15 views

Add a BuddyPress user group and allow them to edit and control a specific page

Im working on a restauran reservation page (for an unlimited number of restaurants) and I would like to add two specific groups/types of users : General user aka user that makes reservations and can ...
1
vote
0answers
16 views

Woocommerce Postcode/zip two seperate fields (numbers & letters)

A client of mine wants to keep the numbers and the letters of the postcode seperate ex. 4800 AA. Is there a way to do this easily? I've been looking around for some plugins with which i could do ...
1
vote
1answer
45 views

wp_enqueue_scripts not working in custom theme

This one may have been answered before but I could not find it anywhere. I have created a custom theme and a plugin for my site. My theme's functions.php file only contain a wp_nav_menu() function ...
1
vote
1answer
21 views

Finding the URL to be used to check if plugin is installed with a theme

I understand the following code checks if a plugin is installed and if not it puts an error in the backend of WP: add_action('admin_notices', 'showAdminMessages'); function showAdminMessages() { ...
0
votes
1answer
15 views

How woo-commerce store Product Data value in DB?

I am working on a project in which Products are being added by parsing a XML file. For Variant product I am able to save all attributes and the product variant related to a product , but I am unable ...
2
votes
0answers
22 views

How to moderate posts

I am writing a plugin that will moderate all posts regardless of what level user posted them. It will check the post content and title against a list of words and if any are in the post, I want to put ...
1
vote
1answer
17 views

Get posts from WP_Query and format them on admin_head

I am trying to prepare an array with Custom Post Type posts to populate a select options in TinyMCE. I was thinking to fetch posts, get their IDs and titles and put them all inside $data variable, ...
1
vote
0answers
15 views

Mustache properties not working [closed]

Mustache documentation is not thorough, but some other devs out there have used the .length property successfully, which I can't even find in the documentation. ...
-1
votes
0answers
16 views

Problem with loading posts

I'm using a plugin to load more posts onclick called "ajax load more". Here is my standard code for echoing out posts: <div id="content"> <?php query_posts('showposts=3'); if ...
1
vote
1answer
18 views

Missing Argument

I have the following code in my functions.php to show a lightbox on the Simple Paypal Shopping Cart Plugin function make_wpspsc_thumbs_lightbox_previews( $thumbnail, $atts ) { // Code Credit: ...
1
vote
1answer
24 views

JS Support Ticket - Auto create WP account

Maybe you guys know if it's possible to create an account when a new user creates a ticket. At this point there are 2 options. Let user create a ticket based on e-mail address Let user create an ...
1
vote
0answers
10 views

How to create user that has permission to create new sites on WordPress with multisite option enabled?

I have installed user roles editor plugin https://wordpress.org/plugins/user-role-editor/ and created new role, but can't make this role to give the user ability to create new sites on WordPress with ...
4
votes
2answers
101 views

Change capability type of post type registered by plugin

I'm using the plugin Custom CSS JS which registers it's own post type but the capability is assigned to "post". I want to change it to "manage_options". Is there a correct way without altering the ...
0
votes
1answer
21 views

Unable to give correct path in wordpress

Suppose their is a wordpress theme say zumper. Apart from files such as footer.php, header.php their are other folders such as layouts inc suppose I have a file america.php in layouts folder and ...
1
vote
0answers
32 views

Create WooCommerce subscription on import CSV order file

I have a WooCommerce WordPress site running, with the upload function of customer / Order / CSV Customer Import Suite (WooThemes). This only uploads my orders & not my subscriptions ( Woothemes ...
1
vote
1answer
24 views

If post has custom field then display css-class

I would like to display a different icon in an i tag if a post has a certain key of a customized field. In my example Preis: <i class="(get_post_meta(get_the_ID(), 'Preis', true) != '' ? echo "fa ...
1
vote
2answers
61 views

Why is my ajax call refreshing the page?

I'm attempting to upload an audio file via AJAX form. Here is my HTML in the profile-edit template. <form method="post" id="my_upload_form" action="" enctype="multipart/form-data"> <input ...
1
vote
0answers
27 views

Does Wordpress contain “default” anti-SQL injection code that responds with a 404 error?

I've been through the “seven layers of the candy cane forest” on this one… :) Our plugin receives data via a POST request. On a particular site that has our plugin installed, we observed odd ...
-2
votes
0answers
18 views

Fetching trash iteam while export

Hello All i have customized visual form builder plugin as per my requirement, I developer custom option like admin user can export the entries as pdf export of the submitted form (As default it has ...
1
vote
0answers
29 views

Creating shortcodes in plugin

First time creating a WP app, so please bear with me. Essentially, I want to be able to input a value in a form, which gets processed and put into the database. Once that is done, I was trying to use ...
0
votes
0answers
15 views

Redirect all currently logged in administrator to a particular page when pages are already loaded

I'm working on a Wordpress plugin. The plugin file waits for a POST-request from an external server. I want all currently logged-in administrators to be redirected to another page once the request ...
0
votes
1answer
23 views

How to show in front End images using Visual Composer attach_images?

$gallery = shortcode_atts( array( 'post_gallery' => 'Gallery', ), $atts ); $img = wp_get_attachment_image_src($gallery["post_gallery"], "large"); $output = "{$img[3]}"; I ...
0
votes
1answer
43 views

Disable variations on woo commerce if out of stock

I use Woo Commerce on my site with multiple variations on one product. How do I remove or blank out a variation from being selected if I make the product 'Out of Stock'? I've tried using 'Hide Out of ...
0
votes
1answer
27 views

Why is this custom taxonomy showing in the database?

I have created a plugin that add geographic data to Wordpress. According to this answer the taxonomy data should not be stored in the database, however it seems to be stored: mysql> select * from ...
0
votes
1answer
56 views

Readme.txt not getting updated

My readme.txt file is not getting updated on the plugin directory. Please guide me. Thanks. === Sharpen Images === Contributors: FahadUddinPK Donate link: Please send donations to ifaqeer@gmail.com ...
0
votes
0answers
12 views

Web User Selects Image Category

I'm trying to build a website in wordpress where the user of the webpage can select an image category that they want to see (e.g. all images of boats). The user will have a dropdown list or some other ...
0
votes
1answer
31 views

Adding submenu to custom plugin menu page created with add_menu_page() function

I have created a custom menu page using add_menu_page() function. Everything in that page appears as it should in the screen. What I am trying to achieve is adding another submenu under the under the ...
1
vote
0answers
24 views

Visual Composer shortcode for child theme dir

I have a site using VC that is running on localhost and also on a staging environment. I need to access the child theme directory to call images from within raw-html sections of visual composer ...
-1
votes
0answers
11 views

Increase size of sidebar and change price

I'm trying to change the sidebar to make it wider (The Size, Material and boxes.... ) and also change the price bit to say Price Calculation how do I go about doing this? My site is here: Website
-1
votes
0answers
49 views

Is it possible with wordpress to use a shopping API based on XML or JSON?

I am running an affiliate website from last 2 years and it is based on the product feed api coming from one of the price comparison websites. My website was created by a developer in Core Php. When I ...
0
votes
1answer
22 views

How to create a WordPress sandbox on a live server for website development?

I have a live WordPress site with a coming soon page template currently active. How can I develop the website on a sandbox and then upload all changes to the live site? The sandbox has to be on the ...
1
vote
2answers
39 views

Override global query results without hooks

I have a custom php page and i need to override the global posts variables, but i cant get it to work. When going through the main loop im able to override the global posts, but i cant override ...
0
votes
0answers
26 views

Define JSON file values by admin user

I have couple of long JSON files with predefined keys and want to have the values updated by the admin user. So I'm looking for a way where the developer (SuperAdmin in my case) can upload a JSON file ...
0
votes
1answer
31 views

Adding Static Image to WooCommerce Content-Single-Product template

I am trying to add some static images to the single product template in WooCommerce but they are not displaying properly. I am hooking into the woocommerce_after_single_product_summary hook and ...
0
votes
0answers
10 views

Plugin download monitor always links to same file

I installed the download monitor plugin to generate download-links for videos. I have created a couple of downloads and created a widget to display them. I can see the correct shortcode, when I use ...
0
votes
1answer
23 views

Plugin Screenshots not showing

I've made nine revisions to my plugin and the image refuses to appear when the screenshots tab is clicked on. I placed it in the trunk initially, waited overnight, moved it to /assets, then resaved ...
-1
votes
1answer
23 views

Language switcher with flags - Polylang WP plugin

I have installed Polylang WP plugin for one site.. and need to add flags but its look like there is no option or any tutorial how to do this.. If anybody have some solution for this will be great..
0
votes
0answers
15 views

Is it Possible to get the theme textdomain name of random themes?

I haven't found a solution after a few searches about my topic. I hope that I am not making a duplicate post. I am working on a script that will be included with a theme in the theme directory ...
0
votes
1answer
44 views

Add wordpress user database on android app

I have been using WordPress for the past two years and I always used plugins for additional functionality. But now I want to learn more about WordPress. I want to learn how to change things using html ...
1
vote
0answers
19 views

ob_start() combined with wp_query

I'm making my first plugin and I have a problem with displaying my shortcode. It shows in the top all the time but I have read some about ob_start(); and trying to use it but the shortcode just ...
1
vote
0answers
31 views

How can I contact a function inside a plugin's class?

I have a plugin, and it has a some functions inside a class, look like this: class Sat_WC_Order_SMS { ... public function __construct() { $this->instantiate(); add_action( ...
0
votes
0answers
15 views

wp_get_attachment_image_src is not defined

i'm trying to fetch image source from post content but the error message is appeared to console that wp_get_attachment_image_src is not defined $image_attributes = ...
0
votes
1answer
19 views

Strange ASCII characters overlapping content

I have a Wordpress theme I'm working on. All of a sudden there are random ASCII characters overlapping the nav tabs inside the hamburger menu, font-awesome characters, and social icons. I have tried ...
1
vote
0answers
24 views

How does WordPress know when there are plugin updates?

How does a WordPress plugin know whether if there are updates available to download and to download those updates. What function or script controls this and how does it work? I am assuming this ...
0
votes
0answers
5 views

How to modify the plugin update counter in the main menu? (red badge in the Plugins menu button)

I am providing a self-hosted plugin update system for my plugin. I hoked everything in order to replicate the information provided by the "Wordpress repository" pending for update plugins in the admin ...
-2
votes
1answer
16 views

Is there a method or plugin to download my products in WooCommerce?

For reasons not worth going in to, our "design team" wants to revert back to an earlier version of the site, but that would mean losing many of the products I've added or updated. Is there a way to ...
1
vote
0answers
20 views

How to exclude a widget from page 1 of a paginated post

I want certain widgets to not appear on page 1 of a paginated post but appear on all other pages (page 2,3..so on), and some other widgets to appear on only appear on page 1 and not the rest of the ...
0
votes
1answer
26 views

How can I use wp_ajax_response for front-end error reporting?

I already have the wp hook code in place, and now I want to send error messages back to the front end to be placed in alert box or html element. //my plugin add_action('wp_ajax_track_upload', ...
2
votes
0answers
11 views

Configuring Propel to Work with Multisite

I'm trying to build a plugin using Propel ORM to be used in a multisite envivroment. Currenly it works in single great but I can't figure out how to get it to create the tables for each site and have ...