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
2answers
42 views

How to quickly reorder posts in the admin panel that will persist for the wp-api

I generally use the Intuitive Custom Post Order plugin for any WordPress sites I work with so clients can order their posts visually. For this project, I'm using WordPress as an admin panel and ...
0
votes
1answer
21 views

What goes into wp_postmeta and why?

we are using WordPress in a site that has Places and eventsOn running, however we notice that sometimes the newly inserted place data goes into the wp_postmeta table others it doesn't... Searched for ...
0
votes
0answers
17 views

Escaping and sanitization

I have created a custom metabox for a certain plugin - events CPT. In it I can add talks by event days, with images, speaker names, descriptions, titles and times. So all either input fields or ...
-1
votes
0answers
29 views

Headers already sent error when activation hook

This code : <?php class Planner_plugin{ public function __construct(){ register_activation_hook( __FILE__, array( 'Planner_plugin' , 'install')); ... } ...
0
votes
1answer
31 views

function of parent not working in childtheme

I have a plugin used on a parent theme which uses shortcode. The plugin (shortcode) works on the parent theme but when I switch to child theme it no longer works. I've only added the child theme code ...
3
votes
3answers
90 views

PHP Script to Download Latest PLUGIN Version

I use the following code in my PHP script to automatically download the latest version of WordPress... $wordpress_zip_file_url = 'https://wordpress.org/latest.zip'; file_put_contents("wordpress.zip", ...
0
votes
1answer
38 views

Wordpress Registration Email by Role

I'm wanting to send out a custom html email to a new user based on their role during registration. So, I have 2 roles that will be specifically registering on the site: photographer and subscriber and ...
0
votes
1answer
21 views

Attachments plugin cannot click media library button [closed]

I have installed the Attachments plugin (version 3.5.7) to upload multiple images to a post in my post type 'shop'. The problem: For some reason I cannot click the insert button of the media library ...
0
votes
1answer
18 views

mu-plugins Aren't Loading - Need Help

I've looked at other posts regarding mu-plugins but I don't understand yet. Here's the situation: My site is hosted by a service that automatically set up 2 caching plugins. Cloudflare and OP ...
1
vote
0answers
61 views

disable active plugins for specific theme

I want to disable some plugins from a specific theme.I am using deactivate_plugins hook to deactivate. following is my code. add_action('wp_head','disable_plugins'); function disable_plugins(){ ...
1
vote
1answer
40 views

Editable form for WordPress plugin options page

For my new plugin Scripts and Tags Manager I want to add the possibility for the users to edit rows and add / remove rows. Each row is a form element that contains a text field for the dynamic ...
-3
votes
0answers
36 views

unable to pass array variable to select field in metabox

I'm using this code to get data from text type metabox..this will create an array $args = array('post_type' => 'locations_add'); $prefix = 'nilgiris_'; $the_query = new WP_Query($args); if ...
1
vote
3answers
60 views

How do I apply style to each category of a list?

I need to create a simple plugin to show a list of categories inside the body of the post and, as I am new to coding, I searched for the basics and started to make little changes; it looks like this, ...
0
votes
2answers
14 views

WordPress core update fails - no issues with plugin updates

My WP installation does one-click plugin / theme updates without any hiccups, but updates to the core always fails. No specific reason is cited, except for a suggestion that it may be due to file ...
0
votes
1answer
26 views

Is there any hook to change media html in post? [duplicate]

When I add image to a post, wordpress makes this html format in theme. <p> <img class="aligncenter size-full wp-image-455" ...
2
votes
1answer
33 views

Override plugin localization

Is it possible to override the localization files provided (or not provided) by a 3rd party plugin? A plugin that I'm using now doesn't have any language files but I want to avoid having a future ...
0
votes
1answer
27 views

How to order users alphabetically by name? in plugin UPME

I have this code: <?php class UPME_List_Cards { public $upme_options; public function __construct() { global $upme; add_shortcode('upme_latest_members_list', ...
0
votes
2answers
27 views

How do you override the default comment template?

I have a custom user database that is integrated with a wordpress website using a custom built plugin. I also want to integrate this user system into the comment system. I have found and completed ...
0
votes
0answers
15 views

meta_query in $args ignored when called from theme

I have the below function in my plugin in the MyManager class. public static function test() { $numRowLimit = 6; $arrArgs = array( 'posts_per_page' => $numRowLimit, ...
1
vote
1answer
23 views

With Wordpress + Visual Composer, how to restrict a user to change some content in a page?

Sorry if it's not the right place to post that but I did not find better. I know in Wordpress, it's possible to restrict users to change pages or remove items from the menu. But is it possible to ...
0
votes
0answers
9 views

Automatic format non-formatted imported posts

I imported a lot of posts, some of them are good formatted, but most of them are non-formatted, without spaces after comma or dot(s), no new paragraph. In fact this is short example of article: Hi ...
0
votes
1answer
16 views

Creating plugin for changing slug

I need help about creating plugin for rewriting slug. When you enter you post name or page name wordpress is creating slug. So I want to make some modification. I don't know how to make changes in DB ...
0
votes
1answer
36 views

datetime jquery UI not showing after theme update

I had jquery datetime picker working when theme team ask me to upgrade it. That totally broken my site, but now I've fixed almost everything. Last thing I cant figure out is why Jquery UI datetime ...
0
votes
0answers
28 views

Is this possible with Wordpress it's rewriterules

I'm aiming at creating my own plugin but i'm having some troubles figuring out with the rewriting and so on. What i'm trying to build is that my client(s) can created their own "Vehicles". Well that ...
-2
votes
2answers
26 views

Wordpress Smart Iframe Browser [closed]

How to browse other website without leaving domain? for ex. my website is websites1.com and i want to someone to goto website2.com but doamin name in address bar must be website1.com only.
0
votes
1answer
47 views

Rewrite in plugin

I made plugin with shortcode. User put short code in page "bz". Now, plugin is used on page www.sitename.com/bz. I want to get all url content "after" my plugin. So, when user enter ...
0
votes
0answers
23 views

function to write the output of a variable + post_title in post_content

I have a function that writes the output of a function of a rand_keys + the post_title in post_content, but writing the title but only happens after I click manually on the update button on the ...
0
votes
0answers
30 views

The plugin generated xxx characters of unexpected output during activation

I know this question has been asked 100 times, and I've googled it and tried multiple solutions, but I'm still getting this error. I removed all the white space, tried to encode it in UTF-8 in notepad ...
0
votes
0answers
36 views

How Do I Attach Custom Taxonomies to a Custom Post Type?

I'm having trouble attaching custom taxonomies to a post (CPT) submitted via a frontend form. For some reason, whenever a new post is created, new fields in the wp_terms table (containing the IDs of ...
-1
votes
0answers
39 views

Problems implementing jQuery plugin

I'm trying to create a slider using a jQuery plugin in the single.php of my child theme. I want to use a slider that uses thumbnails below the main image to navigate. I'm currently trying to implement ...
0
votes
0answers
8 views

Set rules for file uploads to dynamically hide/show menu items

I am curious if anyone has a clue about this? Upload a file. If file meets certain criteria, link the file dynamically to a menu item If file is linked, the menu item will show. Until an associated ...
-1
votes
1answer
56 views

Add estimated value for a post according to the number of words

I have a blog where paid by 2 cents per word, need to add next to the word count one text value of statistics. Anyone have any idea how to make this automatic multiplication along with the word ...
1
vote
1answer
36 views

Plugin Options Not Saving to Database in WP 4.5

WordPress 4.5 broke my plugin and there are no obvious clues why in the change log The plugin controls the visibility of menu items. Users select one or more countries and whether to show or hide the ...
0
votes
0answers
22 views

How to Publish a Post Multiple Scheduled Time

I want to publish a post in WP, but not immediately. So what I am doing is like this- From this tutorial. So, I am getting only 1 time when the post will be published. But I want to the post be ...
1
vote
1answer
30 views

Wordpress Hook that will run when media file deleted

I am very new in wordpress and I am currently developing a wordpress plugin, I just want to know if there is a wordpress plugin hook that will run when one or more file of wordpress media is deleted. ...
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
0answers
8 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 ...
0
votes
0answers
16 views

I want to add tag id to search query in wordpress

I have a custom search form which get result like this http://localhost/car/?post_type=cars&vehical=sports-car&manufacturer=truck&country=australia&state=new-yourk By using this ...
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
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
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 ...
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
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 ...
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
votes
0answers
19 views

Add menu content as hyperlinks on a page

I've Googled this, but keep turning up ways to add links to menus, which I fully understand. What I'd like to do is this: My client wants a page with links of certain pages right in the page ...
-3
votes
0answers
23 views

Backlinks Saver Plugin Redirect

I'm using Backlinks Saver to redirect dead pages to my homepage so I can preserve my linkjuice. It's causing some issues with some of my custom HTML pages and I would like to disable the plugin for ...
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
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 ...