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

learn more… | top users | synonyms

0
votes
1answer
40 views

New WP_Query not isolating custom post types on front-page template

This is the code for my front-page.php template <?php add_filter( 'genesis_markup_site-inner_output', '__return_false' ); add_filter( 'genesis_markup_content_output', '__return_false' ); ...
0
votes
0answers
13 views

How to get sticky-posts on front-page working with category query

Im using the front-page.php to display some static content as well as my 5 latest posts in the category "Forsiden" (Frontpage). But the "sticky" post option, is ignored when categorising the posts on ...
0
votes
1answer
35 views

Frontpage pagination by week

I'm trying to set up a frontpage with all the post from the current week. Well this was quiet "easy" (the query snippet): $query_string = array( 'post_type' => 'post', 'date_query' => ...
1
vote
1answer
44 views

Paginated pages are showing correct content but pagination links are not

I am using a custom WP_Query to display posts on static front page. and generating numbered pagination links with paginate_links functions. This is the code I have... $latest_args = array( ...
0
votes
0answers
22 views

how to pull content from subpages only(not the parent page) to the front page

I want to pull content from from subpages of a specific page.But its pulling content from parent page also i don't want to pull content from the parent just from the subpages of that specific page ...
0
votes
0answers
23 views

Wp pagination link at front page with custom post url get rewritten

I am facing a typical problem. I am using a custom template as my front page and.And there I am displaying the custom posts with a custom pagination function and loop. Now the problem is that my loop ...
1
vote
1answer
69 views

Trying to exclude first 5 posts from the first page on the homepage

I'm trying to exclude the first 5 posts from the first page on the homepage, but I'm unable to get it right. This is the patern that I'd like to follow: Page 1: Post 5, Post 6, Post 7, Post 8, Post ...
0
votes
2answers
48 views

Show all posts on a twentythirteen multisite

I'm using the default twentythirteen on a wordpress 4.0 site. I have one site in the network right now. I may be adding one or two next year or so. Both blogs are using twentythirteen. Right now the ...
0
votes
2answers
28 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
52 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 . ...
0
votes
2answers
44 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
1answer
39 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 ...
2
votes
0answers
67 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
1answer
27 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 ...
0
votes
1answer
42 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 ...
1
vote
1answer
56 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
2answers
66 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
72 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
99 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 ...
1
vote
4answers
96 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
46 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
29 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
20 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
43 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
137 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
34 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 ...
1
vote
1answer
62 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
0answers
46 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
92 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
881 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
58 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
26 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
112 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
349 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
425 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
87 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
49 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
30 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
147 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
65 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
55 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
54 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
153 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
857 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
707 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
90 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
1answer
90 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', ...