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