PHP Classes

File: admin/partials/portfolio.php

Recommend this page to a friend!
  Classes of Eric Jumba   Yuri Wordpress Portfolio Plugin   admin/partials/portfolio.php   Download  
File: admin/partials/portfolio.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Yuri Wordpress Portfolio Plugin
WordPress custom post type to show portfolio pages
Author: By
Last change:
Date: 6 months ago
Size: 1,068 bytes
 

Contents

Class file image Download
<?php
        wp_nonce_field
('yuri_lucas_save_postdata', 'portfolio_meta_box_nonce');
       
$client_name = get_post_meta($post->ID, '_client_meta_field', true);
       
$project_date = get_post_meta($post->ID, '_project_date_meta_field', true);
       
$project_url = get_post_meta($post->ID, '_project_url_meta_field', true);
           
?>
<label for="yuri_lucas_client_field">Client Name</label>
            <input type="text" name="yuri_lucas_client_field" id="yuri_lucas_client_field" class="postbox" value="<?php echo esc_attr($client_name) ?>">
   
            <label for="yuri_lucas_project_date_field">Project Date</label>
            <input type="date" name="yuri_lucas_project_date_field" id="yuri_lucas_project_date_field" class="postbox" value="<?php echo esc_attr($project_date) ?>">
   
            <label for="yuri_lucas_project_url_field">Project URL</label>
            <input type="text" name="yuri_lucas_project_url_field" id="yuri_lucas_project_url_field" class="postbox" value="<?php echo esc_attr($project_url) ?>">
        <?php