D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Sunrain theme issues

Front Page D5 Creation Forum General Support Sunrain theme issues

  • This topic has 3 replies, 2 voices, and was last updated 10 years ago by D5 Creation.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3581
    hawin jiang
    Participant

    Hi Admin

    I have downloaded sunrain theme. My wordpress is the latest version.

    I want to change slide images. I did some changes on front-page.php and options.php. But I don’t know why it is still displaying old picute.

    Please help me. Thanks.

    Front-page.php
    Before:
    <img src=”‘. esc_url(of_get_option(‘slide-image1’, get_template_directory_uri() . ‘/images/victory.png’)).'” data-position=”10,550″ data-delay=”500″ data-in=”left” data-step=”0″ data-out=”right”>

    After:
    <img src=”‘. esc_url(of_get_option(‘slide-image1’, get_template_directory_uri() . ‘/images/demo.png’)).'” data-position=”10,550″ data-delay=”500″ data-in=”left” data-step=”0″ data-out=”right”>

    Options.php
    Before:
    $options[] = array(
    ‘name’ => ‘Image 01’,
    ‘desc’ => ‘Upload an image. 500px X 420px PNG image is recommended.’,
    ‘id’ => ‘slide-image1’,
    ‘std’ => get_template_directory_uri() . ‘/images/victory.png’,
    ‘type’ => ‘upload’);

    After:
    $options[] = array(
    ‘name’ => ‘Image 01’,
    ‘desc’ => ‘Upload an image. 500px X 420px PNG image is recommended.’,
    ‘id’ => ‘slide-image1’,
    ‘std’ => get_template_directory_uri() . ‘/images/demo.png’,
    ‘type’ => ‘upload’);

    #4970
    D5 Creation
    Keymaster

    Please use the SunRain Options from Appearance > SunRain Options to add images. Changing the code is not a wise decision.

    #5002
    hawin jiang
    Participant

    Thanks D5 Creation for your reply. I would like to change images from Appearance > SunRain Options.
    But if you go to Appearance > SunRain Options. No any button or link can upload images to website. I only saw update button. but it is not be able to click it.

    Please let me know your solutions. Thanks.

    #5009
    D5 Creation
    Keymaster

    Thanks D5 Creation for your reply. I would like to change images from Appearance > SunRain Options.
    But if you go to Appearance > SunRain Options. No any button or link can upload images to website. I only saw update button. but it is not be able to click it.

    Please let me know your solutions. Thanks.

    We didn’t find such these issues in our Test Environment. You can try deactivating all plugin and activating them one by one to check if any plugin is conflicting. You can also overwrite all Theme Files with the Original.

    BTW, what is your WebSite URL?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.