Problem with – Homepage (Youtube Video)

Support Forums Cian – WP Theme Problem with – Homepage (Youtube Video)

Tagged: ,

Viewing 5 posts - 31 through 35 (of 35 total)
  • Author
    Posts
  • #5476
    CreaboxThemes
    Keymaster

    Hi,

    the video loads correctly in the ‘App Demo’ section and I have added all the options to the ‘Empty 1’ section.

    Regards

    #5477
    Sumit Rathore
    Participant

    Its working now. Thanks for the work.

    One thing, I wanted to know. The new “Empty1” section that we have added. I want to show it below App demo section.

    Which is the php file, that I should change to rearrange the position of a section. I am a technical person, so I can do it myself.

    Let me know the file which contain the details of the sections as to which comes after which.

    #5478
    CreaboxThemes
    Keymaster

    Hi,

    I have made the changes in the source code with the plugin WPide. So, you have to select it in the left sidebar menu. Then, open your theme folder in the right section ‘Files’.

    If you want to change the sections order, you have to edit the next files for each kind of background:

    • Image slider: page-background-image-slider.php
    • Parallax: page-background-parallax.php
    • Video own: page-background-video-own.php
    • Video youtube: page-background-video-youtube.php
    • Video vimeo: page-background-video-vimeo.php

    For example, in your home, if you want to show the ‘Empty1’ section below the ‘App demo’ section, you have to copy the next code:

    $sectionPageID = vp_option('vpt_option.empty_section_1_page');
    		
    if ($sectionPageID != ""){
         sec_empty_section_1();
    }

    and paste it after the next code:

    $sectionPageID = vp_option('vpt_option.video_section_page');
    		
    if ($sectionPageID != ""){
         sec_video_section();
    }

    Regards

    • This reply was modified 5 years, 2 months ago by CreaboxThemes.
    #5480
    Sumit Rathore
    Participant

    Its done. Thanks for your help.

    Tell me one thing, What was the problem with the video and the Gallery section.

    Is it because of plugin or something else ?

    This happens quite often, whenever I update the youtube video url.

    What is the exact issue ?

    #5481
    CreaboxThemes
    Keymaster

    Hi,

    the problem with the gallery was that you updated the plugin ‘Portfolio Post Type’. I have not updated the theme with the last version of that plugin. That is why you couldn’t view the tabs with the options standard, gallery and video.

    About the video, I don’t know was the problem exactly. I copied and pasted the code again and it worked correctly.

    Regards

Viewing 5 posts - 31 through 35 (of 35 total)
  • You must be logged in to reply to this topic.