• Resolved startraider

    (@startraider)


    Hey,

    i’m tried to use your plugin – looks very nice, but instead of print my picture it only shows me the id of the Picture, is there any solution?

    My Widget code:

    Form function:

    public function form( $instance ) {
            pco_image_field( $this, $instance, array( 'field' => 'myID' ) );
     }

    The Frontend-Function:

    public function widget( $args, $instance) {
            echo $instance['myID'];
    }

    https://www.ads-software.com/plugins/pco-image-widget-field/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Id instead of Picture’ is closed to new replies.