• i have use your plugin i have found new issue on create option for add image then display just attachment id but not display image url.

    see hear
    Thanks.

    \tonjoo-theme-option-maker\src\TOMGenerate.php
    line no 605 add media image code not exist: like on 150

    if (!empty($val)) {
    	$image = wp_get_attachment_image_src($val, 'medium');
    	$src = (is_numeric($val)) ? $image[0] : $val;
    	$display = '';
    } else {
    	$src = '';
    }

    https://wordpress.org/plugins/tonjoo-theme-option-maker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ravikumar Patel

    (@ravipatel)

    Also Not working when i have add shortcode on page content just display attechment id.

    issue created when just have only one option.

    not getting data when single value exist hear:

    $data = get_option( ‘tom_data’ );

    Hello,

    You can use : Advanced Custom Fields: Options Page This Plugin and Make Unlimited Theme Options With ACF.

    Thanks!
    BR
    Ahir Hemant

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Image src path not display’ is closed to new replies.