wordpress: loading javascript only where shortcode appears

have an interesting conundrum. I need to load about 8 javascript files and the same number of styles for my plugin. These are only needed where ever my shortcode is ran. I've tried to load them...

Wordpress - Gravity Forms - How to enable JavaScript validation?

Does anyone know how I can enable JS validation in a Gravity form? I have marked each of my 3 fields as 'required', but when I submit an empty form, there is still an unnecessary trip to the...

Owl carousel not working, maybe I linked something incorrectly?

I an trying to use the owl carousel in my new project. I seem to be having an issue with it. So far only the HTML and CSS is working. I am somehow doing something wrong with the Script. Could...

CSS for the Events Calendar plugin

I use WordPress with "The Events Calendar" plugin and "The Events Calendar Shortcode" plugin. I need to display the upcoming three events on the "About company" page. The events are displayed, and...

Remove automatic p tag in WordPress

Before all, I've searched a way to done this. But it still occure. So I use the theme Creative, I've got a contact form, done with Contact Form 7. And to display it in the right place, it need to...

How To Display WP_List_Tables on frontend page

CURRENT ISSUE: I have been able to successfully create a variety of table Lists from my WP's sql database within the Dashboard admin area as well as create plugins utilizing WP_LIST_TABLE however...

date query in wordpress search with WP_Query

I want to Building An Advanced WordPress Search With WP_Query according to this article. I use shortcode to build a form search. function sm_setup() { add_shortcode( 'sm_search_form',...

How do I edit the archive page for the Divi theme?

I'm a pretty decent wordpress coder. Maybe I'm being stupid, but I can't work out how to edit the Divi blog module layout... basically the archive.php for the Divi theme - it doesn't seem to have...

Avada Wordpress wp_remote_get()

Hello All I am at a loss of what to do on our word press site it is saying wp_remote_get() failed. Some theme features may not work. Please contact your hosting provider and make sure...

Spring boot: Optional parameter query in Query method

I am new to Spring boot and hibernate. Here I am trying run a search based optional parameter query Where i can search by name, country etc. If I kept this field null then query should all list....

List all pages containing shortcode (WordPress)

I am writing a plugin for wordpress that creates shortcodes. On this plugins settings page, I would like to have it list out what pages the shortcode is being used on. (For ease of access and...

Display a WooCommerce coupon input field anywhere with a shortcode

I have a small project on what I need to insert Woocommerce coupon field into any page, but this seems complicated for me. I searched on Google about this, but don't have any resources about this....

Get product visibility value - WooCommerce

I need to check the visibility status of a product by it's id. NOT just if it is visible or not, but if it's search, hidden, or visible. I have tried get_post_meta($id, '_visibility', true);,...

If product category is empty display text (php shortcode) Woocommerce

I want to show display a message when a product category has zero products. I want to do this via shortcode please. I've tried searching StackOverflow and search engines for some codes to work...

Replace shortcode in SQL database

I'm trying replace this shortcode [RICH_REVIEWS_SHOW category=”all” num=”6″] with this shortcode [site_reviews summary count="3" hide="date"] in a wordpress database. I've tried the plugin...

How to search by attributes and vendor address in Woocommerce

I'm working on a code to have a search list of the product attributes automatically taken from the product attributes I had set up before. But as a result I got a droplist full of empty...

Compilation failed: invalid range in character class at offset 12

My WordPress website has a Warning on a grid article saying: preg_match(): Compilation failed: invalid range in character class at offset 12 in...

Creating a check-box list in elementor / wordpress

I want to make a check box list inside of elementor / wordpress, my vision is that it should look a lot like the "list" option in google keep, where rows have check boxes at the opposite end and...

How do I access vc_map() internal values to create custom markup for WPBakery interface?

A similar question has been asked here, without any viable responses: https://stackoverflow.com/questions/36980890/visual-composer-custom-markup-for-custom-shortcode-vc-map and here:...

Fixed : Revolution slider not working / showing on Safari iOs iphone and Ipad

I just wanted to share with you on the subject because I spend 3 days searching and testing this problem, until I found a solution. I wish to share my solution with you. (I'm self-thought web...

wp_localize_script is not accepting dynamic value

*Context I am new to WordPress plugin development and I have just started developing one. Which is basically a blog slider plugin. The concept is very simple. The user can use shortcodes with...

How to index columns created by django-modeltranslation to Elastic, using django-elasticsearch-dsl?

I've translated my Model fields with django-modeltranslation and implemented search using django-elasticsearch-dsl. Problem: django-modeltranslation creates translation fields in DB, and not in my...

Show custom AND standard products atrributes on Product Single page WooCommerce

I have searched all over for this, and I have found a great code to get the standard product attributes displayed, but the custom ones (that do not start with pa_) are not being displayed. First...

Redirect to a specific page when WooCommerce product search returns "no product found"

In Woocommerce I am trying to use the following code snippet to redirect to a specific page of my site instead of showing "no result found" on an empty product search. Now the shortcode [insert...

Create a shortcode to display related posts (posts in the same category) in the sidebar

I want to display in the article sidebar (in wordpress) a list of 5 recent articles from that category to which it belongs. I'm using the code below to (using a shortcode) show the 5 posts (from...

Live WooCommerce Product Search Form using AJAX (Shortcode)

While the search form works, I need help fixing the problem that occurs when the form is empty after having been typed into. What I mean is this: If you start typing a search query, you start to...

Uncaught TypeError: $(...).appear is not a function

Can someone help me , I am getting script error in browser console. I upgrade jquery but still it is same . Error reads like.... Uncaught TypeError: $(...).appear is not a function ...

@material-ui Autocomplete: set input value programmatically

I have an asynchronous Autocomplete component that works fine so far. Hopefully the simplified code is understandable enough: export function AsyncAutocomplete<T>(props: AsyncAutocompleteProps<T>)...

How to access the page front-matter data in 11ty from the code of a custom tag (shortcode)?

In Eleventy (11ty) the page source can define custom data in it's front-matter. E.g.: --- title: this is front-matter data --- Page content {% myCustomTag valueOfArg1 %} where the custom tag...

Extend WooCommerce Product Filters plugin shortocodes

I am using Woocommerce with WOOF plugin (woocommerce filter). In particular, this plugin can display a filter that will only search in a specific product category using for example [woof...