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
23 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
21 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
21 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
37 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
34 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
21 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
35 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
50 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
27 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
39 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
26 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
36 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
96 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
33 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
13 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
15 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
35 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
43 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
17 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
30 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
30 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
20 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
65 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
30 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
29 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
13 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 ...
0
votes
2answers
32 views

Modal suddenly disapearring

I use Bootstrap Modals plugin. I have put the following code for modal in my page-contact.php. <h2>Small Modal</h2> <button type="button" class="btn btn-info btn-lg" ...
-1
votes
1answer
38 views

Output pure JSON wordpress

I have written a Wordpress plugin in PHP and I want to output JSON without any wordpress theme html and other boilerplate. But I do need to interact with other plugins and the WP-Settings information. ...
0
votes
0answers
20 views

Custom post type only works when role has edit_posts capability

I have been trying to create a custom post type 'book'. Added capabilities when registering custom post type. All works well except I have to give user the permission 'edit_posts' when accessing my ...
0
votes
3answers
61 views

How to get the active theme's slug?

I'm able to get certain info about the active theme using wp_get_theme(). For example: $theme = wp_get_theme(); echo $theme->get( 'TextDomain' ); // twentyfifteen echo $theme->get( 'ThemeURI' ...
0
votes
1answer
34 views

Create a table in custom plugin on the activating it?

I'm trying to create a custom plugin where I want create a table when the plugin gets activated. I have tried the following code but it is not creating the table in the database function ...
1
vote
1answer
39 views

How to Get WordPress custom post data in WooCommerce product meta panel?

I have created one custom post in WordPress and also created one custom panel in Woocommerce product attribute panel. Now, How I can display all the content of WordPress custom post into the ...
0
votes
1answer
29 views

Upload image in frontend (by author) [on hold]

I want my author to be able to upload an image from front-end and use it as a background for author archive page. Each author will get their own image they uploaded as a background. I am looking for a ...
0
votes
0answers
34 views

Remove custom post type from specific page

I have a situation where I am trying to remove a specific custom post type (a portfolio type item) from a certain page. I was able to remove the specific category I want to hide from appearing ...
0
votes
1answer
40 views

$POST variable is empty in receiving php add-on function but can be seen by jscript function

I have created the following code to explain my problem. Firstly I have a shortcode function which accepts a user input and calls another form: <?php add_shortcode('quote_system', 'qt_system'); ...
0
votes
2answers
44 views

Custom post types, disable fields

I have a plugin that is syncing data from a third party service into a custom post type. The idea is that the post type acts as a slave to the third party service, so any changes there overwrite any ...
0
votes
0answers
7 views

Integrate member logins to control blog commenting?

I'm using the Tower WP theme to build a new website. The client wants to install a member login feature that will allow members to send messages to each other and comment on blog posts. Users who are ...
0
votes
0answers
18 views

Posting from page linked to plugin

I am creating my first WordPress plugin and so far I am not doing to badly but looking for some guidance as not really sure if the way I am thinking of doing this is correct. I have a plugin that ...
0
votes
1answer
34 views

How to get CPT category checkbox list and show post of selected(multiply) checkboxes via ajax?

I want to create a plugin that outputs Custom Post Type category checkbox list(as in back-end WordPress) to show CPT posts that contain selected on front-end categories(multiply select) after pressing ...
1
vote
1answer
147 views

Security issues with WP sites

I have just had to deal with a few of my WordPress websites being hacked. First time put an index.html file in the cpanel of each site and replenished my admin user. Once I felt I cleaned this up, ...
-1
votes
1answer
64 views

How to output cmb2 wysiwyg by using timber

I am using cmb2 to create the custom post type, and I have a custom post type called legacy_cycle that has a metabox called challenges_one. In this metabox, there are several wysiwyg fileds. ...
0
votes
0answers
20 views

Show menu from plugin

I would like to include plugin menu into the theme. Did something like this: <?php add_action('after_setup_theme', 'my_load_plugin'); function my_load_plugin() { get_part( 'parts/menu', ...
1
vote
1answer
16 views

How to add custom link to menu in wordpress programmatically?

I'm trying to add a custom link to the main menu on my local site (wordpress with woocommerce and storefront as theme) in my plugin. I'm using the wp_nav_menu_items but this doesn't add append new ...
0
votes
0answers
15 views

bbPress 404 for non-logged in users - Need redirect to login page

I've got a bbPress forum (all forums are private) and am using a plugin that notifies users of new posts within the forums. The problem is that when a users clicks on the link in the email, they are ...
0
votes
0answers
33 views

Can't access wp-content url after domain mapping

I developed a plugin which is having some ajax actions to fetch data. Plugin works fine in multisite installation but not in domain-mapped sites(wpmudev's). I can access .css, image files and even ...