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

0
votes
1answer
13 views

flush rewrite rules doesn't flush them (still got 404)

So I tried to make a simple plugin for WordPress. Like a reviews. Even tried to do it through the tutorial of TutsPlus. Everytime I got 404 when tried. Then I just took the code from tutor and still ...
0
votes
0answers
23 views

How to get additional query parameters after a url rewrite

DISCLAIMER: Wordpress novice here. I'm trying perform a custom rewrite rule - and I believe Wordpress is stripping the additional query values from the rewritten url. example url: ...
0
votes
0answers
7 views

Admin area inside front for users

I recently got a request for a project in Wordpress that should go work like soundcloud, when any user could be register into the website and all them would have an "user area" where they could upload ...
0
votes
2answers
42 views

Best use adding user generated JS/CSS to a theme with a plugin

I want to know the best use of adding custom JS/CSS to a theme. I have built a small plugin which has a section to allow users to add CSS/JS to their theme. Now I am trying to figure out is which is ...
0
votes
2answers
25 views

How to get variables from fucntion.php to my plugin files

I have written a function in functions.php that gets variables from a contact form and sends the inputs (and some other info like IP and location..) to my email. I am starting to work on my first ...
1
vote
0answers
20 views

How to create a custom post type that contains another custom post type?

I want to create a custom post type 'A', which will contain multiple post types of post type 'B', and custom post type 'A' is a series of post type 'B', so I'd like the edit page of post type 'A' to ...
0
votes
2answers
30 views

Retrieve data from multiple Wordpress sites using PHP script

I want to run a PHP script that iterates over WordPress sites found in a certain folder and read the plugins info per each site using get_plugin function In the code below, I try to require API ...
0
votes
1answer
11 views

Site not displaying correctly when re-directing from root to sub-directory

I've created a WordPress version of our site in a subdirectory on our server and wish to re-direct from the root to the subdirectory, like: mydomain.net to mydomain.net/wordpress For some reason, ...
0
votes
0answers
39 views

Class is not supporting Ajax

I'm trying to make a plugin table which extends the existing WP_List_Table but I can't call my Ajax function with a hook: add_action( "wp_ajax_test_response", array( $this, "my_function" ) ); Here ...
0
votes
0answers
39 views

Stylesheet not loading

I have started on a plugin that shows some basic information of registered users. In order to control layout I want to have a separated CSS file (in plugin-name/css/style.css). However, when I enqueue ...
0
votes
3answers
63 views

Can I create a table on my DB without creating a plugin?

I have a built in form I created on my WP website . I want to store the inputs to a table on my DB. All tutorials that explane how to create a talke include the fact that I have to create a plugin ...
0
votes
0answers
53 views

PHP upload multiple files with different input field names using media_handle_upload

I'm trying to upload multiple images with different names from input fields on my WP site. The images will be attached to the post as metas. postThumbnail will be the post's featured image and ...
0
votes
0answers
10 views

How do I test Paypal subscription buttons with sandbox?

This is my paypal button short code. [s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / Description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" ...
0
votes
0answers
2 views

Install failure folder exists

Sorry if this question has been asked before and I just didn't see it. I've written a plugin and I'm seeing this error when I try to upload it again e.g. upgrade "Destination folder already exists. ...
0
votes
1answer
9 views

How to add wpmode in Flash Embed Code in WordPress Site?

I am very new to WordPress, and I want to Embed Flash in my website. I tried some plugin but it does not work. I consulted with some developers, and they said, I need to put, wpmode=direct as param in ...
0
votes
0answers
30 views

Get specific post connections

So I'm using post2post plugin to create connections between posts. On my functions.php I try to get specific post connections but I don't get the connections and I'm not sure why. Any help? So far my ...
3
votes
1answer
58 views

How do you import members from another system to Wordpress and update passwords so they'll work?

Our current system ( not using Wordpress ) has 1000s of users that we need to port over to Wordpress. The problem we're running into is that the passwords can't stay the same. In our current system ...
0
votes
0answers
22 views

register_activation_hook does not work

If i ask my question in inappropriate community, I apologize. I install Wordpress in a freehost. I have a Plugin named fenjoonPolls. But it shows some errors : Fatal error: Call to undefined function ...
0
votes
0answers
19 views

Essential Grid- ignoring Set Image Source Type

I am setting this value for the 'Set Image Source Type' And I have this in my functions: add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 370, 277 ); add_image_size( 'mnd-size', ...
0
votes
1answer
22 views

How to create an uploads subfolder on a multisite setup?

I have a plugin which will create a folder inside wp-content/uploads, using this code: //Generate stuff on plugin activation function sample_plugin_activate() { $upload_dir = wp_upload_dir(); ...
-1
votes
0answers
30 views

Add simple social icons in header.php

For my social icons I have installed simple social icons module and drag it into the widget area. I have configured the module according to my need now how can I display it on my header.php file?
0
votes
0answers
10 views

Change strange simplepress/wordpress behaviour - default name in Forum log-in page

Here is my forum - http://epilens.com/forum/. There are 2 strange behaviours I would like to change: 1) Under the Forum title it says, "Welcome back (my name)" even though I have logged out, is there ...
0
votes
0answers
11 views

Long Ajax call from wordpress to api not working

i am running ajax call to api from my custom developing plugin, while alert the server return values its showing the values til the ajax complete. but when i remove the alert from my js, and run the ...
3
votes
3answers
99 views

How do I replace a function, declared inside a plugin's class, in functions.php?

I want to modify a function in a plugin. It is declared in the plugin's main file like this: class WCPGSK_Main { ... public function wcpgsk_email_after_order_table($order) { ... } } Add ...
-1
votes
1answer
26 views

Notification When Post Approved

Does anyone know of a notification plugin, snippet that will allow me to when i approve a users post they get a notification show up on the menu, and when they go to the notification page it says ...
0
votes
0answers
21 views

Email is not sent while adding add_filter in wpDiscuz - WordPress Comments plugin

Currently i am using a wordpress plugin named "wpDiscuz - WordPress Comments" which sends email notification to the user list present in "wc_subscriber" table, but i have hided the default code which ...
0
votes
0answers
18 views

How to show a Progress Bar when a plugin is doing some processing in Wordpress

I'am new to WordPress plugin development and I'am developing a plugin which sends messages to all subscribed users when a new post is published. Plugin is complete and its sending messages to all ...
0
votes
1answer
35 views

Wordpress rewrite rules not working

I have created a plugin and i have gotten rewrite rules to work using my .htaccess file. I would like to make this work from my plugin instead to keep everything contained from within there. Im ...
0
votes
1answer
12 views

API Functions to Register and Show WordPress List Tables

I am developing my own plugin and I am trying to figure out how to add WordPress List Tables to my admin page. I am aware I can write the the HTML myself but if there is an API method this is the most ...
0
votes
1answer
15 views

Moving a plugin js to footer

So, a js from a plugin is located in the header based on the setting below: wp_register_script('plugin_min', plugin_url . 'scripts/scripts.min.js' ); Now, I can change it so that it will be located ...
0
votes
2answers
102 views

Disallow: /wp-* in robots.txt?

I have just received an email from Google advising that it can't accessing certain javascript and css content from my site. I've looked at the robots.txt file which contains: User-agent: * ...
0
votes
1answer
32 views

Issue with wp_handle_upload

I am trying to upload a zip file from Setting Page. I have designed a setting page and in that I have a file upload functionality. I am using setting API to do this. My issue is: I know that maximum ...
0
votes
0answers
9 views

Yoast SEO Plugin displays “Page not found” for all custom page templates even though they work

I have created custom single pages. By custom page i mean mypage.php and this page will then display custom content. The pages all work perfectly fine and i have hooks in place to add a custom title. ...
0
votes
1answer
15 views

Recreating a local repository from a currently existing wordpress.org repo..which I own

Sorry for the name. Not sure how to succinctly title this one. I have a plugin available on the WordPress.org repo. It's the Encrypt Email plugin. The laptop I was using to develop/maintain it died. ...
0
votes
1answer
25 views

Hook for altering the content of all wp mails

Hi i want to set email template for all mails for my site . I know how to set up mail template and i set mail template for each of my mail by editing the code ie wp_mail( $recipient, $subject, ...
0
votes
0answers
36 views

Create Database Tables on Plugin Activation hook

My function which have code for table creation function hotel_install() { $path=ABSPATH . 'wp-config.php'; require_once ($path); global $wpdb; $charset_collate = ...
1
vote
1answer
28 views

Adding regex filter to feedwordpress

I'm trying to write a plugin for Feedwordpress that filters html from the incoming feeds. So far I have managed to hook it to the right place, but the function completely wipes all content (and it ...
2
votes
1answer
44 views

wp_mail() is not working in localhost

I'm trying to test wp_mail() in my local. When I var dump wp_mail,I get Boolean false.This is my code $to = "abcd@gmail.com"; $subject = 'my subject'; $message = 'I would like to work ...
0
votes
0answers
20 views

WordPress plugin returns 0 on admin page

I'm searching for an answer here for hours, and I can't find what's wrong with my code... my wordpress ajax keeps responding "0" no matter what I do... Here's the code: header.php file: ...
0
votes
1answer
26 views

How to check if wp_update_post was successful

I want to update a post using wp_update_post( $my_post ); How can I check if it was successful? Should it return the post ID on successful update? I'm trying this: $post_id = wp_update_post( ...
1
vote
1answer
40 views

admin_notices hook show message all admin pages after plugin activate

I am working on a plugin and in plugin i use admin_notices hook for showing my custom message. When a user activate plugin the message show blew the plugin activate successfully, but my message shows ...
0
votes
1answer
101 views

oAuth2 Authentication in Wordpress using WP OAuth Server and WP API plugins

I am sturggling with how authentication works in my scenario. I have Wordpress site which provides set of custom APIs secured behind oAuth2 Authentication using Wp OAuth Server plugin. I started ...
1
vote
0answers
22 views

How to password protect a category page / not posts?

I have seen this question here but the answer was a plugin ( cat-pass ) that would password protect all the posts under the category. I am looking to password protect the category itself and not ...
0
votes
1answer
41 views

Create tabs inside Plugins Admin Page

I am developing my own plugin and I am trying to figure out how to add tabs to my admin page. Is the process similar to how we add meta boxes? Ie, something like add_tab_box(...); and I specify a ...
0
votes
0answers
22 views

Change post template the proper way

I'm trying to create an option on edit posts screen (backend) to select different post template based the selection and I need your opinions guys if that is the proper way. Here is what I've tried so ...
0
votes
0answers
19 views

Override theme template for index page

For one of the websites I manage we baked in a lot of custom functionality into the theme we are using. The problem with this is that it's difficult to switch themes. I wanted to decouple this code ...
0
votes
0answers
20 views

Dynamic admin submenu

I'm creating a plugin for WordPress with dynamic sub-menu's fetched from the server. Putting the dynamic loading of sub-menu's into the menu_setup() hook function would slow down other WordPress ...
0
votes
1answer
25 views

Send post changes to set email addresses (not users or subscribers)

What I have I am using the "The Events Calendar" plugin on my site to coordinate a team of employees. I want to be able to send an automated email containing the body of an event post (post-type is ...
0
votes
2answers
52 views

How to add users roles dropdown in registration in wordpress

How to add users roles dropdown in registration in wordpress function myplugin_register_form() { global $wp_roles; echo '<select name="role">'; foreach ( $wp_roles->roles as ...
0
votes
0answers
19 views

How to add a 2nd Top Level Menu bar at my Blog/website?

I want to add a 2nd Top level menu bar at my blog TechBemaers.com There is already a primary top level menu in the Blog which I want to keep only to display option for Home page, About, contact info ...