Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
julialaurentino committed Sep 4, 2024
2 parents 75b4ed9 + 8536865 commit 64865f8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
3 changes: 0 additions & 3 deletions themes/midia-ninja-theme/assets/scss/4-layout/_l-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ header {

&.scrolado {
min-height: 88px;
& * {
//transition: none !important;
}

.menus {
height: 0;
Expand Down
8 changes: 7 additions & 1 deletion themes/midia-ninja-theme/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ function add_image_credits($content,$attributes, $post){
require __DIR__ . '/library/tutorstarter.php';
}

// REMOVE WP EMOJI
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );

require __DIR__ . '/library/header-and-footer-archive/header-and-footer-archive.php';
require __DIR__ . '/library/supports.php';
require __DIR__ . '/library/blocks/index.php';
Expand All @@ -40,4 +46,4 @@ function add_image_credits($content,$attributes, $post){
require __DIR__ . '/library/template-tags/index.php';
require __DIR__ . '/library/customizer/index.php';
require __DIR__ . '/library/utils.php';
require __DIR__ . '/library/admin.php';
require __DIR__ . '/library/admin.php';
6 changes: 6 additions & 0 deletions themes/midia-ninja-theme/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
<meta charset="<?php bloginfo('charset');?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<?php wp_head()?>
<script src="https://tpc.googlesyndication.com/sodar/sodar2.js" defer></script>
<script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" defer></script>
<title><?= is_front_page() ? get_bloginfo('name') : wp_title()?></title>
<link rel="icon" href="<?= get_site_icon_url() ?>" />
<link rel="preconnect" href="https://securepubads.g.doubleclick.net">
<link rel="preconnect" href="https://www.googletagmanager.com">
<link rel="preconnect" href="https://static.addtoany.com">

</head>
<body <?php body_class();?>>
<?php
Expand Down
2 changes: 1 addition & 1 deletion themes/midia-ninja-theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://hacklab.com.br/
Author: Hacklab
Author URI: https://hacklab.com.br/
Description: Tema base para desenvolvimento de novos sites.
Version: 1.1.43
Version: 1.1.44
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Expand Down

0 comments on commit 64865f8

Please sign in to comment.