WordPress.org

Ready to get started?Download WordPress

Forums

Biznez Lite
[resolved] Need to disable front page features. (4 posts)

  1. haseeb007
    Member
    Posted 11 months ago #

    I need to disable frontpage features and want to display my simple static page as the homepage on my site.
    Also is there any shortcode available for the fullwidth slider coz I need to display full width slider on another page of my site.

    thanks

  2. Tikendra Maitry
    Member
    Theme Author

    Posted 11 months ago #

    Hi Haseeb,

    Option to disable frontpage features and display simple static page as homepage feature is actually done in the next release of BizNez Lite but it is still waiting for approval.

    And currently BizNez Lite theme doesn't have any shortcode to show full width slider on any other page. But you can the slider in your page template using the below code:

    <!-- #Slider -->
    
    		<div id="slider">
    			<div id="featuredfullslider">
    					 <img src="<?php if(sketch_get_option($shortname.'_slider_img1')) { echo sketch_get_option($shortname.'_slider_img1'); } ?>"  alt="Skt-slide1"  data-caption="#slide-content-1"  />
    					 <img src="<?php if(sketch_get_option($shortname.'_slider_img2')) { echo sketch_get_option($shortname.'_slider_img2'); } ?>"  alt="Skt-slide2"  data-caption="#slide-content-2" />
    					 <img src="<?php if(sketch_get_option($shortname.'_slider_img3')) { echo sketch_get_option($shortname.'_slider_img3'); } ?>"  alt="Skt-slide3"  data-caption="#slide-content-3" />
    				</div>
    				<!-- Captions for Orbit -->
    				<div class="orbit-caption" id="slide-content-1">
    					<div class="content">
    					<?php if(sketch_get_option($shortname.'_slider_title1')) { $title1 = sketch_get_option($shortname.'_slider_title1'); } ?>
    					<?php if(sketch_get_option($shortname.'_content_slider1')) { $excerpt1 = sketch_get_option($shortname.'_content_slider1'); } ?>
    					<?php if(sketch_get_option($shortname.'_slider_link1')) { $link1 = sketch_get_option($shortname.'_slider_link1'); } ?>
    							<div class="title"><a href="<?php echo $link1; ?>"><?php  if (strlen($title1) > 20) { $title1 = substr( $title1, 0 , 20 ) . ".."; echo $title1; } else { echo $title1;} ?></a></div>
    							<div class="entry"><?php echo skt_slider_limit_words($excerpt1, '40'); ?></div>
    					</div>
    				</div>
    				<div class="orbit-caption" id="slide-content-2">
    					<div class="content">
    					<?php if(sketch_get_option($shortname.'_slider_title2')) { $title2 = sketch_get_option($shortname.'_slider_title2'); } ?>
    					<?php if(sketch_get_option($shortname.'_content_slider2')) { $excerpt2 = sketch_get_option($shortname.'_content_slider2'); } ?>
    					<?php if(sketch_get_option($shortname.'_slider_link2')) { $link2 = sketch_get_option($shortname.'_slider_link2'); } ?>
    							<div class="title"><a href="<?php echo $link2; ?>"><?php  if (strlen($title2) > 20) { $title2 = substr( $title2, 0 , 20 ) . ".."; echo $title2; } else { echo $title2;} ?></a></div>
    							<div class="entry"><?php echo skt_slider_limit_words($excerpt2, '40'); ?></div>
    					</div>
    				</div>
    				<div class="orbit-caption" id="slide-content-3">
    					<div class="content">
    					<?php if(sketch_get_option($shortname.'_slider_title3')) { $title3 = sketch_get_option($shortname.'_slider_title3'); } ?>
    					<?php if(sketch_get_option($shortname.'_content_slider3')) { $excerpt3 = sketch_get_option($shortname.'_content_slider3'); } ?>
    					<?php if(sketch_get_option($shortname.'_slider_link3')) { $link3 = sketch_get_option($shortname.'_slider_link3'); } ?>
    							<div class="title"><a href="<?php echo $link3; ?>"><?php  if (strlen($title3) > 20) { $title3 = substr( $title3, 0 , 20 ) . ".."; echo $title3; } else { echo $title3;} ?></a></div>
    							<div class="entry"><?php echo skt_slider_limit_words($excerpt3, '40'); ?></div>
    					</div>
    				</div>
    
    			</div>
    			<!--slider -->

    Best,
    Tikendra

  3. Gunjan Rai kanungo
    Member
    Posted 11 months ago #

    Hi Haseeb,

    Please update your theme I have added frontpage disable feature in the new version of our theme Biznez Lite 1.0.11.

    Go to your WP dashboard and see Settings -> Reading -> Choose a Front page displays setting as Your latest posts to disable frontpage feature. Your default Front page displays setting is also your latest posts.

    "When you choose Front page displays setting static page (select below) then select Front page from drop-down, the contents of selected page aren't displayed anywhere on the static front page."

    Best,
    Gunjan

  4. Tikendra Maitry
    Member
    Theme Author

    Posted 11 months ago #

    Thanks Gunjan for updating thread. :)

Reply

You must log in to post.

About this Theme

About this Topic