WordPress Plugins allow easy modification, customization, and enhancement to a WordPress blog. Instead of changing the core programming of WordPress, you can add functionality with WordPress Plugins.

learn more… | top users | synonyms (1)

0
votes
0answers
13 views

Gzip compression not working

I have enabled mod_rewrite, mod_deflate, mod_headers and mod_setenvif in Apache and not mod_gzip, mod_filter. Tried <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and ...
1
vote
1answer
19 views

Unable to write test cases for a WordPress plugin using PHPUnit and WP-CLI

WordPress setup: Installed WordPress using VVV. PHPUnit setup: I have setup the testing suite as mentioned in Pippin's blog. And accessing PHPUnit after logging into the box machine by using vagrant ...
0
votes
0answers
16 views

AMP (Accelerated Mobile Pages) in a plugin not working

I am trying to make an edit to a plugin. This plugin adds a shortcode which the user enters the YouTube ID and on the WYSIWYG editor it will create the shortcode. The shortcode will just generate the ...
0
votes
1answer
10 views

multidimensional array within options table contains same information- for custom plug in

I've created a multidimensional array for some settings within my custom plug in, and when I print_r the original and the inner array I receive exactly the same output. $options = get_option ('...
2
votes
0answers
23 views

How to create thumbnail of different files?

I am storing my uploads in a separate folder and using separate table to save the location in database. I have gone through WP_Image_Editor , wp_image_editor_gd and wp_image_editor_imagick . I also ...
0
votes
0answers
16 views

Wordpress calls my plugin while trying to update Wordpress Core

I am developing my plugin right now, and I have faced with one issue. I tried to update my Wordpress core to the latest version but it shows me an error in my plugin. I think I doing something wrong. ...
0
votes
0answers
27 views

wp_mail and mail function not working when mail server is ok

i'm working on plugin with porpose : Get information from user and then send file url to user's email i used ajax and everything is ok without send mail i test my wordpress site for send email with ...
-1
votes
0answers
19 views

Plugin “Remove Slug From Custom Post Type” gives 404 Errors

This plugin did all I wanted, but it started giving me 404 errors, which go away after a while but I'm worried they'll come back. I do get this error while posting a new listing (real estate theme) ...
0
votes
0answers
11 views

Ajax interfering with widget back end Javascript

I have a plugin that creates a widget that allows users to click a button and select an image. I have noticed that immediately after the widget is dragged and placed into a widget area, two Ajax ...
0
votes
1answer
16 views

How to change the wording of front-end `next article` for custom type registered in a plug-in?

I am working with another developer on a plugin that register and defines a custom type of posts. It's working as intended in the back-end but I would like to change the wording of next article and ...
0
votes
1answer
15 views

ACF in wordpress

Hi i have a slight problem when making a custom post type widget. The problem is that when i want to get the field i want to use in a inline style it doesn't work. This is my code: class ...
0
votes
1answer
15 views

Custom post type in Custom widget - $listItem

Hi i have a slight problem when making a custom post type widget. the problem is that when i add a custom field in the code the part that shows the custom field information get's on top of the output ...
-3
votes
0answers
18 views

Woocomerce vendords saving via ACF

I am trying to post to wc vendors using acf fields but I am not sure as to what hooks that I require to action. Once the vendor has been registerd it needs to send an email. I also need to be able to ...
-4
votes
0answers
36 views

Use cases for modifying themes and plugins [on hold]

I'd like to make the leap from "implementer" to serious "developer" and would like some useful projects to work and learn on. It would be great if I could get a list of real use cases for modifying a ...
-3
votes
0answers
32 views

Extend Wordpress plugin “The events calendar” [on hold]

I'm a newb in wordpress plugins, and I need to extend popular plugin "The events calendar" by using hooks in functions.php or creating new plugin. First question, at the moment its twentysixteen ...
0
votes
1answer
24 views

Get (eventual) permalink from post within Edit Post in Admin panel

I'm working on a plugin that needs to access grab the Permalink from within the Edit Post screen to send it to a link-shortener API. The catch is that I will need to grab the permalink before the post ...
0
votes
0answers
16 views

wp_signon not working on website but it works on localhost

wp_signon() is not working on my online website, though it works on localhost. I am making a custom login for my website, and can't understand how to solve this problem. When I log in on localhost (...
0
votes
1answer
16 views

Add post type pages with plugin

Can I add the archive and single page for a custom post type added by my plugin? I know it will only have to be a best guess with contents like: <?php get_header(); ?> <h2><?php _e('...
0
votes
0answers
31 views

Custom Meta Box Image Gallery Not Saving

I'm having an issue of a custom meta box I'm building based off of WooCommerce's Product Gallery meta box. The meta box is not saving for some reason. I've tried some options from many different ...
-2
votes
0answers
24 views

How to create an inquiry form in Wordpress [closed]

I am currently working on creating tour theme for wordpress. I am looking for ways to create an inquiry form that visitor can submit inquiry. After visitor submit the inquiry, it will - ...
0
votes
0answers
15 views

Correct way check nonce (security) using old Options API

I am developing plugin for Wordpress. Firstly I started using Settings API it looks good, but it is little bit complex and it doesn't provide the way to handle options manually. I have quite ...
0
votes
0answers
34 views

Unable to view data in Options table for plugin

I've created a plugin which contains a form and I am trying to get the data from the form to post to options, but the data is not. I've checked in wp-admin/options.php and the plugin does not contain ...
0
votes
1answer
19 views

What is the replacement for rich_edit_exists()?

A plugin inserts users into a database. If the user is an author, the visual editor isn't showing until the user saves their profile. I'm trying to figure out what setting isn't being added to the ...
0
votes
1answer
21 views

Issues separating my Plugin pages into different files

As my last (first) plugin got a bit hard to manage with 6 admin pages in 1 file, I decided to split them up for this one, but I am getting nothing but issues doing so. In my plugins functions file (...
0
votes
1answer
43 views

Ajax not working to insert, query and result data

On my site, through a form I send/register same information in database, do a SELECT/query and return it! Return the last table saved in database, just that user just entered on the form (along with ...
0
votes
2answers
31 views

My stylesheets are not enqueuing

I'm in Wordpress 4.5.2 on Windows 10 and I'm trying to register and enqueue my stylesheet in Wordpress, but it just isn't working. I'm having the same problem with jQuery. I have this code in a ...
1
vote
0answers
43 views

What is better way to use Bootstrap inside admin panel?

I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc. How can I use bootstrap.css inside wp-...
-1
votes
0answers
12 views

Develop a plugin which is multilanguage - wrong output of strings

I've a multilanguage (wpml) Page and I want to develop a wp plugin. My .mo and .po files look like this: dmd-consult-de_DE.mo dmd-consult-de_DE.po Problem: If I am in the german section ...
0
votes
1answer
20 views

How to add update function to plugin without adding it to https://wordpress.org/plugins/ [closed]

Anyone have an idea or could point me to a tutorial/guide. All help is appreaciated.
-1
votes
0answers
29 views

How to set up my own PHP classes for WordPress plugins?

I'm coding a plugin using the WordPress Plugin Boilerplate. I'm using wp_products table I and have my own class. How do I to set up that class in WordPress? I want to use my functions from my class ...
0
votes
1answer
17 views

how to add a comment button to be displayed only for the posts in the home page [closed]

I need a button which directs to the comments section of that particular post. I want that button to be displayed only in the home page for every post. Can anyone help me with this My website url is ...
-4
votes
0answers
11 views

Use pagination with form stack data

i am using form stack json data to view on my admin side area wordpress,my default data per page is 5 but it will show 8 on my front page . Please tell me how to use pagination when data retrieve from ...
2
votes
2answers
41 views

Page Reloads Before AJAX Request Finishes

I am working on a WP plugin, and I need to be able to call a URL (specifically an AJAX function) using a button click, but the page refreshes after clicking it, which I think is preventing the AJAX ...
1
vote
1answer
26 views

How to use a hook to override an update_post_meta call in a plugin?

A plugin I'm using contains the following code: $download = array( 'post_title' => $title, 'post_content' => '', 'post_status' => 'publish', '...
0
votes
0answers
30 views

How to change the capabilities from upper case to lower case, while inserting onto database?

I am trying to insert custom user roles like Student, Teacher and Parent. While inserting the capabilities into the database, it is displaying the role in uppercase. I am not able to fetch the user ...
0
votes
1answer
37 views

Set a Custom Post Type as a Homepage

Im trying to set up a custom post type single post as a homepage. I have custom plugin, it registers CPT called STACKS, Im using it to build various one page scrolling pages... It has its own custom ...
0
votes
0answers
28 views

I can't add data from wordpress admin to database

I want to add some text from a textbox in admin to database. I've crated a table in database and now I want to check nonce and if everything was right, submit data to database. I've used this code ...
6
votes
3answers
169 views

Where to store plugin settings fields

I am developing plugin right now, and I have one questions about best practices and conventions. What I need ? My plugin is going to store some predefined object, list of objects (or just ...
0
votes
0answers
33 views

How should I share my plugin error with the end user (frontend)

Let's start by saying that I'm a total wordpress noob, I've googled and searched a little on Stack Overflow and I can't seem to find the information I'm looking for; a big part of that is I'm not ...
1
vote
2answers
42 views

Custom plugins/Manipulated plugins: Always a terrible idea to inherit these types of WP sites that discourage updates?

So I have been working on WP sites for a little bit now and I think I'm getting to the point where I'm starting to get to a wider range of clients with unique site builds. One site I was assigned to ...
0
votes
1answer
27 views

Include a php file from another plugin

Inside one of small custom plugins I really need to inlcude a file from another plugin, in order to be able to create and save obhect of a class that is declared there. What I have tried and the ...
1
vote
1answer
25 views

Putting a resized image into media library with wp_get_image_editor(

I'm using wp_get_image_editor() to resize and save an image that is being uploaded to the Media Library. $image = wp_get_image_editor( $newattachment_url ); if ( ! is_wp_error( $image ) ) { ...
0
votes
1answer
30 views

Theme independent plugin by using default page template

I'm trying to build a plugin that can be used within every theme. It uses a custom post type and i used the action hook to change the content, so i could use extra meta fields and such. Also explained ...
0
votes
0answers
22 views

get selected Option value in Dropdown selection

I want to store some Custom User Meta in Edit User Form. i but i cant get it working :/ Here is the following code add_action('show_user_profile', 'add_extra_berufe'); add_action('...
3
votes
1answer
33 views

Set number of article per number of page

I'm making a timeline using this awesome free theme. As you can see in this theme, it's a timeline separated by "Page". We have "Page 1" with 5 articles, "Page 2" with 5 articles, etc ... I changed ...
1
vote
2answers
33 views

Install and load additional plugins when running unit tests

I want to write unit tests for a plugin. I have used WP-CLI to scaffold the test WordPress instance and can successfully run tests. The plugin I'm writing unit tests for is a site specific plugin ...
0
votes
2answers
23 views

API to filter new user registration $POST data?

Is there an add_filter where you can see/modify all the $POST data submitted for a new user registration before the user is created? Thanks
0
votes
1answer
24 views

Hook for plugin to show content for certain urls

New to WP development. I want my plugin to dynamically show content for certain urls, for example, when the user navigates to /my-plugin or /my-plugin/key, my plugin would provide the content. The ...
0
votes
0answers
21 views

Grabbing data from Meta Box

I am using someone elses code for uploading files to a custom post type, and I need to be able to get the URL back from it. In the editor, the value is the URL so that isn't an issue, but I need to ...