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...

Xamarin Forms Dynamically Load Content in a Page

My current set up: Xamarin Forms, consisting of iOS, Android, WP app and shared PCL. Using MVVM Light to keep a nice separation of concerns. Brief intro into what I want to achieve. I want to...

In Jaspersoft Studio, how do I use the DATEFORMAT() function?

Here's a screenshot: I'm trying to turn the current date into July 1st of the current year using DATEFORMAT(). I learned how to do that in MySQL from this question, and I hoped it would work...

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...

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...

Wordpress plugins won't deactivate?

I haven't been able to deactivate any plugin for 3 days. When trying to deactivate a plugin, Wordpress shows me the classic success message, but the plugin stays activated. I also have troubles...

react-meta-tags with Wordpress API server rendering

I'm using *Wordpress API* as my backend CMS with a *headless React* frontend. The last piece I need to set up is social Open Graph Meta tags. I'm using the NPM package *react-meta-tags* and trying...

Posts inserted with wp_insert_posts aren't showing up in admin

I have a particular issue with inserting custom posts with wp_insert_posts. Circumstances: WPML Multisite enabled Custom post type with name order Post creation triggered through Ajax from...

How to update post meta in Wordpress after importing posts from WP ALL IMPORT

I just finished importing the posts in multi language with WP ALL IMPORT. I'm using Qtranslate-X an QTS-Slug for slug translation. On the documentation page of WP ALL IMPORT I found out that they...

How to change Default Wordpress language?

Hello guys I use a WordPress theme it's by default English I want to change it to French when I change it on Wp-Admin only admin interface is changed not the Website I used some translation...

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...

Translatable strings from child theme not included in translation files

So I think that I have all the configuration for translation set, but my translatable strings are not loaded to .po or .pot. In functions.php: function opportune_child_setup() { ...

Wordpress and mysql : Issue with trigger

Excuse me if I am wrong place to post, I am new and french (sorry for my modified google translate), usually I still manage but there I break my teeth on this problem. I'm working on WordPress,...

Adding to functions.php in child theme doesn't work

I'm just trying to translate some text on my blog and it happens to be in functions.php. I'm using a child theme with its own functions.php where I've already added some modified code from the...

How to: React serialise multidimensional array and unserialise it in PHP

-- Edit 2-- I'm placing this on top since I'm narrowing down on the problem. I send this string nested within a bigger array the combines all the attributes for a WP shortcode. The problem lays...

404 status header when rewrite url variable contains %2F for slash escape

I've created a wordpress website which dynamically displays one of around 400 thousand products by passing 2 query vars to a WP page which has my custom php template. I'm using WPML to translate...

Translation files of my plugin are not being loaded or work incorrect

I need to translate some parts of text to French. Things I've tried so far: I created fr.po and fr.mo files in my plugin's /languages directory. I used Poedit for this purpose. I've tried...

dax for events in progress at end of period using date table

I need to sum up total dollars of all open opportunities by date. Each record has a [valid from] and a [valid to] date attached to it. When an opportunity gets updated in the DB, a new line is...

tcpdf wordpress error in PHP even tho i followed the tcpdf example 1by1

I created a plugin where when you press send, the data in the form should be translated to pdf and saved in a folder for backup purposes. I'm using the tcpdf api, downloaded the library and put it...

In the WordPress i18n project, add prefixes by triggering internal links with variables

We are working on a localization project in WordPress. In fact, we can correctly add the active browser URL with language support. I'll add the details and the entire code below. Don't worry, my...

Get Facebook page posts to Wordpress with JS SDK or PHP SDK

I want to get the posts from a Facebook page and show them on a Wordpress site. Firstly, I tried with the JavaScript SDK and succeeded, but couldn't figure out how to call the access token from...

Polylang translating urls slugs not work correctly

I'm using the Polylang wordpress plugin to transform my website into multiple languages. In the free version it is not allowed to translate the category_base or Tags slug in permalinks. So I tried...

Webpage dropdown menu on IE and Edge

This is a very basic dropdown and IE question I have a dropdown menu on webpage. Main menu is built with WP shapely theme and Polylang plugin (translation). Chrome and other browsers except IE...

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...

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...

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...