This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Console\Commands; | |
use Closure; | |
use Illuminate\Console\Command; | |
use Illuminate\Filesystem\FilesystemAdapter; | |
use Illuminate\Support\Arr; | |
use Illuminate\Support\Facades\Storage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/.*$ | |
RewriteRule ^(.*)$ https://PRODUCTIONDOMAIN/$1 [QSA,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) ) { gtm4wp_the_gtm_tag(); } ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-Agent: * | |
Disallow: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From MultiLingualPress support: | |
Thanks for contacting us. I'll help you to solve your problem. | |
First of all sorry about the api, actually we are working on them but we haven't realized the entire api interface, but things can be done with a bit of effort. | |
MLP use different classes that allow you to connect terms and post by passing Source/Remote site Ids and Source/Remote post/term Ids. | |
It is also possible to do that by making an ajax post request but the two solutions are actually slightly different. | |
Going to explain in deeper. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ilcc_modify_consent_text( $text ) { | |
return 'My new consent button text'; | |
} | |
add_filter( 'ilcc_consent_text', 'ilcc_modify_consent_text' ); | |
function ilcc_modify_accept_text( $text ) { | |
return 'My new accept button text.'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
/** | |
* Loading | |
* | |
* A loading indicator that can be activated for the entire | |
* website or on an element basis. | |
* | |
* Requires https://cdn.jsdelivr.net/npm/[email protected]/dist/loadingoverlay.min.js | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
labels: { | |
chatHeadingSublabel: '', | |
continueEditing: '', | |
emailValidationLabel: '', | |
lastUpdated: '', | |
docsSearchEmptyText: '', | |
chatbotConfirmationMessage: '', | |
nothingFound: '', | |
docsSearchErrorText: '', | |
you: '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<video loop muted autoplay playsinline poster=""> | |
<source src="" type="video/webm"> | |
<source src="" type="video/mp4"> | |
</video> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'save_post', 'set_cpt_post_title' ); | |
function set_cpt_post_title( $post_id, $post ) { | |
// Don't change title for revisions. | |
if ( wp_is_post_revision( $post_id ) ) { | |
return; | |
} | |
// Get the current post type. |
NewerOlder