admin管理员组文章数量:1330675
I have created a custom post template without the WP Head and footer because I don’t want to load any of the themes and plugins.
Now, I want to cache the custom post template by an SG Optimizer Plugin. How can I add the SG Optimizer to cache this custom post template?
Plugin that I want to load: /
Here's the template as follows:
<?php
/*
* Template Name: Custom Post Template
* Template Post Type: post
*/
?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="mystyle.css">
<script src="another.js" type="text/javascript"></script>
<script src="some.js" type="text/javascript"></script>
</head>
<body>
Custom code
</body>
</html>
本文标签: Use Wordpress Plugin without WP head
版权声明:本文标题:Use Wordpress Plugin without WP head 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742261816a2442654.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论