PHP Classes

File: templates/archive-posts.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   WordPress Custom Post Type with Template   templates/archive-posts.php   Download  
File: templates/archive-posts.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: WordPress Custom Post Type with Template
Build WordPress pages from template scripts
Author: By
Last change:
Date: 11 months ago
Size: 621 bytes


Class file image Download
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
<!DOCTYPE html>
<html lang="en">

        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>This is awesome</title>

        <h1>This is awesome</h1>
        <p>This is a paragraph</p>
        <p>This is another paragraph</p>

// This is the data that was passed to the template
echo var_dump($data);