WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove all content except theme content from homepage, is it possible? (6 posts)

  1. Altersoundwork
    Member
    Posted 1 year ago #

    Hi everyone,

    The website I´m working on is nordic.neonit.net

    As you can see it contains an empty page (between the slider and footer). Now the theme itself has different sidebar designs, so getting rid of the sidebar is easy enough. What I want to do (if possible) is remove the page from the homepage, so it´s just the header, slider and footer. The slider itself shows the latest news so I dont need or want anything else in the homepage in terms of posts of pages.

    Any ideas?

  2. Altersoundwork
    Member
    Posted 1 year ago #

    tried playing around with if and else statements in page.php within the theme folder to not show the page, however while it affects normal pages in the way I want, it doesn´t seem to affect the homepage, bit stuck here

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    the front page seems to be using a page template with the file name template-landing-page.php

  4. Altersoundwork
    Member
    Posted 1 year ago #

    yes, I was just playing around with templates to see what they did, but it´s the same issue with the standard template

  5. Altersoundwork
    Member
    Posted 1 year ago #

    ah but of course, no wonder it didn´t make a different. Thanks, solved, I was added the if and else statements on page.php after I had changed the template. So I restored that to original values and simply deleted the div element on landing page template, works a charm now.

    thanks! :D

  6. Altersoundwork
    Member
    Posted 1 year ago #

    Resolved : )

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags