CSS (début, wip)
This commit is contained in:
parent
ea1dd58ce9
commit
d8d3d81f5b
|
|
@ -0,0 +1,13 @@
|
|||
@media print {
|
||||
|
||||
video, header, .plyr, .leaflet-marker-photo, .leaflet-top {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
.wp-block-group {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
/*
|
||||
* Plugin Name: WP PDF Helper
|
||||
* Description: Helps to print pages and posts as PDF
|
||||
*/
|
||||
|
||||
// If this file is called directly, abort.
|
||||
if ( ! defined( 'WPINC' ) ) {
|
||||
die;
|
||||
}
|
||||
|
||||
add_action('wp_enqueue_scripts', 'wpdfh_enqueue_scripts');
|
||||
function wpdfh_enqueue_scripts() {
|
||||
wp_enqueue_style( 'wpdfh', plugin_dir_url( __FILE__ ) . 'assets/wp-pdf-helper.css' );
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue