How can I get access to `index.hbs` if I had `home.hbs` set up? - ghost-blog

home.hbs is now set up as the landing page for the whole site. And I would love to use index.hbs as the index page for blog(showing latest posts etc.)
Or is there a way to disable redirection from /page/1 to index when home is set up?

There's a hack to ghost core to enable this.
However, if you just want to add a landing page to your blog. I recommend hosting Ghost in a subdirectory like /blog and create your landing page separately without using home.hbs. See more here.

The home.hbs file is built to be for only the home landing page. index.hbs is for the home page (if home.hbs doesn't exist) and all the other pages for pagination. If you want the same layout for everything, just delete the home.hbs file and the site will instead use index.hbs for the home page and for any further paginated pages.

I haven’t tried it yet, but have you already tried http://YOUR-GHOST-URL/index/?

Related

Make static pages and NOT appear as blog

I have just installed wordpress, and finally found out how to fix the issue that wordpress works as a blog as default. This was not what I wanted, since I want to create a site. I changed the front page to be static. Now when I create a new page, I want this to be a static page too, and not a blog. A new page keeps appearing as a blog. How can I change this?
Use Template page for it.
You can check here :- http://codex.wordpress.org/Page_Templates

Test page - WordPress

Can I make a page in wordpress that I can use to test things on and wont be viewable on the actual WordPress site? I need a page that I can just mess around with things because I'm fairly new to WordPress. So you could only get to the page with the url.
Make page private, then you can save it and preview it from inside wordpress.

How to remove homepage navigation link on every page?

I am working on one wordpress site. i have total three page in my site for ex: home, one and two. my problem is whenever i move from home page to another page like home to one page then home->one this type of navigation link shown on every page like home->name of page. how to remove this link.
Which WordPress version you are using??
May be your theme support breadcrumb functionality.
You can check it from admin side.
Try to find breadcrumb's code in your header.php(or index.php, etc) and delete or place it between
<!--breadcrumb's code-->
If your theme has custom options menu and you can turn off breadcrumbs. Check it.
Also double check if pages one and two are child pages of home.

How do I create a static page and redirect to a WordPress blog without moving files?

I have WordPress installed in the main directory. I want to create a static page so that when the person clicks "click here". It goes to the wordpress blog.
I have tried this two ways thus far.
Created a custom page in wordpress and then had it set as a static page. Problem when someone clicked the linked it redirected back to the splash page.
Put the files in the main directory. Problem the person would have to go to www.example.com/splash.html to get there. I tried creating a htaccess but host gator will not let me.
edit: I figured it out using
<?php
if( (strpos($_SERVER['HTTP_REFERER'], get_bloginfo('home')) === false) && !$_SERVER['QUERY_STRING']) :
?>
What is the purpose of the splash page if its just one link on it?
One option is to create your page within wordpress and set the frontpage to show as a static page (under settings > reading). On that page link to your /blog/ category or to a custom template page that displays all your blog posts.
If you want to have the same design as the page currently has, you can make a new template out of you current index.php file.
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
The simple option is to use a plugin.
http://cochinoman.com/2009/02/16/wordpress-plugin-for-splash-screen/
Gives you the option to Continue on or go back.

WordPress cms and blog with same site, how to code blog's index page

i am coding up a cms site which also has a blog section by using wordpress.
the website previous had a blog section at /blog, which powered by wordpress, and a bunch of static pages. now they want to convert entire site to wordpress.
basically what i did is making a handful of "page"s , and set the website's index page as one of these static "page". apparently the blog section need to be part of this wordpress installation.
now i am wondering how do i render the index page of the blog as index.php has been taken for the "cms" part?
thanks
Your question isn't very clear - but there are two options for "home" page and "blog" page. Home page you have set, you can then set another page as the blog index.
Of course you will need a page template for that page so that it retrieves the latest blog entries.

Resources