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
1answer
32 views

Need to revert to an older version of wordpress

One of my plugins, shiftnav, does not work with the newest version of wordpress I think, how do I revert in order to fix shiftnav? It is currently making "| 500" appear on all of my menu titles
-4
votes
1answer
33 views

Email Masking in widget

I have a wordpress website in which we have used widgets and we have added html mail like this <a href="mailto: myemail.examlple.com"> my email </a> I want to protect this email id ...
0
votes
0answers
53 views

How do I use TCPDF to make a PDF Generator plugin?

I need to make a portion of a Wordpress site able to be converted into PDFs, using a specific already-made design. I have the template built out with TCPDF (because I need customizable page breaks), ...
0
votes
1answer
36 views

Infinite scroll for text in post with url page change

I've been looking for a solution to my problem for quite some time. I would divide the text of an article, in parts by adding the "paging" infinite scroll and so far I have seen that it is possible ...
1
vote
2answers
35 views

OEmbed from Pinterest

I'm looking for a way to show a certain pinterest pinboard in a post. I've found in the WordPress.com Documentation that you can simply post your pinboards URL there. This is not possible on a ...
1
vote
1answer
36 views

Change settings of get_post_type_object

I've a theme with a plugin provided by theme developer for manage portfolios section. This plugin create a custom post type with this code: // Portfolio post type register_post_type('...
0
votes
0answers
14 views

User defined password in new user approve plugin

I am using new user approve plugin and I'm satisfied. It works, for web site and Rest API, but the problem is when I want to use my own password style (only numeric and 10 digits). I added some ...
1
vote
1answer
37 views

Change Page's <title> Tag Using functions.php File

In my child theme's functions.php file, I'm trying to change a page's title tag: function custom_title() { return "Page Title"; } add_filter( 'wp_head', 'custom_title', 9999 ); The code above ...
3
votes
0answers
45 views

List of plugin updates in admin bar

In the admin bar, there is an icon that will tell you if there are plugin updates. Whenever you hover over it, it will say something like "1 plugin update". You have to click on it to go to the update ...
0
votes
0answers
32 views

Issue with AJAX passing values from jQuery to PHP

I made an AJAX form in WordPress by making a plugin. The script runs well: First I retrieve the value from the form, then I send it into post_meta table, and finally I put the value in the div I want ...
0
votes
0answers
22 views

How to upload thousands of images with folder tree?

Hi We need to upload meda from FTP and when choose image from add media there show foder tree for choose media. See the attached screenshot.
1
vote
2answers
69 views

Removing blank spaces from scripts to reducing page load time

I am currently working on an entertainment website and I am having issues with page load time. I would love to know if there is any method I can use to remove blank spaces from PHP, JS , CSS scripts ...
-3
votes
1answer
26 views

Move a single Plugin [closed]

I pretend move a single plugin and respective content from Site A to site B? Exist any plugin backup for that, or other way for it? The plugin for move is: MyMail
0
votes
0answers
13 views

How do I let users specify interests on signup and have this reflect content displayed on homepage?

I'm looking for something that will allow my site to have the following functionality: A user creates a login for my site. When creating a username and password, they also select from a list of ...
0
votes
1answer
70 views

Why do I get this “peer's certificate issuer not recognised” error when trying to install a theme?

I'm trying to install a theme and some plugins on my WordPress install but every time I try to install a theme or a plugin it gives me this error: Download failed. Peer's Certificate issuer is not ...
4
votes
0answers
43 views

Calling shortcode in wp_localize_script strips result

I am working on adding some functionality on a Wordpress plugin which after a certain click needs to call on some shortcode through ajax. What I first attempted was to call the shortcode inside of ...
0
votes
1answer
26 views

how to replace hostnames on certain external links?

I have a need to replace hostnames on certain external links. For example, I'd like to replace outbound links to http://www.example.com/whatever with http://staging.example.com/whatever throughout my ...
0
votes
0answers
19 views

ACF Meta Query on Taxonomy Fields

I have some custom fields on a taxonomy. I'd like to be able to pull a list of the taxonomy based on those custom fields. I know it use to be possible using a meta query, but now that the custom field ...
0
votes
0answers
25 views

Change update interval of wp_cron event without having to reactivate plugin

I recently wrote a plugin: Host Analytics.js Locally. It allows the user to self-host Analytics.js and updates it automatically by scheduling an update-script in wp-cron and runs that daily by default....
0
votes
0answers
25 views

How to hide a post until its prerequisites are complete

I have two custom post types Exercises and Tempo Submissions. For each exercise, I have a field that contains an array of other exercises that are it's prerequisites. I also have an exercise field ...
0
votes
0answers
20 views

Fastest way to load plugin and store and retrieve settings?

For two plug-ins I made I think it's important that they are as fast as can be when loaded at the front-end side because both insert scripts into the public html source. For this it hooks into almost ...
0
votes
3answers
46 views

Change default url to plugin custom post type

I have a custom post type in my plugin "Luckydraw" as 'voucher'. By clicking on post link, wordpress generates its URL as : http://localhost:81/luckydraw/index.php/voucher/testing-2/ But I want ...
1
vote
1answer
25 views

Can't get order_by meta_value_num to work properly

This query is working ALMOST as intended, but for some reason I can't get it to order by the custom field opl_submission_tempo. That field is set up to be a number, so I'm not sure where I went wrong ...
0
votes
0answers
24 views

Adding Angular JS code snippets to pages?

I need to create a post type where an editor can insert 2 code blocks: one for "live" Angular JS HTML markup, and one for a pretty-printed sample of the code (which may or may not be the same code). ...
2
votes
1answer
21 views

How to create popup same as wordpress popup feature

I wants to include a popup window which is same like wordpress popup. Like if we click on the wordpress editor's link button it will open a popup window. I wants to create same like that.
0
votes
2answers
66 views

WP_Query return highest number only

I have a custom post type with the fields Exercise and Tempo. Here is an example of how that might look: Exercise 1 - 100 Exercise 2 - 104 Exercise 3 - 96 Exercise 1 - 104 Exercise 2 - 110 Exercise 3 ...
1
vote
1answer
41 views

Is there any way to get all the name or slug of template parts used in a page?

I am developing a custom plugin where I am using a single page template and changing the template parts only using ajax,I want to retrieve the template parts slugs or name (like custom-header.php, ...
0
votes
0answers
12 views

How to set the template of a page created via plugin with template inside plugin

I've been trying to make a plugin that creates a couple of pages and then sets their template. This issue is that I have the templates inside the plugin. To create the pages I'm using: $post = ...
0
votes
0answers
11 views

How to search based on meta keys

I am trying to search custom post type based on meta keys but have no success so far I only have one post in this custom post type but no success. Here is the code. $args = [ 'post_type' => '...
-1
votes
1answer
58 views

Wordpress site keeps getting flagged as malware [closed]

I have a Wordpress site that is constantly getting flagged as Malware by Google: https://www.google.com/transparencyreport/safebrowsing/diagnostic/#url=damonanddoras.com It is this line in my ...
2
votes
2answers
37 views

Extension preview disapeared since WP 4.5.2

Since the last Wordpress update, I can't read new version notes when trying to update a plugin in my dashboard. The same thing happens when I try to read an plugin's details. How can I fix that ? ...
-1
votes
1answer
21 views

map urls to plugins

I'm just getting started in plugin development and written some admin functionality by referring to the codex. However, I now want to add some functionality to the front end, but using some URLS such ...
0
votes
0answers
36 views

WordPress permalink for custom post type with taxonomy and post title

I have custom post type death and have a taxonomy death-area for each post. I want to set permalink as http://base/death/[death-area-name]/[post-title] But instead I am getting http://base/death/...
0
votes
2answers
32 views

Admin page and admin menu. Permissions plugin

I was googlin really hard but couldn't find any answers. What i'm trying to do is write a simple permission admin page plugin. So far what i did a page with every role where i can check a certain ...
2
votes
1answer
77 views

How to Add a Third Level Sub Menu to the Wordpress Admin Menu

Is there a function, action or filter that I can use to add a third level dropdown menu to the wordpress admin menu. For instance, right now in the sidebar menu their is a menu for posts and under ...
3
votes
3answers
54 views

Is the Wordpress HTTPS Plugin Still Safe To Use? [closed]

I have a client who wants to accept Authorize.net donations on their website. We only have a need for one page to be secured for our purposes. I've put a lot of research into this and it seems that ...
-1
votes
1answer
23 views

plugin for different writers [closed]

Does anybody know a way for having different writers with seperate logins? I would like to host a bunch of coaches/trainers with each having their own page they can modify. The plugin I'm using now is ...
1
vote
1answer
16 views

Change plugin main file name (that is currently in the repo)

Thought I'd ask before I give it a shot and break my plugin. Is it possible to update a plugin's main file name that IS CURRENTLY in the repo? It was the first plugin I ever made, and the file ...
0
votes
1answer
40 views

Create dynamic page content from custom Wordpress plugin page

I would like to create a custom Wordpress page from a plugin displaying content that is not from Wordpress with 2 get parameters and apply rewriting rules on it. Let's say I have a file called test....
0
votes
0answers
11 views

Best way to change the author's name on view only

I'm developing a plugin that allows users to sign in and make posts. However, I have a substantial number of users and don't want them to be added as users in WordPress's user database, so I have my ...
0
votes
1answer
30 views

Getting a Page via its post-name using WP REST API v2 and Postman

Using Postman as a Chrome extension I have had success accessing Pages(not posts as I don't use them) from my WP website. Having trouble pulling data using the post-name url that I set way back in ...
0
votes
0answers
24 views

Post information from plugin to static page Wordpress

I'm writting a plugin to Wordpress and i need to post an information from date base to static page. I do it by shortcode. Here is an example of plugin function code: function show_list_oil_filters($...
2
votes
1answer
26 views

Licensing of freemium plugin

I know this has been discussed elsewhere before but still it is not clear to me. I am currently investigating how to publish a freemium plugin: The free edition is a fully functional plugin, that I ...
5
votes
3answers
199 views

how to include other plugins css files in a shortcode?

I've coded a plugin that creates a shortcode, among other things. That shortcode expects a post_id parameter, it extracts the content of that post and it returns the filtered content of that post (e.g....
1
vote
2answers
38 views

Output array into one table cell

I'm trying to output an array into one table cell. Here is a truncated version of what I have now: $prerequisites = get_post_meta($post->ID, 'opl_prerequisites', true); $output .= '<td>'; ...
0
votes
1answer
15 views

Symlink a plugin in local development, works but got Debug error message - Windows 10

I read that WP 3.9+ supports symlink (Article here). So, my plugin resides in C:\Github\my-plugin. while my project is at C:\Project\my-site. I successfully symlink it by using this command (run as ...
0
votes
1answer
21 views

Using activated_plugin to run code

I am using Site Origins Page Builder plugin and want it to install when my theme is installed, so to do that I am using TGMPluginActivation. This correctly installs and activates a bunch of plugins. ...
0
votes
0answers
31 views

Reorder posts in a custom Meta Box

I have a list of Posts (of a Custom Post Type) that is displayed in a Meta Box for a different CPT. In this Meta Box I need to enable the user to reorder the posts. Currently, the list of posts is ...
2
votes
1answer
16 views

What user roles should have wp_unique_post_slug_is_bad_flat_slug filter applied?

I have a plugin where I need to reserve some slugs so I am using the filters wp_unique_post_slug_is_bad_flat_slug and wp_unique_post_slug_is_bad_hierarchical_slug. I apply them like this on my plugin ...
1
vote
1answer
16 views

how an array index could be a file path

In the function below at the end the variable $plugin_path is used as an index of an array. How could it be possible since some lines above we have the call to a function which returns a string (see ...