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
@media screen and (max-width: 768px) { | |
html div#om-{{id}} .{{ns}}-row-content.Row__content div { | |
flex-direction: row !important; | |
} | |
html div#om-{{id}} .{{ns}}-column.{{ns}}-col-1.Column.om-column.optin-left-column-class, | |
html div#om-{{id}} .{{ns}}-column.{{ns}}-col-2.Column.om-column.optin-right-column-class { | |
display: inline-block !important; | |
} | |
} |
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
<script> | |
// Function to parse query parameters from URL | |
function getQueryParams(url) { | |
const queryParams = {}; | |
const urlParams = new URLSearchParams(url.search.slice(1)); | |
for (const [key, value] of urlParams.entries()) { | |
queryParams[key] = value; | |
} | |
return queryParams; | |
} |
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
@media screen and (max-width: 768px) { | |
html div#om-{{id}} .{{ns}}-row-content.Row__content div { | |
flex-direction: row !important; | |
} | |
html div#om-{{id}} .{{ns}}-column.{{ns}}-col-1.Column.om-column.optin-left-column-class { | |
display: inline-block !important; | |
width: 30% !important; /* adjust percentage */ | |
} | |
html div#om-{{id}} .{{ns}}-column.{{ns}}-col-2.Column.om-column.optin-right-column-class { | |
display: inline-block !important; |
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 | |
//* Remove breadcrumbs | |
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); | |
//* Force full width content | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
//* Remove entry meta in entry header | |
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); |
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
<!-- Global site tag (gtag.js) - Google Analytics --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-Y"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', 'UA-XXXXX-Y', { | |
'page_path': location.pathname + location.search + location.hash | |
}); |
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
@echo off | |
set /p domain="Enter Domain: " | |
set OPENSSL_CONF=../conf/openssl.cnf | |
if not exist .\%domain% mkdir .\%domain% | |
..\bin\openssl req -config cert.conf -new -sha256 -newkey rsa:2048 -nodes -keyout %domain%\server.key -x509 -days 365 -out %domain%\server.crt | |
echo. | |
echo ----- |
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
[ req ] | |
default_bits = 2048 | |
default_keyfile = server-key.pem | |
distinguished_name = subject | |
req_extensions = req_ext | |
x509_extensions = x509_ext | |
string_mask = utf8only | |
[ subject ] |
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 | |
/***********************************************************************/ | |
/*************************** TRACKER CLASS ***************************/ | |
/***********************************************************************/ | |
class Custom_Post_Types_Manager { | |
public $ctp_slugs; | |
public $prefix; |