We are currently developing our own theme for Wordpress. Now we set up the index.php and added the first page which is functioning as the Homepage. (we have installed WP on a subdirectory)
We setup Wordpress that the Homepage is set to that new added page. But now this new page is only accessable by www.domain.com/wp/home instead of www.domain.com/wp
How can we set up WP that it will show the new added page at the Homepage?
By default WordPress shows your most recent posts on the front page. In order to change that you need to set the Wordpress front page to be a static page.
Go to Administration Menu > Settings > Reading panel.
Set 'Front page displays:' to 'a static page' and choose the page you already created for 'Front page:'.
Save changes.
For More Information:
Creating a Static Front Page
Wordpress Settings Reading Screen
you have to set it up in Themes menu. You will find an option there,what do you want to show on your start page, blog, or a page. Specify your page there.
Related
I have designed a website in Wordpress using static pages and I would also like to add blog feature to it.
On my static homepage, I would like to include a small blogroll, linked to full blog-page. (just like if my home page was set to blog instead of home page).
In other words, I want to utilize together both page and blog features, but setting static page as main page makes it impossible to view all the posts written on the websites.
If i set blog page as homepage, then i loose my static homepage, but i get page with all the posts written.
How can I actually create a link from static homepage to a page with all blog-posts?
In the Reading Settings page of the admin area (Settings > Reading; the same place you select your static front page) there is a selector called Posts page. Select the page that you would like the blog posts displayed on (this will override any content you actually have on that page).
You can also create a file named home.php in your template's folder with your post display code and when you navigate to www.example.com/home.php it will display.
I chose Wordpress for my last project but I have a question. I'll use Pages so the client is able to change the content himself. For the moment there are no Post or blog in it. Is it possible to run Wordpess without a blog? It'll be a blog in a future but not now. Thanks.
Absolutely you can have a WordPress site without a blog. You just need to do a couple of things in the admin.
First you need to create 2 pages: a static 'home' page, and a 'blog index' page. The home page is what will be displayed when a visitor comes to the site. The blog index page is just a blank page, with a title you can remember.
Next, in Settings > Reading, select Front page displays a 'static page', then set 'Front page:' to the home page you made, and 'Posts page:' to the blog index page you made.
Yes, for sure you can do this.
Just do the following:
In your admin backend click on Settings -> Reading and set "A Static Page"
Go to Appearance and build a custom menu and add there your pages to a active menu.
Disable all widgets which link to posts.
In fact you need only the first step, but with the second you allow users to navigate on your site. To make the UX better, just add a plugin like Map Categories to Pages to add a category widget or something in this way, to let people browse your site more nicely.
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.
I would like to show a custom page when activate my theme with an Enter link instead of posts in the content area and also need to show same header, sidebar and footer as other pages. When click on the Enter our blog works same as other thems.Please help me.
I would create the page that you want to use as the index page in your wordpress admin panel. Then go to Readings Settings, and select Static Page, then select the new page you just created in the drop down menu to set it as the front page. Click Save Changes and the new index page will now be the first thing that visitors see when they go to your site. Does that solve your problem?
Quick question (quick deadline...I know I can use google).
I'm writing a site on Wordpress w/ a static home page, it has a few pages--I want the 'blog' page to show the wp entries...what's the best way to set this up.
Right now I have a static template for each page (with content rendered), but of course, the blog page doesn't show the posts...
Thanks for the help!
Create a Wordpress Page Template by making a page with any name and this comment at the top:
/*
Template Name: Blog Enitres
*/
Go create a page, use that as the template (there is a selector on the right hand side). Call it whatever and save it. This is your static page.
Then, after that, go down to Settings > Reading and change the 'Home' page to be the page you've created.
Then create an index.php and save it. This will be the template for the displayed posts. Create an empty page and select it at the 'Posts Page' in settings.
To learn more about this functionality go here.
To learn more about the Wordpress loop and how to display entries, visit codex.wordpress.org