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 custom_bm_gfonts_get_font_url( $font_url ) { | |
$font_url = str_replace('https://www.domain.com'); // Strip Domain from full URL to get a relative Path. | |
return $font_url; | |
} | |
add_filter('bm_gfonts_get_font_url', 'custom_bm_gfonts_get_font_url'); |
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 | |
function custom_bm_gfonts_max_prio_buffer($prio) { | |
return 19021987; | |
} | |
add_filter('bm_gfonts_max_prio_buffer', 'custom_bm_gfonts_max_prio_buffer'); |
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 | |
function bm_fix_jupiter_fonts() | |
{ | |
wp_dequeue_script('mk-webfontloader'); | |
wp_deregister_script('mk-webfontloader'); | |
// Diese Google Font URL durch die tatsächliche Font URL austauschen. Die Font-URL wird Ihnen z.B. durch ein Test-Tool wie sicher 3 angezeigt: | |
wp_enqueue_style('google-fonts', 'https://fonts.googleapis.com/css?family=Ubuntu'); | |
} | |
add_action('wp_enqueue_scripts', 'bm_fix_jupiter_fonts', 50); |
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 | |
/** | |
* Plugin Name: Lokale Google Fonts by Bajorat Media | |
* Description: Lokale Google Fonts by Bajorat Media - ACHTUNG: Die Fonts müssen manuell im Plugin angepasst werden. | |
* Author: Bajorat Media | |
* Author URI: https://www.bajorat-media.com | |
* Plugin URI: https://www.bajorat-media.com/?p=16041 | |
* Version: 1.0.0 | |
**/ |
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 | |
/** | |
* Plugin Name: Lokale Google Fonts für Divi by Bajorat Media | |
* Description: Lokale Google Fonts für Divi by Bajorat Media - ACHTUNG: Die Fonts müssen manuell im Plugin angepasst werden. | |
* Author: Bajorat Media | |
* Author URI: https://www.bajorat-media.com | |
* Plugin URI: https://www.bajorat-media.com/divi-dsgvo-google-fonts-lokal-16010/ | |
* Version: 1.0.0 | |
**/ |
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 | |
/* | |
* Plugin Name: Autocomplete WooCommerce Orders | |
* Plugin URI: https://www.bajorat-media.com | |
* Description: Autocomplete WooCommerce Orders | |
* Version: 1.0.1 | |
* Author: Bajorat Media | |
* Author URI: https://www.bajorat-media.com | |
* License: GPLv2 or later | |
* License URI: https://www.bajorat-media.com |
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
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Layoutvorchlag</title> | |
<style type="text/css"> | |
body { | |
padding:0; | |
margin:0; |
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 | |
/* Place this in your functions */ | |
function pbsfi_is_optimization_allowed($val) { | |
/* | |
* Use Conditional functions here to disable the plugin for specific posts or pages | |
* for example with is_page(12) for a page with ID 12: | |
* https://developer.wordpress.org/reference/functions/is_page/ | |
* | |
* List of Conditional Tags: https://developer.wordpress.org/themes/basics/conditional-tags/ | |
*/ |