The home page of a site. Could either contain the blog index, or a static page.

learn more… | top users | synonyms

2
votes
1answer
322 views

is_home() in HTML head

Is there a way to check if the current page is the home page from within the head? My style.php needs the number of posts in the slider, but only on the home page. So I count my posts like this: ...
0
votes
2answers
12 views

Different Front page for Mobile

I want to make a different front-page and show it to the mobile user, instead of the one used on desktop. In detail, right now we have set our site to show desktop-front-page to user, when he lands ...
0
votes
2answers
23 views

upload image only

I create post page from front end , and i add code for uplaod feature image. I use this code if (!function_exists('wp_generate_attachment_metadata')){ require_once(ABSPATH . ...
2
votes
0answers
50 views

Reading Settings -> Front Page displays “Static Page” being reset

Every day my WordPress blog is going from a static page, back to "your latest posts". I am not setting this setting, something is doing this automatically! Any ideas what to check for? Is there any ...
0
votes
2answers
32 views

Trouble Retrieving Thumbnail URL on Front-Page

I'm running multiple queries on a front-page.php file. They all seem to be working fine, except that I am having a hard time getting a thumbnail image. The code in question, on my front-page, ...
0
votes
0answers
24 views

Put an audio plugin on the frontpage [on hold]

This is the page I am designing: http://leona-anderson.com/ I do not have a site on the frontpage, I show the newest blog posts. Now what I want to do is, put some Audio Player Plugin on the front ...
4
votes
3answers
860 views

Category page doesn't use category.php, instead it redirects to homepage

I am currently modifying a theme. This theme doesn't had a category.php I needed a custom category page. So, I made one. It works on my local server, but when I uploaded it to a real server, this page ...
0
votes
1answer
30 views

Loop doesn't display posts. It displays a link to the home page instead

I’m building a WP theme using Bootstrap. Aparently, all templates were working fine until I tried to display a list of recent post on the front page. Basically, the loop it’s not displaying posts (it ...
1
vote
2answers
387 views

Can I hide a specific post from latest posts page?

Let's say that I have a post that I only want to be shown in the page of the category that it belongs to. The problem is that this post is also visible in the latest posts page. Is there a way to ...
0
votes
1answer
25 views

Use page.php for front page

For some reason even when I am selecting a static page for my homepage it is still choosing to load the index.php file. I would really appreciate your help on this as I would like it to load my own ...
1
vote
1answer
29 views

Setting a static home page and blog page without using the settings

This may seem like a stupid question, and it probably isn't possible, but is it possible for me to set a static home page (using front-page.php) and a blog page (using home.php, I think) in my theme, ...
0
votes
1answer
24 views

Create a front page template and separate page for posts?

I'm building a WordPress theme. I need two type of pages, one is home page which will display on www.example.com. I also need a list of all my posts on www.example.com/blog/, but I need both in one ...
0
votes
2answers
53 views

How to create a custom Wordpress front page

I want to create a custom front page for a Wordpress site, which will have an image, some text, an embedded login form, and a metaslider slider, and nothing else (no menu, no sidebar, no footer). ...
0
votes
0answers
19 views

Page appearing two times in the frontpage? How do I completely remove that page from the frontpage?

I have this Wordpress website I'm working on as third party. I have to give this Wordpress its final touch. There is a Page named Impressum and it's appearing two times in the frontpage, I need to ...
0
votes
1answer
39 views

Problem with Front-Page.php loading recent posts

Hi I this weird problem where i have my custom front-page.php with set page (in Reading Settings) static page. What I want to have is a static page with welcoming message and later 1 recent posts ...
1
vote
2answers
55 views

Ways to have multiple front-page.php templates that can be swapped out?

I essentially want to create several different front-page.php templates with different loops and layouts and then present an option in the admin panel to select one template on one day and a different ...
14
votes
2answers
7k 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 ...
1
vote
4answers
68 views

Create static front-page with 3-5 recent posts

I am struggling with front/landing page customization for my custom designed theme. I have designed custom theme and pretty much coded it using the Underscore boilerplate. As I understands, the ...
0
votes
1answer
21 views

Font Page overrides rewrites

I have a custom rewrite as follows So /shares points to a page I created with a slug images which uses a custom query variable named h626_page. My problem is I want to set the images page as ...
0
votes
1answer
2k views

Display post details by post ID

I need to display post details by ID on front page template (front-page.php). On the front page I want to display the post’s title, excerpt & featured image. I have tried to do that but no idea ...
0
votes
1answer
41 views

3 x 3 grid of posts on the home page

I'm using Wordpress as more CMS than blog, and I want to create a theme that uses 9 specific posts on the home page. I don't want those posts to show up in other lists. I don't want other posts to ...
0
votes
3answers
26 views

ID of Front-Page

I like to get the ID of the selected front page. My page uses an Template for that page. I've read about get_option('page_on_front'), but this didn't work for me. Is there any function to get this ...
0
votes
0answers
17 views

External Page Displaying Properties of [If (Home Page)]

I have a slider set to display only on the homepage with <?php if( is_front_page() ) : ?> This works properly for all pages, except my landing pages that have get_header. Does anyone know how ...
1
vote
2answers
40 views

How to display summary content from a Page (Not a Post) on another page

I created a Page called "About Joe" as a page in WordPress. Then on a different page (e.g. the homepage), I wish to display a summary which includes: a thumbnail the 1st paragraph link to page ...
-2
votes
1answer
94 views

Index showing source code

Suddenly the wordpress showing the source code when I click the url address, and I get this The code is just the site offline plugin i have so i can set the site offline So the problem is that ...
0
votes
1answer
31 views

When Front page and Posts page are specified is it possible to just have front-page.php as the home page?

Right now I have a Front page and a Posts page specified in dashboard. The Front page is a page called "home" using a page-home.php template. However I don't want to have to create a WP page for the ...
0
votes
1answer
141 views

Problem with custom page template and permalink

I created custom page template for news template_news.php with name template name: news and i created a page and configured for that page also i set permalink to /news/%postname% also i set ...
1
vote
1answer
56 views

How to get the post content from a category on my homepage

I'm trying to get posts with a specific category to show in a box on my home page. But ive only been able to get one post on my homepage. How can I make this work in the code below? With getting the ...
1
vote
2answers
368 views

wordpress Static Page pagination

Im Using a post query in wordpress BUT the Pagination is not working, i don't know whats the problem BUT here is my code and i guess it's correct and no problem with it it shows that there is pages ...
1
vote
0answers
40 views

WordPress site front page fails to load in IE

Disclaimer: I'm a front-end guy dabbling in back-end work. I have WordPress serving up a company Intranet site on a CentOS VM in a multiple vhost setup (LAMP). It resides at ...
0
votes
1answer
71 views

Performing a POST action on homepage goes to posts page

On every page of my site I got a contact form that will send an email to the respective address. On this site also I've set the front page display to a static page. The contact form will basically ...
3
votes
4answers
624 views

Facebook comments box on front page

I have a WordPress 3.5.1 installation on my WordPress Shack, with the Facebook plugin 1.3.1 installed and the TwentyTwelve 1.1 theme. I have the settings on Facebook - Comments box so that I display ...
0
votes
1answer
513 views

How can I create a “Read More” link using the_excerpt() on a static front page?

I'm working on a website that uses a static front page. It also shows the single most recent blog post. This was achieved by creating a page and using a custom page template. Sometimes, the blog post ...
0
votes
0answers
51 views

Splash screen in htaccess, now links are not working

I wanted to use an already made html page for my wp site in root. Didnt want to move all wp inside a folder so I used the answer here using htaccess. Problem is, now if I write /wp-admin I got to the ...
1
vote
1answer
25 views

Preventing frontpage to be deleted/moved to trash

I want to prevent my frontpage to be deleted/moved to trash using this: add_action( 'wp_trash_post', 'tcb_page_delete_check' ); add_action( 'before_delete_post', 'tcb_page_delete_check' ); ...
0
votes
1answer
105 views

adsense code showing on random post thumb

I've followed the guide below, but have made a few edits to it and now i need some help: Add Adsense code in index.php I removed the following line from my code if ( ! is_front_page() ) return; and ...
0
votes
2answers
198 views

Can I have both front-page.php and index.php?

I've made a custom front-page.php which includes "the loop" and it works great. I would also like to have a separate page which is the regular old posts page you get from index.php. How do I make a ...
0
votes
2answers
238 views

NON Static-Front Page

There is lot of documentation on how to have a static front-page in wordpress. I need to have a dynamic front page, in particular a group from buddy press. The link is ...
2
votes
1answer
205 views

Pagination is somewhat working on frontpage, doesn't update when “prev” is clicked

I followed the very simple tutorial that's on this page: http://wp.tutsplus.com/tutorials/wordpress-pagination-a-primer/ (Scroll down to "A Better Solution") - He makes it seem so simple, and it works ...
0
votes
0answers
84 views

6 Recent post on front page with either featured image or content image

In my frontpage.php i want 6 recent blogs with either featured image or the first content image, and if these are not available then i don't want to show that particular post. But i am not getting the ...
0
votes
1answer
40 views

URL of blog when using index.php as blog and front-page.php as homepage

I am building a theme and I am using front-page.php for an individuall homepage and index.php (or home.php) for the blog. What is the URL of the blog / how its possible to define the URL of the blog? ...
0
votes
1answer
27 views

How do I reference the front page's parent Page object?

I have created a "News" Page and have switched my posts-page to that Page. Now Posts show up under that Page, as desired. The problem is I'm trying to access the core Page to pull out some ...
0
votes
1answer
124 views

Fix Pagination Directory on a page set as Front Page/Main Page [duplicate]

I have a page named "calientes" with a complex loop that's working perfectly. This page is located at domain.com/calientes/. Now I need to use this page as the home page, so I went to "Settings -> ...
0
votes
0answers
61 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 ...
0
votes
1answer
53 views

How to create single page site in WordPress

I have total 5 pages on my website, I want to display all pages as single page. It is possible? Example: http://yaremchuk.ru
0
votes
0answers
53 views

Show post when both categories are present but not one of them

I'm having issue filtering posts by category. There is the A category for posts (which is the default and also applies when no category has been set explicitly) and B category with subcategories for ...
0
votes
1answer
133 views

Reverse ordered pagination on home page

Use on the blog reverse pagination. The question arose. How to make a home page is not the first? Need to break the link Home = First page and make a connection Home = Last page. Home should be the ...
0
votes
1answer
61 views

How to remove/replace current page template?

I am writing a plug-in that creates new front/home page from scratch. Below code works nice and it outputs the text before the themes outputs anything. So the question is how can I remove the theme ...
0
votes
1answer
749 views

How to create custom home page via plugin?

I want to code a plug-in that creates new custom home page. Note that I have never coded any plug-in before. 1) After activation of plug-in user needs to go to the options of the plug-in and set up ...
1
vote
1answer
257 views

Arrange posts by date in front page

I have code to show the 5 last posts from every category on the front page. However, at the moment they are ordered category by category. Is it possible to order them by post date, but still have 5 ...