Woocommerce Product variations not saving

Am using woocommerce I justover write one function using hook because I need to calculate the price of each product using a formula so what I did is I just copy the original function modified it...

wordpress - shortcode, ob_start breaks jQuery

I'm trying to make a shortcode plugin in wordpress. <?php function upd_signup_form() { $key = get_query_var( 'upd' ); ob_start(); ?> <a href="#"...

PHP google api asks the user to log in twice

I use a google api in PHP provided by google (google-api-php-client). However, I face a problem that the api asks twice for the login. When I click on "Log In To Your Google Account" link for the...

Facebook Graph API: I want to display user images album wise

I am using graph-api provided by facebook. The version is 3.1.0. My code is working fine but it displays all the images of user irrespective of the albums. I want to change my code so that user...

Varnish breaks Wordpress visual editor TinyMCE

I'm currently running mutliple Wordpress 4 installs with a Varnish 3 + Apache 2.22 + PHP 5.4 stack, and it turns out that Varnish seems to break Wordpress WYSIWYG, TinyMCE. Therefore I can only...

Gravity Forms & ReactJS - Loading Form into Modal and submitting

I am currently stuck on a problem with Gravity Forms and ReactJS. I am trying to load a Gravity Form as a Modal in a ReactJS component for contact purposes. Basically, how I am currently set up is...

jQuery dynamic id value returning UNDEFINED in WordPress

I am trying to get WordPress Post Id dynamically as variable in jQuery. However, it is returning the value undefined when I try to debug in console. Can anyone help me on this ? Here's the...

Custom WordPress API Route Returning 500 Error

The story is that I created a custom API route /wp-post-modal/v1/any-post-type that pulls posts of any post type. Locally it works perfectly (MAMP), but on multiple production servers (different...

Yii framework - pagination data from api

I'm new to yii, and in the process in learning it. I have successfully made page with checkboxes and these are connected to api. When user clicks on any checkboxes, a set of data will come in and...

Bootstrap 4 Modal opened by ajax call - close buttons don't work

I have a problem with my Bootstrap modals. I am using an $.ajax call, so I can send POST data to a separate .php file, to be displayed in the opened modal. I've been using Bootstrap 3, and I had...

merge_fields error 400 - Mailchimp api v3

I have a list with these fields: email, FNAME and LNAME. When I try to send merge_fields via Ajax, the Ajax return an error: string(400)...

when i close modal and open that modal again google map is not loading in it

I am working on google map, i am loading this google map in bootstrap modal, right now i have dyanamic list and there is button to view google map in bootstrap modal, but this is working first...

Replace image in an <img> with CSS

I'm trying to create an hover state on a logo following this article from CSS-tricks, but I'm unable to make it work. I'm using a WordPress theme where I can only edit the CSS (and JS but I don't...

jQuery is not defined at HTMLInputElement.onclick

I am trying to do a pop-up window that contains 10 images. The pop-up should be visible only when the user presses the button to select his image. I am trying to understand why when I pressed the...

Change state of Bootstrap button when clicked

I have a signup form for a newsletter, that I have nested inside a modalbox. Everything is working, but the user experience are really bad. Therefore I would like to add the following...

Close button in a Bootstrap modalbox is not working

I have a small js script that change the text from "Subscribe" to "Close "in the button, after a person is signing up for a newsletter. I cannot make the functionally on the button, so the...

JSPDF + HTML2CANVAS + Wordpress + Trying to save PDF to folder on server.

I have been using JSPDF and HTML2CANVAS to create a PDF file which has been working great to save the file locally on my machine, however, I've been having trouble getting that file to save to a...

validation of bootstrap modal form and modal loads after DOM loaded

before main question i would like to describe my website's files structure for better overview. I have many pages in my website which adds dynamically through my index.php here is code of...

How to GET and display data from MariaDB on Vertx page?

I currently have a simple index.html displaying sample pre-created data displaying annotation details, as well as a Add, Delete and Update function. My Add Annotation function works well, and any...

React Native: Display FlatList data in Modal

I have a react native flat list that renders some data from a Wordpress website using wp rest api. The flat list is displaying the post correctly, and when clicked, it opens the modal, but I am...

Laravel Convert base64 and save with php form

I am using the Croppie script to edit images before uploading to my server. https://foliotek.github.io/Croppie/ The problem is Croppie encodes the cropped image in a base64 format. I have created...

Laravel 5.8 Pure Javascript Fetch AJAX PromiseStatus returns rejected

Currently, I'm having an issue regarding the AJAX response of retrieving an existing customer. When I access the dashboard using the same account in different browsers, for instance:...

open a bootstrap modal with a specific HIDDEN TAB(without nav-tabs ) by jquery

This modal box has no visible tab. I just use href attribute for navigate to other pages. <div id="bootmodal" class="modal fade" tabindex="-1" data-width="370" data-backdrop="static"...

WordPress - 'jquery is not defined' problem

Before I get flamed for posting this question when many similar questions have already been posted, I want to say that I've trawled through many, many questions/answers on Stackoverflow related to...

Facebook Pixel not working on iOS mobile (Wordpress/Woocommerce)

I am using Wordpress (v 5.3) with WooCommerce (v 3.8.1). My facebook pixel registers events (ViewContent/InitiateCheckout/AddToCart/Purchase/etc.) on desktop, but doesn't register events on mobile...

custom taxonomy pagination 404 (attachments)

I created a taxonomy for the media area, so I could assign all my images to specific categories. All is working fine with my taxonomy page, until I try to go to page 2, at which point, it throws a...

Unable to Authenticate Using Form Authentication

I'm having trouble figuring out why I am unable to authenticate. After looking at the trace I think the session isn't being created, or is cleared, or something of that nature. There is a block of...

How to stop embed video in Model Popup in Javascript (WooCommerce)?

UPDATED I have used javascript to create a popup and it's working fine. The issue is that i am using iframe embed video code (Facebook) in the model. the model is working fine and on pressing...

Ajax call not displaying response on success

I am trying to display in a bootstrap modal the relevant image and information from a mysqli database table named prints and then display in the modal the image, title etc... the ajax call is...

Is it possible to POST Data using localhost woocommerce rest api in flutter

Is it possible to POST data from flutter app to woocommerce localhost using woocommerce localhost server rest api. i have GET & POST data with private domain but i want to POST & GET data with...