Okay
  Public Ticket #850245
Images
Closed

Comments

  • Xvavier started the conversation

    When using your theme there's no option to put in an external url. You can only click and upload via the wordpress uploader as the edit field is locked for the url.

    Is there anyway to sort this?

    Thanks

  •  1,974
    Support replied

    Hello,

    sorry where exactly you want to add the external url ? To an image?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Xvavier replied

    See attached.

    For example I'd like to set these images and others to pull from an external source but it doesn't let you edit.

  •  1,974
    Support replied

    Hello, yes you need to import them to media library first. Thank you

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Xvavier replied

    Obviously. But I don't want the images to pull from my media library, I want them to pull from an external source.

  •  1,974
    Support replied

    Open /include/admin-config.php and replace

    array(
                            'id'        => 'clapat_soho_logo_light',
                            'type'      => 'media',
                            'url'       => true,
                            'title'     => esc_html__('Header Logo - Light', 'soho'),
                            'desc'      => '',
                            'subtitle'  => esc_html__('Upload your logo to be displayed in the header menu for dark (negative) backgrounds.', 'soho'),
                            'default'   => array('url' => get_template_directory_uri() . '/images/logo.png'),
                        ),

    array(
                            'id'        => 'clapat_soho_logo_dark',
                            'type'      => 'media',
                            'url'       => true,
                            'title'     => esc_html__('Header Logo - Dark', 'soho'),
                            'desc'      => '',
                            'subtitle'  => esc_html__('Upload your logo to be displayed in the header menu for light (positive) backgrounds.', 'soho'),
                            'default'   => array('url' => get_template_directory_uri() . '/images/logo-black.png'),
                        ),


    with


    array(
                            'id'        => 'clapat_soho_logo_light',
                            'type'      => 'media',
                            'url'       => true,

                           'readonly' => false,
                            'title'     => esc_html__('Header Logo - Light', 'soho'),
                            'desc'      => '',
                            'subtitle'  => esc_html__('Upload your logo to be displayed in the header menu for dark (negative) backgrounds.', 'soho'),
                            'default'   => array('url' => get_template_directory_uri() . '/images/logo.png'),
                        ),

    array(
                            'id'        => 'clapat_soho_logo_dark',
                            'type'      => 'media',
                            'url'       => true,

                            'readonly' => false,
                            'title'     => esc_html__('Header Logo - Dark', 'soho'),
                            'desc'      => '',
                            'subtitle'  => esc_html__('Upload your logo to be displayed in the header menu for light (positive) backgrounds.', 'soho'),
                            'default'   => array('url' => get_template_directory_uri() . '/images/logo-black.png'),
                        ),


    if this doesn't work replace  'type'      => 'media', with  'type'      => 'text',

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Xvavier replied

    Because of this theres now a series of script errors.. I reversed and changed the script below you suggested and still not fixed.

    http://beta.goodlife.studio

    Please advise

  •  1,974
    Support replied

    can you send me wp username and password to fix it via wp admin editor?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   Xvavier replied privately
  •  1,974
    Support replied

    sorry i can't edit the file and i get some script errors. is it possible to provide ftp access to restore it and modify it?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  1,974
    Support replied

    Hello?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Xvavier replied

    ...

  •   Xvavier replied privately
  •  1,974
    Support replied

    Hello, all fixed I added the paths of the logo files from our demo, just add your own there. Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Xvavier replied

    Thanks, does this mean I can edit the image paths for the sliders too now?

  •  1,974
    Support replied

    Yes, I enabled the full image path field for all of them. Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy