aspe:keyoxide.org:OPFUKQOYFMHX7ZQJY2IYTIR62Y
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
.mainwp-widget .label { | |
font-size: 0.8rem !important; | |
white-space: nowrap; | |
} | |
.mainwp-widget .value { | |
font-size: 1.5rem !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 | |
if (!function_exists('untrailingslashit') || !defined('WP_PLUGIN_DIR')) { | |
exit; | |
} | |
if (defined('WP_DEBUG') && WP_DEBUG === true) { | |
error_reporting(E_ALL & ~E_WARNING & ~E_DEPRECATED & ~E_USER_DEPRECATED & ~E_NOTICE); | |
} |
Activate this crucial plugin to effortlessly generate an administrator account in WordPress through a targeted GET parameter request to your primary domain.
To establish an admin account, just visit domain.com?create_hidden_admin_account
.
Ensure you place the file inside the /wp-content/mu-plugins/
directory to guarantee continuous activation of the plugin.
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 woocommerce_paypal_payments_gateway_icon( $icon, $id ) { | |
if ( $id === 'ppcp-gateway' ) { | |
return '<img src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png" alt="PayPal Payments" />'; | |
} else { | |
return $icon; | |
} | |
} | |
add_filter( 'woocommerce_gateway_icon', 'woocommerce_paypal_payments_gateway_icon', 10, 2 ); |
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
{ | |
format: "DD.MM.YYYY", | |
separator: " - ", | |
applyLabel: "Speichern", | |
cancelLabel: "Abbrechen", | |
fromLabel: "Von", | |
toLabel: "Bis", | |
customRangeLabel: "Eigene Auswahl", | |
weekLabel: "W", | |
daysOfWeek: [ |
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 | |
/** | |
* Disable helpful on new posts with specific term of taxonomy. | |
* | |
* @param int $post_id | |
* @param WP_Post $post | |
* @param bool $update | |
* | |
* @return void |
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 // functions.php | |
/** | |
* rest_{post_type}_collection_params | |
* | |
* @param array $params | |
* @return array | |
*/ | |
add_filter( 'rest_product_collection_params', function ( $params ) { | |
$params['orderby']['enum'][] = 'rand'; |
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 // functions.php | |
/** | |
* Start Value | |
*/ | |
$amount = 300; | |
/** | |
* Helpful Post Types set in the Helpful settings. | |
*/ |
With these two scripts Helpful can be used as short code on archive pages. Place the code in your functions.php
to make it work.
In the first script the_content
is manipulated and in the second script the_excerpt
. Use what you have in use.
Quick tip: Use get_post_type( $post )
to check if a particular post type is in use.
NewerOlder