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)

1
vote
0answers
4 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
4 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
20 views

wp carousel is not working in Google Chrome

In this website, www.clinicafelipemeletti.com.br/ Inside the div wp carousel-4 posts I have three dots owl-dot which are not working... I tried a lot of things, but I do not know how to solve it. ...
0
votes
0answers
10 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
1answer
3k views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
0
votes
1answer
19 views

How to add promo code functionality to site?

I'm using ninja forms and paypal express to process tennis lesson signups for a client. The clients want to add the ability to offer promo/discount codes which currently is not supported by either ...
0
votes
1answer
464 views

how to display the 5 most shared posts?

I'm looking for a way to display on my website the 5 mosts shared posts. I'm using Facebook, Twitter & Google+ to share my posts. I know there's a plugin named "Most Shared Posts", but it's no ...
-1
votes
0answers
14 views

Replace html class name part with php

I want to replace one of my plugin icon class name. The icon html is <i class="um-faicon-user"> and <i class="um-faicon-facebook"> etc. I want to replace all um-faicon part to fa fa and ...
0
votes
2answers
63 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 ...
0
votes
0answers
13 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 ...
0
votes
0answers
18 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 ...
-1
votes
0answers
7 views

-woocommerce- Adding multiple parent category to a Sub category? [on hold]

I currently have a client that sells door mats(for example) He is currently using the Woocommerce plugin for Wordpress and having trouble assigning parent and sub-parent category's. He has 2 parent ...
-3
votes
1answer
15 views

WordPress contact form

I am currently using contact form that came with Enfold theme on this website OneWebX Free Quote This form is good but does not look cool. The text box size do not vary much. And it cannot upload ...
0
votes
0answers
18 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 ...
1
vote
1answer
38 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 ...
1
vote
1answer
531 views

Force Plugin to English Translation

Here's my thing: I'm using a plugin that has multilang capabilities. The point is that the language translation in my country lang is very bad and it makes more complex than simpler my work. :D. So ...
-3
votes
0answers
11 views

A form capable of sending an http request to another specific website

How do I create a form that will do the following on wordpress: "When a user hits the “submit” button on the form, the form makes an http request. The request is made with the form data, and returns ...
0
votes
3answers
29 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
426 views

How to add wp visual editor in a custom widget?

I am developing a widget plugin and want to add a textarea with WYSIWYG editor in widget settings. Any help would be highly appreciated. Thanks.
4
votes
3answers
130 views
+50

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 ...
1
vote
4answers
671 views

A plugin for having rel=“nofollow” in posts?

I'd like to make all the links in posts on one of my sites to be with rel="nofollow" on links inside posts. I wasn't able to find a plugin that did the job except for WP-NoExternalLinks. It also ...
1
vote
1answer
22 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 ...
1
vote
1answer
15 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.
-3
votes
0answers
18 views

Set Default value for Just Custom Fields Select dropdown [closed]

I have added Just Custom Field plug-in for manage custom fields. For list of option for Layout Selection I have added three option which are Full Width, Left Sidebar and Right sidebar. Now, when I ...
-1
votes
1answer
591 views

Archive with months of current year only

I'm trying to figure out how to get the following archive navigation: JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC 2012 | 2014 Thus, a list with the months of the current or selected year ...
-1
votes
0answers
7 views

Woocommerce Hide Price Match when price is empty

I have a module on woocommerce which is the Price Match, however intended to hide when the product has an empty value. Someone I can help?
3
votes
3answers
89 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
0answers
18 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). ...
0
votes
5answers
686 views

Error uploading plugin zip file

I have a question here and hope you guys can help me with that. Couldn't find the exact answer from search and I am not a coder myself. I was given the instruction (to change plugin name) by my ...
-3
votes
0answers
15 views

WordPress custom registration form plugins [on hold]

i need a wordpress plugins which register people for a school event they have id and password when they register its go to donation page method bank transfer mobile money transfer when they make ...
-1
votes
0answers
10 views

Display time field from gravity form custom post type in front end [on hold]

I'm using Gravity form, Gravity form custom post type and simple field. I would like to display in the frond end of the post the time field. Is there any solution for this ? Any help would be ...
1
vote
1answer
33 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, ...
-1
votes
0answers
11 views

Show some additional products on Woocommerce checkout page

I need to add some cart functionality to WooCommerce checkout page. Here's an example case: User adds some products to his cart and goes to checkout page. On checkout page he sees an additional ...
-3
votes
0answers
17 views

WooCommerce Status widget php code for custom dashboard wordpress [on hold]

im making a custom dashboard for my web site. i need to know "WooCommerce Status widget" php code for add to my new dash board.thank you
0
votes
2answers
423 views

Translation to ACF relationship field

I'm building a WordPress site that is supposed to end up with a Danish backend. This works fine for core WordPress, but some plugin makes it really hard to make a complete translation. A problem I ...
2
votes
4answers
2k views

How to empty wordpress custom post Database table

I have around 2000 custom posts. And 7 regular wp pages. I want to delete all those custom post without effecting the pages. I thought the easiest way would be to empty the custom post table but I ...
0
votes
1answer
897 views

Woocommerce sidebar not loading in theme

I've installed Woocommerce into a theme however as it wasn't configured for Woocommerce I'm running into a problem. Client wants a sidebar to show catagories so I'm trying to pull in Woocommerce ...
0
votes
0answers
9 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' => ...
2
votes
2answers
24 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
38 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 ...
0
votes
1answer
12 views

meta boxes not showing on clean install [closed]

I made a plugin that works fine on my wordpress install, but when I install it in a clean wp my meta boxes dont show up in the new post screen. They are on the same server so it isnt a dependency ...
-3
votes
0answers
33 views

Fusion slider does not load after updating to avada theme version 4.0.2 [closed]

Fusion slider is loading too slow almost not loading on my site after I update to the latest version of Avada template. That is 4.0.2. Can anyone help. ?
-3
votes
0answers
11 views

Blog related material? [closed]

Can anybody tell me from where I can get specific articles about the following topics: Namespacing your plugin Errors Input sanitizing Apart from wordpress.org.
0
votes
1answer
674 views

WordPress REST API Plugin Development - Add Custom Endpoint

I have this question on Stack Overflow but thought here might be a better place for it... I'm almost certainly doing something stupid - or rather not doing something obvious that I should have done. ...
1
vote
2answers
1k views

how to include a simple jquery file into a wordpress plugin

ok this is my first time to include jQuery into wordpress and it has taken me the 2 full days trying to figure this out. No matter how many articles I read I cannot find a perfect example. Ok so this ...
-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 ...
-6
votes
1answer
33 views

How can I add “table of contents” in any post? [closed]

I want to add content menu in any post like Wikipedia Is there any built-in tool for this job, Or should I add it manually?
1
vote
1answer
1k views

fatal error get_page_permastruct()

I'm getting the following error Fatal error: Call to a member function get_page_permastruct() /link-template.php on line 276 when I invoke the in class constructor the wp_insert_post($new_post);. ...
0
votes
1answer
637 views

WP-API Custom Post Type json_no_route

I have created a custom post type and extended the WP_JSON_CustomPostType class as in the documentation, I can see the custom type when I go to wp-json/ but as soon as I go into wp-json/quizes it ...