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
1answer
23 views

Add predefined values to custom post plugin

I have already created a custom post plugin. I need to add predefined text/values, when creating new custom post within this plugin. Is it possible to handle these predefined text/values in my ...
0
votes
0answers
15 views

Fetching get_terms data of a custom [empty - no posts assigned] taxonomy its in archive page?

My problem: when I access an archive page of a custom taxonomy's subcat. or subsubcat. and the cat. has no posts assigned to it, WP get_terms() functions returns nothing. When a cat. has > 0 posts ...
0
votes
1answer
22 views

Search by Attachment ID

I'm building a stock photo page for my company where we upload all photos our staff created so that it can be used later. It shows the ID of the image by post->ID so that users can see it, note it and ...
0
votes
1answer
46 views

Does heavy theme and plugins affect server's response time? [closed]

I am building my website using TheSeven theme, with Visual Composer and Ultimate Addons For VC plugins. But my website run very very slow. It takes 6-7 seconds or sometimes higher to load my homepage: ...
0
votes
0answers
24 views

How can I add a LaTeX package/MathJax extension to my WordPress site?

I'm using MathJax-LaTeX to add mathematical formatting to my WordPress posts, but for my purposes I need the siunitx package. This has been added to MathJax as a third-party extension, with the below ...
0
votes
2answers
53 views

Overriding Plugin Function in Child Theme

I have a plugin and a custom post type class like this. I want to override one its function in my child theme. class Inspiry_Property_Post_Type { /** * Register Property Post Type * @since 1.0.0 ...
-4
votes
1answer
26 views

Is it possible to set different payment gateway on each Gravity Forms form? [closed]

I run a Wordpress site in Australia involving credit card payments. I've been using eWay payment gateway for a while, now I want to introduce Stripe as well to my forms. I have multiple products, each ...
0
votes
0answers
23 views

Upload media Remote or Api

I couldn't find any accurate answers, therefore asking here. I have a website that runs multiple cron jobs in WordPress and generates posts from multiple resources with images and descriptions. I am ...
-1
votes
0answers
24 views

Losing my mind with [shortcodes], Divi Builder, and ACF (Advanced Custom Fields) [duplicate]

If that question title doesn't give you a headache, keep reading.... I have spent the past 12 hours trying to figure out how to keep the layout of the page just like it was with divi builder and ...
0
votes
0answers
29 views

How to replace index

Hello everybody im trying to make plugin like WPTouch but different and i've got a question. How to replace content of homepage and single pages without header location i want to replace it on the ...
0
votes
0answers
17 views

Store attachment id clicked to user_meta

Hi Wonderful people of stack exchange! I wondered how I could go about storing the attachment id of a file clicked to the current logged in user_meta. Thanks Guys - I was trying to find a snippet or ...
0
votes
0answers
33 views

Problem with Custom Post type Category Listing Pagination

I am having a really hard time for the past three days getting the pagination in custom post type Category page working. I am using WP-Knowledgebase plugin which uses custom post type. The pagination ...
0
votes
1answer
34 views

How can I delete a wordpress widget instance?

I am working on a WordPress plugin to insert advertisements.Its also having a widget to show the ads.In my main plugin class I want to check for a condition and if it satisfies I want to delete a ...
0
votes
0answers
22 views

Move Woocommerce Variation Price

On the single product page of WooCommerce, I would like to move the woocommerce-variation-price under the product title. I came across the following snippet... but I can't seem to find the ...
0
votes
1answer
18 views

Understanding the workflow of form creation plugin

I want to create a simple form creation plugin(that is specific for my CRM, that's why i need to create one). The idea is having a "add input" button which lets me chose the type of the ...
1
vote
1answer
17 views

Modify the file inside plugin dir - the right way

I need to modify some *.php file of some plugin, but I don't want to modify it inside the plugin dir for the obvious reasons(updates etc). Is there any acceptable and known way to do this? Like ...
0
votes
1answer
19 views

Can plugin automatically update if i hide the update notification?

I'm trying to remove the plugin update functionality from specific plugins. I have searched about it and find a good answer. According to the answer below function actually hiding the update ...
0
votes
1answer
60 views

Minimum PHP Required for Wordpress

All those Pro's in wordpress I need your suggestions. PHP is a very vast language and it can't be mastered in days. Infact it is a life learning process. I know basic PHP such as DB creation and few ...
0
votes
0answers
19 views

Add custom field for users

I am using Metabox for a while and is a great plugin but I was using in pages and posts. Now I want to add a simple checkbox to users profile page, is that possible with Metabox plugin? Can any ...
-2
votes
2answers
28 views

Windows 10 Printer that Sends to Wordpress [closed]

Is there a way to "print to wordpress" from Windows (10) desktop? So lets say I am looking at a PDF and I want to create a new wordpress post from the PDF, I select print, select "wordpress printer" ...
0
votes
1answer
37 views

How to Save settings of custom tab product page in admin side in a database?

I have following code : <tr> <th><?php _e('Custom Stock Message'); ...
1
vote
1answer
28 views

Add a do_action to post_content of wp_insert_post

I created a plugin that is supposed to create a page with a contact form.. I got it to the point where it creates a page on activation of plugin, but I don't know how to give the post_content a ...
0
votes
0answers
16 views

Correct website transfer/copy?

I have everytime problem when I have to copy website from one host to another, I copy all files and database, after copying I change DB connection and WP_SITEURL and such params, but at mostly webs ...
0
votes
0answers
14 views

How to load comments based on URL parameter(s), not post ID?

I've modified my wordpress install to grab data from an external db instead of relying on the post system. The problem is, the same comments are loaded regardless of the URL - of course this is to be ...
0
votes
1answer
23 views

Validate Custom Post Type fields

I'm developing a plugin, in which the administrator has the ability to add and remove ZIP codes on the backend. I found that the best way to do this is by creating a custom post type named zip_code ...
1
vote
2answers
23 views

Convert existing Wordpress Site (with several plugins) into Multisite

I want to convert an existing Wordpress Site into a Multisite. I have several plugins installed. Is there a special preperation needed to get this plugins safely into the multisite mode? Do I have to ...
1
vote
2answers
29 views

Include comments form in plugin page

I want to include the comments form on a page generated by my plugin. I got the post id I want to attach the comments to, but I can't get any of the Wordpress comments functions to work. Tried to ...
0
votes
0answers
30 views

Save plugin settings to a custom array and database table

First of all, please bear with my ignorance on the topic. I'm super new to WP Plugin development, and have been struggling with it for some time now. I'm developing a simple Wordpress plugin (well, ...
0
votes
0answers
28 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
24 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
47 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?
-2
votes
0answers
15 views

media type is not validating correctly [migrated]

I am trying to validate my code on validator.w3.org but I am getting 3 errors using html5 doctype. They are all similar. I have searched high and low but cannot find where this code is placed. The ...
0
votes
0answers
17 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
42 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
19 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
20 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
58 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
18 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
29 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
34 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
27 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
41 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
25 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
50 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
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 ...