Landing page without page content?

  • Author
    Posts
  • #42211

    Are you able to have your landing page WITHOUT the title and content of the page assigned? With the Slider, and boxes, I don’t need any additional text on there!

    #42253

    Fixed via overriding fluida_lpindex() and adding a hack. Would be nice to have an option in the theme to prevent from page content/. You really don’t need it with everything else 😀

    #42490
    Zed
    Cryout Creations mastermind

    You can leave the landing page to the default way of displaying posts on the homepage, and then disable the posts list from the theme’s options.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #42518

    Does that only work if the front page is a block? I’ve disabled the post list, but the content on the Homepage page still appears. See two images.

    The setting
    The page detail appearing

    Website: www.rockrunrelax.co.uk

    #42520

    This is the bit I’m commenting out:

    function fluida_lpindex() {
    
    	$fluida_landingpage = cryout_get_option ('fluida_landingpage');
    	$fluida_lpposts = cryout_get_option ('fluida_lpposts');
    
    	if ( is_page() ) {
    		// get_template_part( 'content/content', 'page' );     <--------
    	} else {
    
    #42584

    I am also trying to remove everything on the first page.
    For the above solution doesn’t work.

    @delanthear
    can tell me what’s your configuration? Landing or static page etc.. ?

    Website: www.tablegallery.org

    #42604

    I’m using a landing page, with the relevant piece of code outputting the page content commented out in a child theme function

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Landing page without page content?’ is closed to new replies.