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
0answers
15 views

Plugin which create a popup javascript based page

I would like to create a shortcode which change a page into a full javascript page. I am using this code: function psgp($atts, $content=null) { $atts = shortcode_atts( array( 'gp' => ...
0
votes
1answer
37 views

How to check plugins for malicious code?

Our new hosting company ran a security check on our installation and I was very surprised to hear that a premium plugin we had purchased (Easy Media Gallery Pro) contained malicious code. (It may ...
1
vote
0answers
8 views

Make a custom_post translatable

I have a problem with two plugins. The 1st plugin adds a custom_post type whenever a post is created. The 2nd plugin is a translator and only shows posttypes that are translatable (according to the ...
2
votes
0answers
40 views

Get a list of all WordPress.org Plugins?

I'm looking for a way to get the list of all plugins listed in the WordPress.org Plugin Directory. There is one other post I've found on StackOverflow regarding this which recommends using the ...
0
votes
0answers
23 views

Activate plugins by a theme's functions.php?

Is it possible to activate plugins per theme? I have a multisite, and I know it is possible to activate plugins per site. But I need plugins to be enabled for specific themes. Someone asked a ...
1
vote
1answer
50 views

Adding content before the loop in category pages

I am creating a plugin and I want to show all sub category list in the top of every category page. I had created a function and call "wp_list_categories" in that function. The problem is when I call ...
0
votes
2answers
448 views

How to add a custom page template selector to a custom taxonomy?

I am trying to add the custom page template selector that can be found in the "edit page" screen for pages to a custom taxonomy. The custom taxonomy is product_cat created by WooCommerce. I am using ...
0
votes
0answers
26 views

Dislay Admin Notifications through Ajax

I am writing a plugin that will require its own settings page in the WordPress admin menu settings section. I have done most of it correctly, and I am stuck at one point. I understand that in order ...
1
vote
2answers
1k views

How to stop wordpress from changing default .htaccess permissions to 444

I installed my website using an installer - fantastico for a quick install. Just a few days ago, I started getting a weird error in w3tc plugin and it would ask me to update via ftp as you can see ...
0
votes
1answer
657 views

Insert new user with form submit 'init' hook

I'm posting a form to insert a new user and hooking my function to 'init'. This code is in my mu-plugins folder. The user gets inserted fine, but the page is not loaded after wards. My form action ...
0
votes
1answer
517 views

wp-admin will not redirect to wp-login.php

For some reason my plugin is causing the /wp-admin/ to not redirect to wp-login.php as it should. I've narrowed it down to these two lines of code: foreach( glob($this->path['modules_dir'] . ...
0
votes
2answers
35 views

How to get member list based on role by using buddypress?

I am new in buddypress. My problem is: I have create a template for get member list based on role Like: <?php if ( bp_has_members( bp_ajax_querystring( 'members' ). ...
0
votes
1answer
11 views

Article content navigator in wordpress like mbaskool website

Is there any way to allow navigation in an article within same post in Wordpress. or any such plugins ? Because i searched a lot, but could not find a way. For example : Check this link ...
0
votes
0answers
17 views

Does WP query update accept variables being built into it?

Trying to figure out if this is a WP specific quirk. The var_dump code shows the correct string to be inserted but the last query dump at the end shows an incomplete query with no variable being ...
0
votes
1answer
29 views

Best way to retrieve data in custom api extended from wp-api

I have extended WP API plugin to provide an API which can process documents. Routes public function register_routes($routes) { $documents_routes = array( '/v1/documents' => array( ...
0
votes
1answer
24 views

Shortcode Output on Top of the Posts [duplicate]

I'm using this code to create shortcode. when I Place shortcode in page, that appear at the top of content. <?php function SkypeChat(){ ?> <script type="text/javascript" ...
5
votes
2answers
2k views

Building a custom REST API

I have a WordPress.org site which takes user input, searches a custom database and displays the results of the query. I have this working using the wpdb class. Now I'm trying to get this working for ...
0
votes
0answers
12 views

SQLite Integration - Can't open database

This issue sounds similar to this... which was never really resolved. https://wordpress.org/support/topic/database-access-2?replies=2 I migrated my wordpress website from Hostgator to Godaddy. As a ...
2
votes
4answers
497 views

Do Plugins effect site loading time?

Is there any way to measure the time it takes for plugins to load and in which pages they load (without figuring out the entire code)? In addition, I would like to find out which plugins load files in ...
5
votes
3answers
2k views

How to delete the Hello Dolly plugin automatically?

I'm planing to create a plugin called Goodbye Dolly. Once installed, it will take care for the installation to remove the auto-installing Hello Dolly (Wordpress Plugin) shipping with wordpress. This ...
1
vote
0answers
28 views

Best action hook to create custom post and assign taxonomy terms to it on plugin activation?

When I install the plugin, I want to create 10 CPTs of a particular type, which I define in the init action hook, and want to assign 10 terms of a custom taxonomy, which too is defined in an init ...
2
votes
2answers
574 views

Multiple files in wordpress plugin

I'm trying to write a plugin with multi files. I'm sure I did it before without a problem, but now I have the problem in the subject. In the main plugin file I have included a file name - ...
0
votes
1answer
21 views

Defined user role to access plugin's pages

I Have two plugin installed Job Manager and Events and i want to defined User roles to access These plugin's created pages (Plugin Pages).
0
votes
1answer
485 views

How to add a full edit link to front-end editor?

I would like to add a full edit button to the Front-end Editor plugin. It's currently like this: [EDIT] Text text text I would like to make it like: [EDIT] Text text text (enables front-end ...
2
votes
2answers
432 views

Best way to diagnose which plug-ins/theme uses the most memory?

I just upgraded one of my WP website from 3.1.4 to 3.4.2 but i immediately got a Fatal error: Allowed memory size of message. So i added define('WP_MEMORY_LIMIT', '128M'); to wp-config.php, but ...
0
votes
0answers
8 views

Subdomain to Root Domain VC issue

I moved my wordpress from blog.mywebsite.com to mywebsite.com by copying the index.php and .htaccess as instructed here https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. Seems to work ...
0
votes
2answers
227 views

Contact Form 7 - Form name blank [closed]

I'm using WordPress 4.2.2 and the "Contact Form 7" plugin version 4.2.1. But when my contact form shortcode outputs the html code the name="" attribute is blank and W3C html validator is giving me ...
0
votes
1answer
24 views

Plugin Works, but Widget Doesn't

I really haven't got a clue here. I've been busily developing a custom WordPress site, using custom plugins and widgets for some of the custom functionality, and I've hit a snag. No matter what I ...
0
votes
1answer
501 views

query_vars in plugin when using custom permalinks

I am trying to do the following I need to get the category of the current page at the plugin level so before it goes to archive.php orsingle.php so i have a plugin to do this and based upon ...
0
votes
3answers
5k views

WooCommerce - Display product child categories from specific parent

I want to edit the following piece of code: <?php if ( (!$theretailer_theme_options['category_listing']) || ($theretailer_theme_options['category_listing'] == 0) ) { ?> <!-- Show ...
0
votes
3answers
26 views

Need help getting a certain value out of a multi dimensional array

I'm looking to retrieve a specific meta value for users from the Wordpress types plugin. I know the value is stored in a wpcf-team-experience-member-type. This is a checkbox option and I'd like to ...
0
votes
0answers
20 views

Fantastic Elastic Search plugin, no search results

The query generated by this plugin always returns no results for a search. The SQL statement generated by the query: SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID IN ...
0
votes
1answer
24 views

Wordpress Widget Not Saving Instance

I have very simple wordpress widget, that has 3 input field. Whenever i submit data, it does not save to database. I have added and deleted the plugin , deactivated and reactivated multiple times, but ...
0
votes
1answer
40 views

Adding a google map to a metabox, map has inline style height=0

I've read through a few posts here on stack exchange and cannot figure out what I am doing wrong. Here's my metabox callback: <script type="text/javascript"> function initMap() { ...
0
votes
0answers
21 views

Edit the style of the Subcategories in product arhive

I want to display the sub-categories one after one. Not one under one. How to do this? Like: Cars - Jobs - House Not Like: Cars Jobs House Here is the photo, but I want it like this.
1
vote
1answer
69 views

Bootstrap Drop Down menu is not working

Bootstrap dropdown is working when i added the jquery( https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js ) in footer and by deregistering wodpress default jquery. When i disabling the ...
0
votes
0answers
23 views

How can I add a dependency in functions.php to a JS file inside a plugin?

I'm currently using the Ajax Load More plugin and I'm trying to get it to work with Masonry. There's actually a section specifically dealing with this interaction on the Ajax Load More plugin site, ...
0
votes
0answers
12 views

posting to a wordpress blog using XML-RPC without credentials

I would like to be able to create a post from within my iPhone app/server code. I'm guessing there is no problem doing it with XML-RPC. The thing is that my app user needs to give me his admin ...
0
votes
2answers
36 views

How to add image for custom taxonomy

I was trying to add category images for custom taxonomy I am using this plugin taxonomy-images but I don't know how to get that custom taxonomy image I tried to keep print apply_filters( ...
0
votes
1answer
467 views

Not getting the Correct JSON response from Ajax Request

I am trying to save data from backend with ajax. But its returning data in HTML as well. But i want only JSON data. ////////////////////////////////// // Do Ajax Request to ...
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 ...
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 ...
1
vote
2answers
673 views

Using plugin functionality in external php script not working

I am encountering a strange problem which I couldn't solve so far. I'm calling a .php script via cronjob (Debian/GNU Linux). To use wordpress functionailty I added: define('WP_USE_THEMES', false); ...
0
votes
1answer
393 views

How can I list custom post type categories of portfolio

this code below lists wordpress categories and works <form action="<?php bloginfo('url'); ?>/" method="get"> <?php $select = wp_dropdown_categories('show_option_none=Select ...
5
votes
3answers
517 views

Disabled plugins are they security holes - rumor or reality?

I've read many WordPress Security blog articles where the Security Experts are recommending some special steps to take care when somebody is concerned about his/her WordPress site's security. One of ...
0
votes
0answers
24 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 ...
0
votes
1answer
1k views

Getting taxonomy images to display on single-post with their terms

Having some trouble with taxonomy images plugin. I am on single-post.php and I want to display my post's taxonomy terms & the term's associated images. Ideally, I'd like the taxonomy description ...