Horje
Easily add image fields to your custom widgets. Wordpress Tutorial

Noted That:

  • To install correctly this pco-image-widget-field.zip .
  • Fisrt Download the pco-image-widget-field.zip to your computer
  • Extract/Open pco-image-widget-field.zip to Your Computer.
  • Then, Find readme.txt file inside pco-image-widget-field.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " pco-image-widget-field.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " pco-image-widget-field.zip "  Downloaded plugin from your computer, Where you downloaded pco-image-widget-field.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " PCo Image Widget Field " folder is added on left sidemenu. Now, Click on " PCo Image Widget Field " folder.

   Noted that: If you do not see " PCo Image Widget Field " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  PCo Image Widget Field Configurtions and Settings or How to work " PCo Image Widget Field " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " PCo Image Widget Field " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is PCo Image Widget Field
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Add the plugin by either downloading the folder and uploading it to the wp-content/plugins directory or install it from the Control Panel using Plugins-> Add New.
  2. Activate PCo Image Widget Field from the Plugins menu using Plugins-> Installed Plugins.
  3. Put pco_image_field( $this, $instance ); inside your Widget’s form() method.

Configuration

It’s possible to add settings to the function by adding a settings array as a third argument: array( 'title' => 'your-title', 'update' => 'your-update-text', 'field' => 'your-image-field' ) . Here are what each setting does…

  • title – The title text in the upper left corner of the Media Frame. Defaults to ´Image´
  • update-text – The text on the update button in the lower right corner of the Media Frame. Defaults to ´Update Image´
  • field – The field name. Change this if you need multiple images in one widget. Defaults to ´image_id´

Note that this plugin will not save your widget data or show your image anywhere on the front-end. It will simply store the field inside the $new_instance array and wait for you to save the widget. Once the widget instance is saved, you will be able to retrieve the image id from the widget data.


easily , image , fields , custom , widgets , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference