In WP the term `homepage` can be a bit confusing. It is used in the normal way, for the main page of a site, but sometimes also for the page that contains the newest posts, even if this is not the main page of the site.

learn more… | top users | synonyms (1)

6
votes
4answers
3k views

How to show a single post on the front page but have normal paging?

I would like to have a single post on my front page (always the latest), but let normal paging work. So the front page has post 1, the next page should have post 2-11 (1-10 is fine too), then 12-21 or ...
17
votes
5answers
4k views

How do you use a CPT as the default home page?

I have a client who's site will be making heavy use of custom post types to configure their site. But I'm between a rock and a hard place for their requested home page. In reality, the home page ...
4
votes
6answers
2k views

Best way to present options for home page in admin?

I have a site with a custom home page, home.php. What's the right way to present the editable home page options in the admin tool? For example, there's a few custom text fields on the home page that ...
2
votes
5answers
6k views

is_home, and is_front_page conditional problem

I have this snippet in a "portfolio-loop.php" file. I'm using get_template_part to display the loop on the front page and on other pages. I have this within the loop: <?php if( !is_home() || !...
29
votes
3answers
18k views

When to use is_home() vs is_front_page()?

I've found that is_front_page appears to return true when I'm viewing the home page and have a single sticky post assigned there. It also returns true when I've assigned a page as the static front ...
2
votes
3answers
1k views

Is it possible to use a single custom post as the site front page

I know I can set a static page as the homepage but is it possible to set a single custom post as the site front page? I created a custom post type called "portfolio" where users can add all the work ...
1
vote
2answers
1k views

After updating wordpress 4.5 my homepage and images not displaying

My site is http://exteriorinteriorsdesign.com/ After Updating wordpress 4.5,it couldn't load my images and articles on Homepage, and dashboard also doesn't show when i move my cursor over there. ...
1
vote
1answer
900 views

How to put a banner ad between post 1 and post 2 on homepage only

Wordpress Swift Theme is installed on my My site http://tech-ticks.info From last few days, I am trying to find a solution to put an ad banner on homepage only between post1 and post 2. I have ...
0
votes
1answer
128 views

How to show a post single post in page template

Currently I've divided posts into 5 different categories, based on the categories I've created 5 page templates. all of the pages are listed into the home page navigation menu. in my home page I'm ...
0
votes
1answer
850 views

custom, static home page / landing page with Twenty Eleven theme?

I have a custom styled static page that I'd like to set as a home/landing page for a site using the Twenty Eleven theme. I can't seem to find any information on implementing a custom (ie- I made it) ...
0
votes
1answer
1k views

Add Adsense code in index.php

My wordpress blog homepage has thumbnail gallery. I want add adsense image ad code to 5,10 place. Below code from my index <?php if (have_posts()) : while (have_posts()) : the_post(); ?> ...
3
votes
5answers
5k views

How to make a category page the blog home page?

I want to use a category page as the home page of my blog. Is that possible and how can I do it? It tried it with a .htacces rewrite rule but that didn't worked.
7
votes
3answers
290 views

Remove the Homepage Query

I have a homepage displaying the home.php template, containing 2 sidebars with widgets in them. The main query still pulls in the standard 10 posts, but since I'm not displaying these, I'd like to ...
3
votes
1answer
248 views

Authentication / login mechanism (non wp-admin)

I am developing a theme. I need to have a user login system, that allows users to see all contents of the application and interact with it only after they login (not admin panel login). I need to ...
1
vote
1answer
1k views

How to Set an Individual Homepage for Each User?

I would like to give my users the ability to customize the homepage of the site. For example, if somebody is not logged in only the default categories appear. Once someone creates an account and ...
0
votes
3answers
674 views

Use Single Blog Post as Site Front Page Without Redirect

I am attempting to do something similar to the accepted answer on this question Is it possible to use a single custom post as the site front page My problem is that this implementation causes a ...
2
votes
2answers
2k views

How to check if current static page is frontpage from admin plugin

I set static page as front page. I need to know if user currently on homepage in my custom plugin. Functions is_home() and is_front_page() doesn't works, since homepage is static page. I can get an ...
2
votes
2answers
5k views

Template file for static posts page does not get loaded?

I have this inside my posts page (set in the admin panel: Posts Page: Blog): blog.php <?php /** * Template Name: Blog * @package WordPress * @subpackage Prominent * @...
1
vote
2answers
2k views

is_front_page() not working

I'm trying to load a script from functions.php just when I'm on the front page. I set a static page called "home" in the reading options. The home page loads the front-page.php template correctly but ...
1
vote
1answer
3k views

How to get the original post_id of a static home page?

I can't figure out how to get the original post_id of a specific page if that page has been set as the static posts page of the blog. I have a page that normally has a post_id of 95, but as soon as I ...
1
vote
2answers
2k views

Optimal way to redirect home page to category archive?

Question What'd be an optimal way to redirect the home page of a WordPress site to a category archive without involving external factors (e.g. Apache's .htaccess) i.e. within WordPress? Why? (Only ...
0
votes
0answers
78 views

/Page2 shows the same posts as /Page1

My issue is that i use this plugin http://wordpress.org/plugins/page-layout-builder/ But when i on my frontpage, press on the 'page 2' button, it then shows page 2 but with the same posts as page 1/...
0
votes
1answer
364 views

Hide parts of the post content on the home page

I have a post that contains a video (or a slider) and some text. Is it possible to hide the text on the home page, but still display the rest? How would I do that?
0
votes
2answers
80 views

Pagination Not working on Home Page with 2 Query

I have two loops in home page (index.php) <?php $args = array( 'post_type' => 'post', 'posts_per_page' => 3, ); $another_query = new WP_Query($args); if( $...
0
votes
3answers
307 views

Random and Erroneous Wordpress Redirect

Would somebody mind postulating and possible reasons why their is an automated redirect on my homepage that adds /admin to the URL. Please visit www.divethegap.com/update. You will see that it ...
0
votes
1answer
496 views

get_post_meta fields don't show up on posts page

I'm new here, and to coding! I've been working hard (so, so hard...so hard) to create my website and with occasional help I've created a look and feel I like using some custom get_post_meta fields for ...