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
24 views

Removing subfolder vs htaccess without causing 404 pages

First of all just want to say spent the last 5 hours reading other stackxchange links and Google before giving in to ask. I'm using a plugin JS Support Ticket that adds a slug to the URL in this ...
0
votes
2answers
2k views

How to append new form elements in “Add New” form of Users in Wordpress admin panel?

I'm developing a WordPress plugin and I want to append some extra form fields in add new form of Users section inside admin panel without editing core files. Can somebody help me in achieving this.
0
votes
0answers
9 views

Option tree wordpress options plugin not save key values

I use this plugin for save values for my theme , actually in localhost in my server works fine , but when i install in production server not works The problem it´s with the keys , if i build a key ...
1
vote
1answer
22 views

Yoast SEO Calling content filters 2 additional times

I was trying to add a content filter and i discovered that the filter was being called 3 times in total. I tried slowly deleting all of the plugins and eventually found that it was Yoast that was ...
0
votes
2answers
540 views

Absolute paths in backend for plugins after moving wordpress

I wanted to move my wordpress from www.domain.com/old-name to www.domain.com/new-name. I thought that this is no problem and I missed backing up... Now if your are logged in into the dashboard the ...
1
vote
1answer
208 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, ...
0
votes
1answer
25 views

Display subcategories in the filter on CPT

I have a little problem with my CPT. I created some categories with subcategories, and I wish display the subcategories in the select filter. Actually, the categories filter display only the first ...
0
votes
2answers
25 views

Passing stored variables to add_filter

I am working on a site where the page titles are generated dynamically from external data sources. So obviously, Yoast SEO/WordPress SEO doesn´t know anything about the correct title, description, ...
0
votes
0answers
13 views

Theme switch is working but clears options

I have written the following code which allows me to switch themes and set a cookie based on the URL param '?t=' This works just as intended but it does some weird things that I can not seem to ...
0
votes
0answers
48 views

jQuery is not defined in wordpress

Got the not defined error for the script below : JQuery.noConflict(); jQuery(document).ready(function($) { /** Code using $ referencing to jQuery **/ }); Can't explain why and solve the ...
-2
votes
1answer
44 views

True or False: Is an Apache error or PHP error the same as a WordPress error?

I am using CentOS 6; Apache 2.2.2; MySQL 5.6; PHP 5.5.31; WordPress 3.8.13 . I do not have root access to this server because it is shared. I do have FTP and SSH (with some limits to functionality). ...
0
votes
1answer
11 views

How To Edit User Profile In Front End?

I'm try with this tutorial : How to edit a user profile on the front end? But, for email, website, first name and last name are not update. Can u help me ?
0
votes
2answers
32 views

Remove custom post type generated by a plugin (The Events Calendar) [closed]

On my client's site, I had installed the plugin "The Events Calendar". I noticed after uninstalling, the event archive page still remained and I could not find a way to remove this page. I have ...
1
vote
0answers
433 views

Some recent plugin updates have failed “Could not create directory”

I have been developing my WordPress site on a WAMPServer on my laptop for a few months, with few problems. In the last few days several (but not all) plugin updates have failed - Specifically IThemes ...
0
votes
1answer
32 views

Calling a save function from a “submit” button

I am trying to call a function to save changes from a submit button, but I am not accustomed to PHP programming, as I have just started. I tried Googling around a bit, but didn't find anything too ...
1
vote
1answer
24 views

Calling JavaScript file with Custom Plug In

So, the goal is to use jQuery Validation for a custom form. Maybe I'm going about this the hard way. But, here's what I'm doing: Uploaded the jQuery Validation file to my theme folder Created ...
2
votes
2answers
324 views

Internationalization and the plugin description

SO I am trying to do some i18n on a plugin I am working on and having some troubles. I wanted to see if anyone else has encountered these or possibly has a solution. Basically, I have received the ...
0
votes
0answers
15 views

Access submenu without giving access to menu page

I have created a custom post type 'book' and added few submenu's to it, which are also custom post types eg (novel, science, history etc.). I added seperate capabilities to all of the custom post ...
0
votes
0answers
25 views

Extend Metabox.io map field to sepearate lat long values

I am trying to separate the latitude and longitude values returned by the map field from the metabox.io plugin and save them as separate values. I have found a comment from the author (shown ...
0
votes
0answers
32 views

Can I add category list in wordpress TinyMCE custom button

I want to create a custom post type gallery plugin.I already create shortcode and create TinyMCE button But I can't add Taxonomies list in TinyMCE-button.js file. how can I add this? my code is php ...
22
votes
3answers
9k views

Custom Post Type Templates from Plugin Folder?

I'd like to offer my custom post type as a Plugin, so that people can use it without touching their theme folder. But custom post type templates -- such as single-movies.php -- reside in the theme ...
0
votes
0answers
38 views

Cannot get any plugins working

I'm having here a strange struggle. I have overtaken a project (relatively simple) form other person. He has build a page over commercial sold theme. 1st thing is that that theme by default camed with ...
-2
votes
2answers
374 views

Can features like Disqus or Intense Debate be done in a normal WordPress plugin without a 3rd party involved

I was searching for a real good feature rich comment system for Wordpress, I used Disqus a few times and may still not know the whole list on features and why it's so popular. Would features like this ...
0
votes
1answer
44 views

Override plugin template

I've got Recent post by category widget on my plugin with the folder "recent-posts-by-category-widget" I've copied that folder and all of it's contents to the root location of my theme. But the ...
0
votes
2answers
14 views

Change plugin name on WordPres repo

Months ago i have created a simple WordPress plugin that shows Latest post with thumbnails, but as the plugin name includes the word "Ads" it has been a report from a user that the plguin assets are ...
0
votes
0answers
25 views

Custom post types from custom database

For a plugin I want to use custom post types based on data stored in an external database. This database isn't related to WordPress (the structure of the tables is independent). The datastructure is ...
5
votes
2answers
3k views

WP JSON REST API (Ryan McCue) how to query posts with specific meta data with 'AND' relation?

I use Wp_query class to query my posts. 15 posts are in a template fetched on page load and their filtering works fine. Infinity scroll fetches for other posts using JSON restful services. The filter ...
-1
votes
1answer
36 views

Yoast Seo Plugin meta title not showoing [closed]

I am using latest wordpress 4.5 and latest version of Yoast seo plugin. I have filled all the options of yoast seo on page like focus keyword, seo title, meta description etc. But when i view the ...
263
votes
108answers
132k views

Best Collection of Code for your functions.php file [closed]

Please vote on the question and any answers you find useful by clicking on the UP arrow on the left hand side of the question or answer. As with many others who are now viewing this post, I have been ...
-1
votes
1answer
20 views

Child Plugin Admin Panel

So I've installed wp-mail-bank plugin and I want to customize certain part of them core. So I choose to use Hooks : location : /wp-mail-bank.php function backend_plugin_css_scripts_mail_bank() ...
0
votes
0answers
14 views

Unhook (or remove) Sidekick Customizer Option using a function

How do I remove / disable / hide the "Click for Help" Sidekick Drawer? I'm reading over the codex and I just don't see anything relevent between this and the plugin. I downloaded the plugin, start ...
0
votes
1answer
39 views

Does a blank plugin come with any overhead?

I dont really like big plugins like jetpack. I find it much easier to manage multiple plugins with a single piece of major functionality rather than 1 plugin that does everything and use an options ...
0
votes
0answers
52 views

Woocommerce Product Add-ons - Auto-select first option

The agency I work for are trying to get a client's website to auto-select the first option on the maintenance packages for their products. Currently, we are using an if statement within a foreach. ...
0
votes
2answers
48 views

Show custom taxonomy not in submenu

I have one small problem and I can't find answer...I have created custom post type and custom taxonomy, but my custom taxonomy is showing as sub menu under custom pos type, here is example what I ...
0
votes
1answer
21 views

Is it possible to get a shortcode generated by a plugin, then, using a function, create a new post using that shortcode?

I am planning to purchase a plugin that allows users to create polls and then embed them via shortcode into posts. It looks like a great plugin all around; however, the functionality I would like is ...
3
votes
4answers
11k views

Can't install new plugins because of the error “Could not create directory”

A faculty member is having difficulties with a instructional wordpress install. Fixing individual permission problems has been hit and miss, and have become a perennial pain, so I'll ask here. What ...
0
votes
1answer
45 views

Why doesn't a form need an 'action' with a plugin that uses the post data?

So I'm still rather new to WordPress plugins. And there's one thing that I'm not sure of. I'm building a front-end form that allows users to post posts. In this guide down below there's a plugin made ...
0
votes
3answers
81 views

Can't Install/Upgrade Plugins Through WordPress

I'm trying to download a plugin in wordpress, but keep geting the error "Unpacking the package… Could not create directory.". I'm using mac
0
votes
1answer
2k views

call_user_func_array() expects parameter 1 to be a valid callback

Hello I have problem with my custom plugin :/ Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_slider_info_page' not found or invalid function name in ...
4
votes
3answers
7k views

How do I call wp_get_current_user() in a plugin when plugins are loaded before pluggable.php?

The current result is "PHP Fatal error: Call to undefined function wp_get_current_user()" which makes sense, but doesn't help. I need to use $current_user. Here is the code I'm currently using: ...
3
votes
1answer
174 views

WordPress tips for speed and performance [closed]

I have got some problems with performance, exactly page speed load on my Website. Here are things listed below: I have got WordPress installed on my VPS with Nginx platform. AMD 8 cpu's 2x SSD ...
1
vote
3answers
4k views

How to use classes declared in another plugin?

I'm developing a Wordpress Woocommerce plugin. On my local environment it works fine but I have problems when adding the plugin to a replica of the prod environment. I am new to wordpress and not very ...
0
votes
0answers
20 views

How can add multiple query string URL in Wordpress?

I have site example.com/search-results/keyword/ I have added one rule in htaccess file as ^/search-resuls/(.*) index.php?pagename=search-results&keyword=$1 But it gives me Page not found. Any ...
2
votes
3answers
841 views

How do I make my plugin load before the headers are output so I can redirect wordpress?

I wrote some code, that helps secure my clients files, and added it to wordpresses function file. however, whenever updates come in, it obviously overwrites my function. So I wanted to create it as a ...
4
votes
3answers
2k views

How to track hits of a single media file?

I have multiple media files in my WordPress Media Library. Icons, Images, PDF's and the like. I would like to have a stat counter, that gives me a statistic of the downloads/hits of those files, ...
0
votes
0answers
17 views

How can I make query string parameter used by shortcode content part of permalink?

I have made shortcode content that displays a form where you can enter some values, after submit save the values in a database table and redirect to /pageurl?id=x. If the query string parameter id is ...
4
votes
2answers
114 views

Avoiding plugin name collisions with WP updater

I have a client who has a WordPress site that uses a custom plugin written for them by another developer. Recently, they ran the WordPress updater and one of the updates clobbered that custom plugin ...
0
votes
1answer
15 views

Is there a way to combine categories and their hierarchy into the admin listing page?

A simple question for a plugin that I would imagine must exist yet I can't find it. I want the standard listing page of posts (for my custom post type) to show all the posts within a tree like ...
0
votes
0answers
15 views

Custom wordpress plugin was updated and overwritten by one in the plugin directory [duplicate]

I wrote a custom wordpress payment plugin several years ago. It was written completely from scratch and it's being used on a few sites. One of the site owners this morning said their plugin interface ...
3
votes
1answer
43 views

Remove action from plugin on other plugin

I'm trying to remove two of the actions that adds a plugin (sportspress specifically). The actions of this plugins are: ...