Notifications
Clear all

New optimizations for webview

 

Igor Borgacci
(@ilborga70)
New Member Customer
Joined: 2 years ago
Posts: 2
Topic starter  

Now several graphic elements like share buttons also work

 

 

<meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<link rel='stylesheet' href='./reset.css' />
<link rel='stylesheet' href='./bundle.css' />
<?php
/**
* Template Name: Clean Page
* This template will only display the content you entered in the page editor
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body class="cleanpage">
<?php
while ( have_posts() ) : the_post();
the_content();
endwhile;
?>
<?php wp_footer(); ?>
<script src='./node_modules/d3/d3.min.js'></script>
<script src='./bundle.js'></script>
</body>
</html>


Quote
Share: