• Hello Everyone!
    I am new in This. Sorry if I am asking silly Question. I have a task to complete in which I need to add option of multiple featured images without using any plugins.
    So I have to do this in core PHP.
    please help me in the code.

    Thank You.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here is a good tutorial to complete your task:
    Tutorial
    You are free to customize the codes of plugins in your theme’s functions.php file.

    Thread Starter imAppu

    (@imappu)

    Thnk You so much for this but I cannot do like this. I need core php code. I am trying to add one more meta box like Featured Image.

    Code :

    add_action(‘do_meta_boxes’, ‘change_image_box’);
    function change_image_box()
    {
    add_meta_box(‘postimagedivtwo’, __(‘Secong Featured Image’), ‘post_thumbnail_meta_box’, ‘post’, ‘side’, ‘high’);

    }

    But this thing is not working

    Adding image as a metabox a bit complex. you can check the tutorial Link

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple Featured Images’ is closed to new replies.