Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @tyleryew

    I am a bit confused about your question??
    Do you completely want to remove that section or modify that section??

    Thank you!!

    Thread Starter tyleryew

    (@tyleryew)

    Hi..sanjong appreciate your responce..uea i still waiting some solution..

    1) you go to my website https://www.pandorabox.com.my home page, at the footer (below news) are have 3 boxes to allow post in picture..how do i remove these…thanks…appreciate…

    Hi @tyleryew

    1. For this you need to create child theme.Reference here for child theme
    2. Now in main theme’s folder you will find front-page.php file.Now copy this file in child theme’s folder.
    3.Now copy and paste only following code in front-page.php in child theme.

    <?php get_header();
    $wl_theme_options = weblizar_get_options();
    if ($wl_theme_options['_frontpage']=="on" && is_front_page())
    { ?>
    <!-- Slider ======================================= -->
        <div id="myCarousel" class="carousel slide" data-ride="carousel">
          <!-- Indicators -->
          <ol class="carousel-indicators">
            <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
            <li data-target="#myCarousel" data-slide-to="1"></li>
            <li data-target="#myCarousel" data-slide-to="2"></li>
          </ol>
          <div class="carousel-inner">
            <div class="item active">
    			<?php if($wl_theme_options['slide_image'] !='') { ?>
    			<img src="<?php echo esc_url($wl_theme_options['slide_image']); ?>" class="img-responsive" alt="First slide">
    			<?php } ?>
    			<div class="container">
    				<div class="carousel-caption">
    				<?php if($wl_theme_options['slide_title'] !='') { ?> <p><strong><?php echo  esc_attr($wl_theme_options['slide_title']); ?></strong></p>	<?php } ?>
    				<?php if($wl_theme_options['slide_desc'] !='') { ?>
    				<p><?php echo  esc_attr($wl_theme_options['slide_desc']); ?></p>
    				<?php } ?>
    				<?php if($wl_theme_options['slide_desc'] !='') { ?>
    				<p><a class="btn btn-lg btn-primary" target="_blank" href="<?php if($wl_theme_options['slide_btn_link'] !='') { echo esc_url($wl_theme_options['slide_btn_link']); }  ?>" role="button"><?php echo esc_attr($wl_theme_options['slide_btn_text']); ?></a></p>
    				<?php } ?>
    				</div>
    			</div>
            </div>
    		<div class="item ">
    			<?php if($wl_theme_options['slide_image_1'] !='') { ?>
    			<img src="<?php echo esc_url($wl_theme_options['slide_image_1']); ?>" class="img-responsive" alt="Second slide">
    			<?php } ?>
    			<div class="container">
    				<div class="carousel-caption">
    				<?php if($wl_theme_options['slide_title_1'] !='') { ?> <p><strong><?php echo  esc_attr($wl_theme_options['slide_title_1']); ?></strong></p>	<?php } ?>
    				<?php if($wl_theme_options['slide_desc_1'] !='') { ?>
    				<p><?php echo  esc_attr($wl_theme_options['slide_desc_1']); ?></p>
    				<?php } ?>
    				<?php if($wl_theme_options['slide_desc_1'] !='') { ?>
    				<p><a class="btn btn-lg btn-primary" target="_blank" href="<?php if($wl_theme_options['slide_btn_link_1'] !='') { echo esc_url($wl_theme_options['slide_btn_link_1']); }  ?>" role="button"><?php echo esc_attr($wl_theme_options['slide_btn_text_1']); ?></a></p>
    				<?php } ?>
    				</div>
    			</div>
            </div>
    		<div class="item ">
    			<?php if($wl_theme_options['slide_image_2'] !='') { ?>
    			<img src="<?php echo esc_url($wl_theme_options['slide_image_2']); ?>" class="img-responsive" alt="First slide">
    			<?php } ?>
    			<div class="container">
    				<div class="carousel-caption">
    				<?php if($wl_theme_options['slide_title_2'] !='') { ?> <p><strong><?php echo  esc_attr($wl_theme_options['slide_title_2']); ?></strong></p>	<?php } ?>
    				<?php if($wl_theme_options['slide_desc_2'] !='') { ?>
    				<p><?php echo  esc_attr($wl_theme_options['slide_desc_2']); ?></p>
    				<?php } ?>
    				<?php if($wl_theme_options['slide_desc_2'] !='') { ?>
    				<p><a class="btn btn-lg btn-primary" target="_blank" href="<?php if($wl_theme_options['slide_btn_link_2'] !='') { echo esc_url($wl_theme_options['slide_btn_link_2']); }  ?>" role="button"><?php echo esc_attr($wl_theme_options['slide_btn_text_2']); ?></a></p>
    				<?php } ?>
    				</div>
    			</div>
            </div>
          </div>
          <a class="left carousel-control" href="#myCarousel" data-slide="prev"><i class="fa fa-angle-left"></i></a>
          <a class="right carousel-control" href="#myCarousel" data-slide="next"><i class="fa fa-angle-right"></i></a>
     </div><!-- /.carousel -->
    
    <div class="feature_section1">
    	<div class="container">
    		<h2><?php
    			if($wl_theme_options['home_service_title'] !='') { 	echo esc_attr($wl_theme_options['home_service_title']); }
    			if($wl_theme_options['home_service_description'] !='') {  ?>
    			<b><?php echo esc_attr($wl_theme_options['home_service_description']); ?></b>
    			<?php } ?>
    		</h2>
    		<div class="margin_top3"></div>
    		<div class="one_fourth animate" data-anim-type="fadeIn" data-anim-delay="100">
    			<div class="arrow_box"><?php if($wl_theme_options['service_1_icons'] !='') { echo "<i class='".esc_attr($wl_theme_options['service_1_icons'])."' ></i>";  }?></div>
    			<?php if($wl_theme_options['service_1_title'] !='') { ?><a href="<?php echo esc_url($wl_theme_options['service_1_link']);  ?>"><h5 class="caps"><?php echo esc_attr($wl_theme_options['service_1_title']);  ?></h5></a><?php } ?>
    			<?php if($wl_theme_options['service_1_text'] !='') { echo "<p>".apply_filters('the_content', esc_attr($wl_theme_options['service_1_text']), true). "</p>"; } ?>
    		</div>
    		<div class="one_fourth animate" data-anim-type="fadeIn" data-anim-delay="200">
    			<div class="arrow_box"><?php if($wl_theme_options['service_2_icons'] !='') { echo "<i class='".esc_attr($wl_theme_options['service_2_icons']). "'></i>";  }?></div>
    			<?php if($wl_theme_options['service_2_title'] !='') { ?><a href="<?php echo esc_url($wl_theme_options['service_2_link']);  ?>"><h5 class="caps"><?php echo esc_attr($wl_theme_options['service_2_title']);  ?></h5></a><?php } ?>
    			<?php if($wl_theme_options['service_2_text'] !='') { echo "<p>".apply_filters('the_content', esc_attr($wl_theme_options['service_2_text']), true). "</p>"; } ?>
    		</div>
    		<div class="one_fourth animate" data-anim-type="fadeIn" data-anim-delay="300">
    			<div class="arrow_box"><?php if($wl_theme_options['service_3_icons'] !='') { echo "<i class='".esc_attr($wl_theme_options['service_3_icons']). "'></i>";  }?></div>
    			<?php if($wl_theme_options['service_3_title'] !='') { ?><a href="<?php echo esc_url($wl_theme_options['service_3_link']);  ?>"><h5 class="caps"><?php echo esc_attr($wl_theme_options['service_3_title']);  ?></h5></a><?php } ?>
    			<?php if($wl_theme_options['service_3_text'] !='') { echo "<p>".apply_filters('the_content', esc_attr($wl_theme_options['service_3_text']), true). "</p>"; } ?>
    		</div>
    		<div class="one_fourth last animate" data-anim-type="fadeIn" data-anim-delay="400">
    			<div class="arrow_box"><?php if($wl_theme_options['service_4_icons'] !='') { echo "<i class='".esc_attr($wl_theme_options['service_4_icons']). "'></i>";  }?></div>
    			<?php if($wl_theme_options['service_4_title'] !='') { ?><a href="<?php echo esc_url($wl_theme_options['service_4_link']);  ?>"><h5 class="caps"><?php echo esc_attr($wl_theme_options['service_4_title']);  ?></h5></a><?php } ?>
    			<?php if($wl_theme_options['service_4_text'] !='') { echo "<p>".apply_filters('the_content', esc_attr($wl_theme_options['service_4_text']), true). "</p>"; } ?>
    		</div>	
    
    	</div>
    </div><!-- end of service section1 -->
    <div class="clearfix"></div>
    
    <?php
    get_footer();
    }
    else
    {
    if(is_page()){
    get_template_part('page');
    } else {
    get_template_part('index');
    }
    } ?>

    4. Now activate child theme.By now that section should be gone.
    Note: Please customize files of child theme, so your changes will not overwrite on theme update.

    Thanks and CHEERS!!

    Thread Starter tyleryew

    (@tyleryew)

    Hi..sanjong appreciate your responce..uea i still waiting some solution..

    1) you go to my website https://www.pandorabox.com.my home page, at the footer (below news) are have 3 boxes to allow post in picture..how do i remove these…thanks…appreciate…

    Hi @tyleryew

    I have already replied above.Please try to follow the steps explained above.
    And if your problem is resolved Please mark it as resoled.

    Thank You!!

    Thread Starter tyleryew

    (@tyleryew)

    hi@ sanjog

    when i create the child theme for my web..maybe i mis-overriding the theme code..now even i go in my _https://pandorabox.com.my/wp-admin/ also cannot login and white out..

    i need for further assist..appreciate and many thanks

    Thread Starter tyleryew

    (@tyleryew)

    hi@sanjog

    can i add you as my Facebook friends??

    my Facebook accounts
    https://www.facebook.com/TylerYew?ref=bookmarks

    Hi @tyleryew

    1.First create a folder name main-theme-child.
    2. Now inside that folder you need to create two main files functions.php and style.css.And for your solution front-page.php also.
    3. In style.css file copy and paste following code:

    /*
     Theme Name:   Guardian Child
     Theme URI:
     Description:Guardian is an incredibly superfine multi-purpose responsive theme coded & designed with a lot of care and love. You can use it for your business, portfolio, blogging or any type of site.Guardian is Responsive and flexible based on BOOTSTRAP CSS framework that adapts your website to mobile devices and the desktop or any other viewing environment. Guardian Is also supports the WPML , for making the MULTILIGUAL website .We focused on usability across various devices, starting with smartphones.Guardian is a Cross-Browser Compatible theme that works on All leading web browsers.Guardian is Retina ready.It has 4 page layouts, 2 page templates, It has five widgets available (one sidebar, four footers), and using the sidebar widget also enables you to make a two-column design. In addition, footer widget display is automatically adjusted depending on how many are used.Guardian has  Filkr as a custom widget to showing up your Flikr Photos .Custom menus to choose the menu in Primary Location that is in Header area of the site.In header area and footer of the theme offers Social Media Links to add your Social Links here. Guardian  focusing on business template, awesome Caroufredsel slider, Powerful but simple Theme Options for full CMS control option to match your logo & website, wide layout, light & dark color skin, translation ready and many more. Guardian is Woo-commerce Ready theme. You can check the demo at https://demo.weblizar.com/guardian-free-theme/
     Author: weblizar
    Author URI: https://weblizar.com/
     Template:  Guardian
     Version:  2.6
    License: GNU General Public License v3 or later
    License URI: https://www.gnu.org/licenses/gpl.html
    Tags: black, green, gray, red, dark, light, silver, white, two-columns, custom-menu, right-sidebar, fixed-layout, fluid-layout, custom-background, featured-image-header, sticky-post, theme-options, threaded-comments, featured-images, flexible-header, responsive-layout
    Text Domain: weblizar
    */

    4. And in functions.php copy and paste following code:

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }

    5. And in front-page.php file copy and paste code replied previously

    Thank You!!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to remove the 3 boxes?’ is closed to new replies.