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)

0
votes
0answers
32 views

Stop TinyMCE removing empty block level elements

I'm currently trying to write a plugin for TinyMCE that takes advantage of bootstrap's grid system. It's going well for the most part, but I'm having a problem with the editor removing columns when ...
0
votes
2answers
26 views

Plugin content is shown on every page

I wrote my first Plugin and have one issue, the content of my Plugin is shown on every page. So if I want to open my gallery it shows my plugin content. myplugin.php <?php /* * Plugin Name: Gw2 ...
0
votes
1answer
53 views

How to export a list of all media urls? [closed]

How can I export the list of all media files' url, So I can use it in some other documents?
0
votes
0answers
19 views

Where to direct the “action” of a form with a custom plugin to upload a post?

I'm trying to create my very first very own plugin to upload posts into WordPress. I'm learning by looking at another post uploader plugin out there, but I was really confused about the action of the ...
0
votes
0answers
19 views

Wordpress functions in CSS?

I'm developing an audio player plugin and I'm trying to figure out how to make the links work on any install. I've used wp_enqueue_style('player', plugin_dir_url( __FILE__ ) . ...
0
votes
0answers
16 views

Issue: CSV file upload works only when “View page source” is done

I ma having little wired issue while uploading the csv file. Here the code I have. The actual site is developed in wordpress. This is to show the issue and same issue happens in the plugin developed. ...
4
votes
2answers
47 views

Building a scalable Wordpress favouriting plugin - one serialised meta value array or many meta records

I am trying to build a simple Wordpress favourite post plugin that is scalable and could handle 1000s or 10000s of users or more. There are several different approaches that I have seen in other ...
0
votes
1answer
20 views

order posts by `meta_key`, Does not display posts that does not have `meta_key`

I'm using this query orderby meta_key for show posts. if one of the posts does not have vip_row meta, So not shown; Is it possible that if one of the posts does not have vip_row meta to be ...
0
votes
2answers
21 views

Mowing site to another domain in simplest way

I need to move my simple Wordpres site from www.mysite.oldplace.com to www.oldplace.com in most as possible simple and native way. My simple site specification: WP 4.4.2 Twenty Twelve 1.9 theme ...
0
votes
0answers
81 views

ERR_CONTENT_DECODING_FAILED: How to fully delete gzip compression plugins?

I disabled plugins by: UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins'; and also renaming the plugins folder to something else. I am still getting: This site can’t be ...
0
votes
0answers
22 views

Plugin Modifications

I have downloaded a plugin form the WordPress site and i need it for my needs I have added a custom metabox and a Check box to the WordPress post page function save_custom_meta_box($post_id, $post, ...
1
vote
0answers
20 views

How to set redirect for Buddypress Group Creation?*​

I have a BuddyPress installation for which I am trying to create a redirect at the end of a group creation process. Right now I have the process simplified down to one step by removing steps 2-4 like ...
0
votes
0answers
13 views

limiting comments in contributor post-editor

Currently a 'contributor' post-editor page shows comments from everyone. Is there a way to limit/control the comments the contributor sees to only what has been commented on his/her post in ...
0
votes
1answer
32 views

How to review WordPress website php version compatibility?

My host is upgrading php version from 5.4 to 5.6. I cannot see https:// pages nor login wp-admin with the test sites to see issues. I've read somewhere that WordPress recommends php 5.6. BUT, I don't ...
0
votes
1answer
36 views

Display Powerpress media url

I am trying to display the url of a media file in a template. I ran across this post: https://wordpress.org/support/topic/get-media-url-only, but when I add that to my template (in the loop as it ...
0
votes
0answers
34 views

Redirect to an anchor after click update button in a metabox (CPT)

On my Custom Post Type (CPT), I had multi metabox and I need to have some buttons to update each metabox. I use jQuery to trigger the submit event when a different element is clicked (see this answer ...
0
votes
2answers
67 views

File Uploader - Upload without adding to Media Library

I have an admin form for a plugin I am making. However, there are a couple of fields I need to add where the admin need to upload a document or image. When these files are uploaded, I do not want them ...
0
votes
0answers
30 views

Prepend the social share icons in the_content hook

I'm working on a plugin development for the social shares. In plugin there is an option to show the social share icons above and below the content. I'm doing this by applying filter action to ...
0
votes
1answer
79 views

How to get subscription key or id using Woocommerce Subscriptions

I need to get the subscription key of a particular subscription to pass into a custom function. I have referenced the documentation where it shows how to get the key, but I have failed to integrate ...
0
votes
0answers
26 views

Where to set sendmail_from?

I'm not sure where in WordPress to do something like: ini_set('sendmail_from','me@mysite.com') First, is this correct? There's a plugin that sends email, but the email gets blocked from my email ...
0
votes
0answers
11 views

How to resolve required libraries for a wordpress plugin [duplicate]

I am writing a wordpress plugin which requires php5-sqlite and php5-curl packages to functioning properly. But if the user's wordpress server doesn't have this packages installed, the plugin ...
0
votes
2answers
25 views

Dequeue, Unregister, Remove Action - Not Working on Plugin

Several years ago, not really having a handle on the best practice for running a MultiSite network, I often network activated plugins. Later I realized this was a mistake because not all the sites ...
0
votes
0answers
35 views

Woocommerce subscription hook after renewal

I have a web store where users can purchase subscriptions (1 month, 6 months, 1 year). My store uses Woocommerce Subscriptions v2.0.8. What I want to achieve is when a subscription is renewed, I want ...
0
votes
0answers
32 views

How to add a description of the shipping method, woocommerce?

How to add a description of the method of delivery. Like payment methods Is it possible to add textarea in the admin panel for editing shipping method? Thank you
-3
votes
1answer
49 views

Loading post that has visual composer data inside lightbox? [closed]

I'm trying to load this post http://tropicalzero.com/project/me-gigaset/ inside the lightbox that opens on the first portfolio item at http://tropicalzero.com/portfolio/. All of this content is dummy ...
0
votes
0answers
41 views

Contact Form 7 add custom method and action attributes

I have to add custom method and action attributes for my forms. I have found a related SO post here at -> http://stackoverflow.com/questions/14177844/how-to-change-form-action-url-for-contact-form-7 ...
0
votes
1answer
27 views

ACF - How to set the menu order for the relationship field

So, I've got a relationship field where I select a certain amount of posts to show on the home page. What I am trying to achieve is to apply the menu order of the posts as they are in the back end so ...
0
votes
1answer
43 views

Creating an admin meta box to save post as pending

The workflow when using Wordpress to change a draft post to pending involves several clicks and button presses, especially on mobile So to simplify my process I would like to create a meta box that ...
0
votes
2answers
51 views

User content database

I am trying to set up a login where in each users profile they can add their CV and details. These details and CV will then be shown in a page that can be seen by anyone. The user has the option to ...
0
votes
1answer
33 views

Auto move media file to cloud

I have very little space to host my WordPress website. That is why I want all my media files are stored in the cloud like dropbox, google drive etc. For example, if a user wants to upload an image ...
2
votes
1answer
40 views

How do you install the automattic developer plugin under localhost for mamp when there is an error, deprecated?

The WordPress Importer plugin is throwing the following warnings: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Import has a deprecated ...
0
votes
1answer
28 views

Add HTML between feed items

I am using a Wordpress plugin called RSS Retriever to display a RSS feed on this page Manchester United News What i am looking to do is display an advert (HTML) between every other feed title. Is ...
-3
votes
1answer
41 views

hide particular category post from front page only [closed]

i have setup a new wordpress blog and have few categories one is called news and it updates too frequently and less important so I want news category posts to be excluded from my home page only and if ...
0
votes
1answer
124 views

wp_get_http has been deprecated. Use WP_Http instead

I use a premium plugin (for theme dev.) that has included the WordPress Importer plugin and I get a deprecated notice: "wp_get_http has been deprecated. Use WP_Http instead" But the WP_Http send me ...
0
votes
0answers
35 views

Get image url from a form

I am new to Wordpress plugin development. I have some questions related to my plugin. I want to get a image URL from a form at backend of my plugin from user and assign it to a (html img) tag src ...
0
votes
0answers
15 views

Alter Cart Contents for Specific Product Type in WooCommerce?

With this code I can alter the price for all products in the cart. add_action( 'woocommerce_before_calculate_totals', 'add_custom_price' ); function add_custom_price( $cart_object ) { ...
0
votes
1answer
16 views

Add image to post

I've tried attach an image to post but my code doesn't work and I tried a lot of things, a lot of code, etc. What happen? I've tried with this: $postData = array( ...
-1
votes
2answers
36 views

shortcode doesn't work

I made my first WP plugin, it is a contact form - here is the code: <?php /* Plugin Name: Example Contact Form Plugin Plugin URI: http://example.com Description: Simple non-bloated WordPress ...
0
votes
0answers
49 views

setcookie() using $_GET variables in plugin

I'm trying to store a few analytics tags inside a session cookie to be used in subsequent pageviews. Essentially what I'd like to do is this; if ($_GET['utm_source'] != "") { ...
0
votes
0answers
18 views

Order posts by a descending meta key integer value and append posts with no meta key after them

Let's assume that there are 10 posts. 8 of them has a votes meta_key with an integer value associated to it: key => 'votes', value => 5 But 2 of the 10 posts doesn't has a votes meta_key at all ...
0
votes
0answers
35 views

Filter a plugin class method

I'm using plugin and am trying to hook into one of it's filters although am having difficulty. The following method: /** /* ...
0
votes
1answer
27 views

Repeated Output in Widget

I'm encountering an odd issue with a simple custom widget that I made to show contact info in a widget. For some reason when I add a phone number it's repeated multiple times as you can see here: ...
1
vote
1answer
32 views

transfer a file from one domain to another via wp

I want to be able to transfer a file from one domain to another via wp. I have searched Google and this site but only found info on how to transfer entire WP sites. I was hoping to find a plugin ...
0
votes
0answers
21 views

Adding CPT changes entire layout of my site except for the archive of that CPT

I am writing a plugin that adds a CPT called Contest. The problem is that the entire layout of the site is changed when I activate the plugin. The odd thing is that the changes are applied to ...
0
votes
1answer
39 views

How can I serve a text file at a custom URL

I have a WordPress site installed at the root of the webserver: / I want to serve a text file from here: /.hiddendir/secondlevel/textfile I've created this file and directory on the server at ...
0
votes
1answer
69 views

Why can I not use a class constant as text domain?

What makes Wordpress.org make an internationalization of a plugin approved? I've created my first plugin and here's the main code: ...
-2
votes
1answer
35 views

Want to show pop up image on home page every time when i refresh it [closed]

i want to show pop up image on my home page when i open my site. And when i refresh the page it should appear again as a pop. I could not find such plugin. Is there any plugin for it ?
0
votes
0answers
41 views

How can I make my plugin display custom post meta data on the front end?

I have been googling this for quite a while but have come up with nothing. I am writing my own plugin and I need to display custom post meta fields on the front end on the archive page. How can I do ...
0
votes
0answers
18 views

In need of help with a “Notes” section

I am in the process of developing an educational website where each post is a topic of information or a "Module". I would like to give our students the ability to write down quick notes and items to ...
0
votes
0answers
15 views

mobile client authorization confusion with own hosted wordpress site

I have a wordpress(self hosted) site which is using wp-rest-api and is oauth enabled. The problem is, I want to create a mobile app(consuming rest api of my wordpress site) which gives simple login ...