Replace Default Homepage?
  • I really like the cleanness of Shell Lite, I'm wondering if there is anyway to get rid of the default home page and replace it with a static page. I tried in Settings --> Reading but I had no such luck.
  • Yes, if you copy the content of front-page.php and paste into (newly created) home.php. Please make sure that you are doing this in a Child Theme. http://themeid.com/forum/topic/3/use-child-theme-for-personal-customizations/

    home.php does not exist so that should be created first.

    Thanks for using Shell,
    Emil
    I really like the cleanness of Shell Lite, I'm wondering if there is anyway to get rid of the default home page and replace it with a static page. I tried in Settings --> Reading but I had no such luck.
  • Doesn't work for me. Here's what i did:

    - Brand new WP install, latest version, no caching plugins.

    - I downloaded and activated child theme from here:
    http://themeid.com/public/shell-child-theme.zip

    - I copied /themes/shell-lite/front-page.php to
    /themes/shell-child-theme/home.php as instructed

    - Settings->Reading show static page, Saved.

    Reloaded site - still no change on front page.

    Gleb
    Emil wrote:
    Yes, if you copy the content of front-page.php and paste into (newly created) home.php. Please make sure that you are doing this in a Child Theme. http://themeid.com/forum/topic/3/use-child-theme-for-personal-customizations/

    home.php does not exist so that should be created first.

    Thanks for using Shell,
    Emil
    I really like the cleanness of Shell Lite, I'm wondering if there is anyway to get rid of the default home page and replace it with a static page. I tried in Settings --> Reading but I had no such luck.
  • Can you please provide your URL? I can check.
    gesman wrote:
    Doesn't work for me. Here's what i did:

    - Brand new WP install, latest version, no caching plugins.

    - I downloaded and activated child theme from here:
    http://themeid.com/public/shell-child-theme.zip

    - I copied /themes/shell-lite/front-page.php to
    /themes/shell-child-theme/home.php as instructed

    - Settings->Reading show static page, Saved.

    Reloaded site - still no change on front page.

    Gleb
    Emil wrote:
    Yes, if you copy the content of front-page.php and paste into (newly created) home.php. Please make sure that you are doing this in a Child Theme. http://themeid.com/forum/topic/3/use-child-theme-for-personal-customizations/

    home.php does not exist so that should be created first.

    Thanks for using Shell,
    Emil
    I really like the cleanness of Shell Lite, I'm wondering if there is anyway to get rid of the default home page and replace it with a static page. I tried in Settings --> Reading but I had no such luck.
  • Thank you.
    I sent your admin access credentials to blog.

    Gleb
    Emil wrote:
    Can you please provide your URL? I can check.
    gesman wrote:
    Doesn't work for me. Here's what i did:

    - Brand new WP install, latest version, no caching plugins.

    - I downloaded and activated child theme from here:
    http://themeid.com/public/shell-child-theme.zip

    - I copied /themes/shell-lite/front-page.php to
    /themes/shell-child-theme/home.php as instructed

    - Settings->Reading show static page, Saved.

    Reloaded site - still no change on front page.

    Gleb
    Emil wrote:
    Yes, if you copy the content of front-page.php and paste into (newly created) home.php. Please make sure that you are doing this in a Child Theme. http://themeid.com/forum/topic/3/use-child-theme-for-personal-customizations/

    home.php does not exist so that should be created first.

    Thanks for using Shell,
    Emil
  • I would like to mention that Shell Lite Theme was build for users to utilize front-page.php (Landing Page) and if home.php does not work than without deleting front-page.php completely this cannot be achived, unless some custom functions are used.
    The front-page.php is the overall override for the first page of the site, period. It's always the front page, if it exists.

    Cheers,
    Emil
    Emil wrote:
    Can you please provide your URL? I can check.
    gesman wrote:
    Doesn't work for me. Here's what i did:

    - Brand new WP install, latest version, no caching plugins.

    - I downloaded and activated child theme from here:
    http://themeid.com/public/shell-child-theme.zip

    - I copied /themes/shell-lite/front-page.php to
    /themes/shell-child-theme/home.php as instructed

    - Settings->Reading show static page, Saved.

    Reloaded site - still no change on front page.

    Gleb
    Emil wrote:
    Yes, if you copy the content of front-page.php and paste into (newly created) home.php. Please make sure that you are doing this in a Child Theme. http://themeid.com/forum/topic/3/use-child-theme-for-personal-customizations/

    home.php does not exist so that should be created first.

    Thanks for using Shell,
    Emil
  • No need for credentials, just URL will do :)
    Emil wrote:
    Can you please provide your URL? I can check.
    gesman wrote:
    Doesn't work for me. Here's what i did:

    - Brand new WP install, latest version, no caching plugins.

    - I downloaded and activated child theme from here:
    http://themeid.com/public/shell-child-theme.zip

    - I copied /themes/shell-lite/front-page.php to
    /themes/shell-child-theme/home.php as instructed

    - Settings->Reading show static page, Saved.

    Reloaded site - still no change on front page.

    Gleb
    Emil wrote:
    Yes, if you copy the content of front-page.php and paste into (newly created) home.php. Please make sure that you are doing this in a Child Theme. http://themeid.com/forum/topic/3/use-child-theme-for-personal-customizations/

    home.php does not exist so that should be created first.

    Thanks for using Shell,
    Emil
  • http://demo.precidia.com/store2/
    Emil wrote:
    No need for credentials, just URL will do :)
    Emil wrote:
    Can you please provide your URL? I can check.
    gesman wrote:
    Doesn't work for me. Here's what i did:

    - Brand new WP install, latest version, no caching plugins.

    - I downloaded and activated child theme from here:
    http://themeid.com/public/shell-child-theme.zip

    - I copied /themes/shell-lite/front-page.php to
    /themes/shell-child-theme/home.php as instructed

    - Settings->Reading show static page, Saved.

    Reloaded site - still no change on front page.

    Gleb
  • Thanks, I am looking right now to both.
    gesman wrote:
    http://demo.precidia.com/store2/
    Emil wrote:
    No need for credentials, just URL will do :)
    Emil wrote:
    Can you please provide your URL? I can check.
  • What needs to be on home page?
    Emil wrote:
    Thanks, I am looking right now to both.
    gesman wrote:
    http://demo.precidia.com/store2/
    Emil wrote:
    No need for credentials, just URL will do :)
  • Right now "Sample Page".
    I just want to have an ability to set front page to any static page I want via
    Settings->Reading ...
    Emil wrote:
    What needs to be on home page?
    Emil wrote:
    Thanks, I am looking right now to both.
    gesman wrote:
  • If home.php does not work, the only option I see is to disable front-page.php file and in that case dynamic static page will work. As I mentioned earlier front-page.php is the static page we're talking about. home.php is deprecated because home.php name was causing issues with some servers, this was done by the WordPress itself.

    Login to your FTP, locate /shell-lite/front-page.php and just add .hold on the end i.e. front-page.php.hold or delete this file completely. This will however be overwritten in next update and for right now I don't have another alternative.

    When front-page.php is not used, index.php will come in as fallback and you can control that.

    Emil
    gesman wrote:
    Right now "Sample Page".
    I just want to have an ability to set front page to any static page I want via
    Settings->Reading ...
    Emil wrote:
    What needs to be on home page?
    Emil wrote:
    Thanks, I am looking right now to both.
  • Great thank you.
    So real solution is to kill ./shell-lite/front-page.php
    I wonder if it's possible to add something into child theme directory to enable default dynamic static page ability while maintaining upgradeability.

    Emil wrote:
    If home.php does not work, the only option I see is to disable front-page.php file and in that case dynamic static page will work. As I mentioned earlier front-page.php is the static page we're talking about. home.php is deprecated because home.php name was causing issues with some servers, this was done by the WordPress itself.

    Login to your FTP, locate /shell-lite/front-page.php and just add .hold on the end i.e. front-page.php.hold or delete this file completely. This will however be overwritten in next update and for right now I don't have another alternative.

    When front-page.php is not used, index.php will come in as fallback and you can control that.

    Emil
    gesman wrote:
    Right now "Sample Page".
    I just want to have an ability to set front page to any static page I want via
    Settings->Reading ...
    Emil wrote:
    What needs to be on home page?
  • This is on my todo list, the idea was for users to use the Theme as the Landing Page, but we also need to be sure that front-page.php can be disabled somehow. One of the future releases will have that for sure, not sure when yet.

    Let me try few things and if something useful comes up I will release an immediate update and note this topic as well.

    Cheers,
    Emil
    gesman wrote:
    Great thank you.
    So real solution is to kill ./shell-lite/front-page.php
    I wonder if it's possible to add something into child theme directory to enable default dynamic static page ability while maintaining upgradeability.

    Emil wrote:
    If home.php does not work, the only option I see is to disable front-page.php file and in that case dynamic static page will work. As I mentioned earlier front-page.php is the static page we're talking about. home.php is deprecated because home.php name was causing issues with some servers, this was done by the WordPress itself.

    Login to your FTP, locate /shell-lite/front-page.php and just add .hold on the end i.e. front-page.php.hold or delete this file completely. This will however be overwritten in next update and for right now I don't have another alternative.

    When front-page.php is not used, index.php will come in as fallback and you can control that.

    Emil
    gesman wrote:
    Right now "Sample Page".
    I just want to have an ability to set front page to any static page I want via
    Settings->Reading ...
  • The final solution:

    The minimum effort solution in case you don't want default home page is this:

    1. Copy front-page.php from /shell-lite/ Parent Theme and paste into a Child Theme.
    2. Open front-page.php in your favorite editor and delete the entire content and paste the following.
    <?php 
    if ( get_query_template( 'front-page' ) )
           include( get_query_template( 'index' ) );
    ?>
    

    Nothing more, nothing less. What this does is "filtering" the front-page.php file and replacing with a standard index.php. The index.php will be the standard WordPress layout, where you can assign any page you want from: Dashboard > Reading Settings area.

    Cheers,
    Emil
    Emil wrote:
    This is on my todo list, the idea was for users to use the Theme as the Landing Page, but we also need to be sure that front-page.php can be disabled somehow. One of the future releases will have that for sure, not sure when yet.

    Let me try few things and if something useful comes up I will release an immediate update and note this topic as well.

    Cheers,
    Emil
    gesman wrote:
    Great thank you.
    So real solution is to kill ./shell-lite/front-page.php
    I wonder if it's possible to add something into child theme directory to enable default dynamic static page ability while maintaining upgradeability.

    Emil wrote:
    If home.php does not work, the only option I see is to disable front-page.php file and in that case dynamic static page will work. As I mentioned earlier front-page.php is the static page we're talking about. home.php is deprecated because home.php name was causing issues with some servers, this was done by the WordPress itself.

    Login to your FTP, locate /shell-lite/front-page.php and just add .hold on the end i.e. front-page.php.hold or delete this file completely. This will however be overwritten in next update and for right now I don't have another alternative.

    When front-page.php is not used, index.php will come in as fallback and you can control that.

    Emil
  • Thank you Emil.
    This will do!

    Gleb
  • Not a problem. I will close this topic now and if you need more help, please feel free to open new one.

    Emil
    gesman wrote:
    Thank you Emil.
    This will do!

    Gleb
This discussion has been closed.
All Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

    Most Popular This Week