Forum Replies Created

Viewing 7 posts - 31 through 37 (of 37 total)
  • Author
    Posts
  • in reply to: No Preview or Post #6125

    Thanks Steve will check it out.

    in reply to: No Preview or Post #6123

    From what I see I am on the latest. Am I missing something here?

    in reply to: No Preview or Post #6121

    Using 0.9.4.29, were would I go to see this?

    in reply to: No Preview or Post #6111

    Also still struggling with looping through my speaker custom data and displaying the information on my page. Which would be the best way to go about displaying the Speaker Name, Title, Company, BIO, Topic, Date and Time. And how do I pull in the speaker photo?

    Here is the code set that I am using for the post:

    <?php
    /*
    Title: Event Speakers
    Post Type: piklist_event
    Order: 80
    */
      piklist('field', array(
        'type' => 'group',
        //'field' => 'speaker_group_add_more',
        'add_more' => true,
        //'description' => 'Add speakers as needed',
        'fields' => array(
          array(
            'type' => 'text',
            'field' => 'speaker_name',
            'label' => 'Full Name',
            'required' => true,
            'columns' => 6
          ),
          array(
            'type' => 'text',
            'field' => 'speaker_title',
            'label' => 'Title',
            'required' => true,
            'columns' => 6
          ),
          array(
            'type' => 'text',
            'field' => 'speaker_company',
            'label' => 'Company',
            'required' => true,
            'columns' => 12
          ),
          array(
            'type' => 'textarea',
            'field' => 'speaker_bio',
            'label' => 'BIO',
            'required' => true,
            'attributes' => array(
              'rows' => 8,      
              'class' => 'large-text',
            ),
            'columns' => 12
          ),
          array(
            'type' => 'text',
            'field' => 'speaker_event_topic',
            'label' => 'Event Topic',
            'columns' => 6
          ),
          array(
            'type' => 'datepicker',
            'field' => 'speaker_event_date',
            'label' => 'Date',
            'attributes' => array(
              'class' => 'text'
            ),
            'options' => array(
              'dateFormat' => 'M d, yy',
              'firstDay' => '0'
            ),
            'columns' => 3
          ),
          array(
            'type' => 'text',
            'field' => 'speaker_event_time',
            'label' => 'Time',
            'columns' => 3
          ),
          array(
            'type' => 'file',
            'field' => 'upload_media',
            'label' => __('Speaker Photo', 'piklist'),
            'description' => __('Image Size: 00px X 00px','piklist'),
            'required' => true,
            'options' => array(
              'modal_title' => __('Add Photo', 'piklist'),
              'button' => __('Add Image', 'piklist'),
            ),
            'columns' => 4
          ),
        ),
        'on_post_status' => array(
            'value' => 'lock'
          )
      ));
    ?>
    in reply to: No Preview or Post #6109

    Thank you, this helps. Can you also point me to where I can get more information on images. I am using the following code and it provides the ability to load several images, I just want one.

          array(
            'type' => 'file',
            'field' => 'upload_media',
            'label' => __('Speaker Photo', 'piklist'),
            'description' => __('Image Size: 00px X 00px','piklist'),
            'required' => true,
            'options' => array(
              'modal_title' => __('Add Photo', 'piklist'),
              'button' => __('Add Image', 'piklist'),
            ),

    The thought would be to have a button to load a photo. Once the photo is loaded I no longer need the button. If you delete the photo then the button comes back.

    in reply to: No Preview or Post #6104

    Well, it doesn’t 404 anymore. But not seeing anything other then the header and footer.

    in reply to: No Preview or Post #6102

    Modified the slug. And renamed my single.php page to single-piklist_event.php and added the print_r to it.

    <?php
    get_header();
    
    print_r(get_post_meta(get_the_ID())
    
    get_footer();
    ?>

    And still getting the same results. Simple 404: page not found.

Viewing 7 posts - 31 through 37 (of 37 total)