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

learn more… | top users | synonyms

1
vote
1answer
24 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
votes
0answers
13 views

Woocommerce banner not showing [on hold]

I am a new user of WordPress and probably my question will sound a little silly but any help will be greatly appreciated. So I have installed WordPress under Godaddy hosting and after that I have ...
1
vote
0answers
25 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
31 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 ...
0
votes
1answer
57 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
31 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
19 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
54 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
70 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 ...
1
vote
2answers
102 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 ...
0
votes
0answers
61 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
21 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
20 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
74 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
49 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
44 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
48 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
85 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
57 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
416 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 ...
4
votes
1answer
254 views

How do I show sticky posts on a static front page that also contains content?

In my theme, I'm using front-page.php for the static front page. I'm also using a page to store the content on the static front page. The front-page.php file is set up to show the content from that ...
0
votes
1answer
76 views

Setting Custom Wordpress “Posts page” AS “Front page”

While I don’t necessarily wish to establish a "STATIC" Front page, I would like to employ a custom page as BOTH my "Posts page" and my "Front page". I’ve created a PAGE titled "Teaching Kids To…" ...
0
votes
0answers
43 views

Custom post type archive as home page: getting navigation to recognize the modified query

I have modified the query of the home page to call a custom post archive by the method explained here. What I can't figure out is how to get the navigation to recognize this new query and add the ...
0
votes
1answer
80 views

How to best include widget area just on homepage?

I have a front-page.php defining the homepage of my theme (a Genesis child theme). In it, I have some custom widget areas, like so: genesis_register_sidebar( array( 'id' => 'cta', ...
1
vote
1answer
88 views

How to show taxonomy meta on frontpage?

For a website I am developing I have come across the following challenge. I have made a custom taxonomy "blog" (associated with both the Post-post_type and the User-object_type). With the taxonomy ...
0
votes
2answers
103 views

Set static page as default front page on newly created sites in multisite

How to set a Static page (example Sample Page with every WordPress install) as default fron page for every newly created site on multisite network. I mean when a new user creates a site on my ...
0
votes
1answer
58 views

Using page template as Static Front Page

I've created a page named "homepage", set the page as front page from Reading > Static Page > Front page and it's nearly working fine. The issue I'm having the blog posts aren't included into ...
0
votes
1answer
45 views

One post on frontpage and an archive page

I'm developing a theme using the underscores starter theme and I'd like to have a frontpage with just the last post and pagination, and then a separate page, with the "archive" slug, to show all posts ...
0
votes
1answer
91 views

Display selected parts from selected pages on the frontpage?

I'm build a site for my company and want to display four (of my choise) of our special deals on our frontpage. A special deal is a page. I want to grab: Featured Image Page Title Price (taking from ...
0
votes
1answer
162 views

front-page.php stylesheet

I've googled and googled but I can't seem to find out anything that's understandable to me... I want to have a static front page for my website, to this end I have created a front-page.php file in ...
0
votes
1answer
209 views

How to set a static html front page

I'm trying to set a wordpress static HTML front page, which doesn't seem trivial. I tried three approaches: 1) add a index.html, and rename index.php to blog.php. Change the permalink into custom: ...
0
votes
0answers
28 views

The concept of non-blog content

I'm fairly new to this wordpress stuff and wrapped my head around the blogging part. Now it comes to the non-blog part of a webpage. I understood the principle of creating static pages and displaying ...
0
votes
0answers
36 views

home.php and the first page of the archive

I have a home.php template file in our Wordpress blog that displays a special first page as the front page of our blog (Short post excerpts, posts from categories, photos, etc, etc). Now I want to ...
0
votes
1answer
152 views

Exclude all sticky posts front page twenty twelve

I am attempting to exclude all sticky posts from my front page in twenty twelve theme. I have attempted the following. I am making all changes to the child theme. To remove the following code from ...
0
votes
1answer
48 views

Conditional menu display

I have the line of code below with the intention to display the called menu in every other page except the home page but it still shows up on the home page. Any ideas what the problem could be. ...
0
votes
1answer
116 views

pages won't show on front page using loop or pre_get_posts

I changed up my theme to work what I think is the "proper" way. After reading in the codex and seeing things on this site. I started from scratch. loaded the 2012 theme. Made two pages. Home and ...
2
votes
1answer
334 views

Programmatically set page_on_front

I am trying to programmatically set the 'page_on_front' option with the id value retrieved from the get_page_by_title command... $homepage = get_page_by_title( 'Front Page' ); ...
1
vote
2answers
324 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 ...
0
votes
2answers
259 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
2answers
982 views

Static page homepage not showing the_content

I must be doing something wrong here. I setup my site with a static front page using front-page.php. I created a page in the admin with a title and chose the front-page.php in the template dropdown. ...
3
votes
4answers
537 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 ...
2
votes
1answer
20 views

Output shows a page instead of a list of blog postings

I have the below code in front-page.php (with that page set in Settings > Reading); however, something is wrong because the posts aren't showing. The output is shown below. Can someone identify what ...
0
votes
1answer
49 views

Why: sticky front page code, shows latest non-sticky on logged-in front page

I have this code to display only the latest sticky post on the front page. the strange thing is that, when I'm logged-in it shows non-sticky latest post, even if it's private... <?php ...
1
vote
3answers
72 views

Do I need an empty page for a different blog page?

Okay, let's say I have a website with the following navigation: HOME - ABOUT - PRODUCT - NEWS - CONTACT The 'about' and 'contact' page are just simple pages of course. The 'product' page is just an ...
1
vote
1answer
251 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: ...
1
vote
0answers
112 views

Pagination w/Static Front Page

I'm trying to add pagination to my frontpage. It's currently set to Settings --> Reading --> Static Page --> Frontpage: home I'm using a custom template for the homepage. I have my ...
0
votes
1answer
629 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(); ?> ...
-1
votes
1answer
55 views

How to access the so called “Posts page”

This might be a dumb question - I'm sorry for that but: If I decide to alter "Reading Settings" and choose a front page for home I can define a "Static Page" and a "Posts Page". "Static Page" ain't ...
0
votes
1answer
285 views

Custom URL for all posts in Wordpress

I have a wordpress site with static page as the front page. I want to have /blog to display the recent posts. How can I do that? thanks.
0
votes
1answer
319 views

Create a frontpage.php and static page template

I am a little confused. Reading settings : 1) Front page -> Home -> Frontpage.php 2) Posts page -> News -> pages_news.php [this is custom page template :Pages Custom news ] From Pages: 3) Pages -> ...