WordPress Plugin Localization

I've just built my first plugin for WordPress, and even if it's not a great "code poetry" it works as it should. It's a plugin that transform the default wp gallery using the GalleryView 3.0...

Subdomain redirect to website.com/wp-signup.php?new=example after multisite - WordPress

I have a question and I hope that someone can help me! I have a Website powered by WordPress with some articles and I wanted to make a Network, so a multisite installation. I followed the steps...

Translating WP with __() and sprintf()

I'm trying to translate WP theme. I have this code: $translation = __( get_color(), 'textdomain' ); It works, I get color dynamically from get_color() function, and it translates well. But when...

Prevent infinite AJAX loop when using own API

I am currently trying to figure out integration between 2 Wordpress plugins: the WooCommerce Follow Up Emails plugin, and the Ninja Forms plugin (with the end goal that we can send a manual-type...

make elements responsive with CSS transform property

I have a site where there are diamonds fixed at the top of the page. Each diamond is a div box rotated and positioned using the CSS transform property. The diamonds are not responsive with the...

Meteor doesn't wait for the result from a function, returns undefined

I'm building a small web scraper and I have stumbled into the following problem: my applications needs to scrape different parts of a website and put the information into the database. Sometimes...

Polylang: How to translate custom strings?

My problem: I'm translating my website using Polylang but I'm having a hard time with custom strings translation. The strings won't show up in the "Strings translation" menu in the WP...

How to keep origin in center of image in scale animation?

I have a situation similar to this fiddle, where I have a CSS3 animation that scales an element absolute-positioned in the centre of another element. However, when the animation takes place it is...

WP All Import Pro: Polylang compatibility

I'm trying to import data from an Excel sheet into WordPress with the Pro version of WP All Import. We are using Polylang for multi language support. I wonder how to manage importing the content...

How to make work 'wp_set_script_translations' function automatically?

I'm trying to make 'wp_set_script_translations' work with theme in conjunction with wpml. I had implemented all the recommendations from Wordpress Codex. WPML plugin generates file in format...

How to update wordpress translations via wp-cli

I'm using docker with the wordpress:cli image to perform many actions like updating, activating themes and plugins, etc, on the system. I come up with a brand new updated system that has...

Javascript zoom in/out to mouse x/y coordinates

I managed to make the mouse dragging to scroll the div, but the zooming in/out with the mouse is not complete. It works, but I would like for the mouse pointer to hold the image in that position...

Identity server 4 windows authentication using extension Grant not working

I have set-up Identity server 4 for client credentials and Implicit flows and all are working fine.Now I have written an extension grant to support windows authentication but it always return...

How to get my website to scroll to the top when I click on an image

I wan't to have my website so that when you click on an image, it scrolls you back to the top of the page automatically. I've tried some versions I've seen online, but they haven't worked for me....

Nth child selector not working in css for background in CSS Grid

Hello I'm having an Issue with my 3x3 Matrix, I'm trying to change the images using Nth child in CSS, but cannot get this to change. There is an example of my Nth child usage in the code...

Wordpress filtering custom post type taxonomy

I've been following this guide: https://rudrastyh.com/wordpress/ajax-post-filters.html#comment-908. I've got a custom post type called "project" and a taxonomy called "producten". What i'm trying...

How to reference to a method in parent component from child component with vanilla JS Web Components? (Not any framework or Library)

The question is, How do I call a method from a child component? Ex : Consider I have a login form component located in the Parent component. So I need to show that form when I click the login...

WooCommerce My Account Addresses label not displayed in the website language

The "Addresses" tab in "My Account" page is not displayed in the website language when I use Arabic while it should be already translated. It`s placeholder "the empty highlighted space in the...

Timber/Twig - how to access a Wordpress Post Object inside a Repeater inside a Group

Here's my setup: Twig Version: 1.34.4 ACF Pro 5.8.8 I have the following ACF fields created, and I am trying to translate a working web page from standard PHP over to Twig. ACF Field Group...

IdentityServer4 Windows Sign-On under IIS 10 fails to authenticate successfully

Using IIS Express on my local machine, I'm able to run the IdentityServer4 QuickStart UI project and successfully sign in. However, once it is deployed to production, I'm unable to get it to...

transform / rotate CSS bugging out on safari browsers

I'm building a series of flip boxes which have an image and title on the front and then on the reverse a background with some hyperlinks All works fine on most browsers however on safari the boxes...

Can't locate Data/Dumper.pm when building dssp - perl is installed but cannot be found?

I am trying to build dssp (https://github.com/cmbi/dssp) on a server-node (not on server-login), and I am facing a problem with how the system finds dependencies. I am working on a centos 7. The...

Can anyone figure out how to extend this software divide routine to have a 16-bit quotient

Background... I am currently trying to extend an assembly routine for an MCS-48 (which has no hardware divide) from the current 8-bit quotient, to a 16-bit quotient This is a scan of the original...

How to enable Windows Authentication with in-process IIS hosting under IdentityServer4?

My ASP.Net Core MVC app accesses a .Net Core API through IdentityServer. It works fine on IIS server running in-process with Entity Framework based identity store. Now I am trying to enable...

Woocommerce Product images not showing on product page

Hope you are doing well, my site is www.coutlet.com, it's working fine but when I open any product page, the images are not showing. I've tried enabling disabling almost every plugin but that...

IdentityServer4 + AddNegotiate implementation

Question I need implement Windows authentication on Ubuntu (kerberos) with IdentityServer4. I took IdentityServer host project. I added handler AddNegotaite to...

Windows Authentication for IdentityServer doesn't take login without error message

I have configured my identityServer to use Windows authentication. My problem is that the Windows Security login box in my browser keeps coming back after submit my Windows login. It looks like...

Font-Awesome has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Here's a new take on a common problem. So I have a plesk hosting, with a SSL on wildcard domains. I have a wordpress theme which is using Font-Awesome icons, hosted on the same server. I have...

Scroll Snap for div that looks like an iPhone in HTML

I made this iPhone in HTML (Please do not pay attention to the spaghetti code, and it's in german, if it is necessary i can translate it with pleasure): var time =...

Woocommerce Uncaught Error: Call to a member function get_stock_quantity() on null

I have received a message from WordPress about a fatal error. It relates to a particular page in the backend in the WPML string translation plugin. I think a particular translation: visit the...