I have a bit of a follow-up question:
How would I write that drop down in PHP? And can I make it limited?
I’m trying to pull <?php the_content()?> into a list
right now, I’m trying something along the lines of this:
<select id="<?php echo $this->get_field_id('posttype'); ?>" name="<?php echo $this->get_field_name('posttype'); ?>" class="widefat" style="width:100%;">
<option <?php selected( $instance['posttype'], 'Option 1'); ?> value="Option 1">Option 1</option>
<option <?php selected( $instance['posttype'], 'Option 2'); ?> value="Option 2">Option 2</option>
<option <?php selected( $instance['posttype'], 'Option 3'); ?> value="Option 3">Option 3</option>
</select>
Sorry, I’m brand new to php