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

learn more… | top users | synonyms

-3
votes
0answers
23 views

Multiple/different front-pages in one Wordpress site

Let me explain first the situation. I made a Wordpress site an a customized front page for one store, that gets a json statics from that store. Now we want to deploy for all our stores (+100) and ...
1
vote
3answers
35 views

Can we allow users to choose front page from theme options?

I know it's easy to choose Front Static page from settings>reading>front page. However, I am looking for a way to have this feature in theme options. Can we do this?
2
votes
2answers
58 views

How to set a custom post type post as static front page?

I am writing my custom theme from scratch and I have a custom post type 'my_frontpage' and want to declare one of it's posts as front-page. I want to do this via admin, hence simply add my cpt to the ...
1
vote
1answer
20 views

Displaying recent post excerpts on static front page

I'm trying to display a static front page with recent posts at the bottom. Specifically, I want to display just an excerpt from the recent posts, as would be returned by the_content() if I had a ...
0
votes
1answer
16 views

Static page for desktop or mobile

Can you automatically change to a static page if access to the site is via mobile device? Currently my homepage is static and use components that do not work properly with mobile devices but are are ...
6
votes
1answer
254 views

Using pre_get_posts on true pages and static front pages

I have done quite extensive research on how to use pre_get_posts on true pages and the static front pages, and it seems that there is no fool proof method. The best option I found to date was from a ...
1
vote
0answers
52 views

Pagination not Working on only Front page on latest verson of WordPress

My pagination is not working on front page for custom post type, its working properly when is not select for front page. My code in functions.php /** pagination **/ function fruit_pagination($pages ...
0
votes
0answers
37 views

WordPress prev next button in frontpage

Hi I have working pagination but if I'm using in static/frontpage prev and next button not showing or not working properly. If I add max num pages in next button it's showing but always going second ...
0
votes
0answers
20 views

Static front page is set correctly but not displayed

I set a static homepage, but it's not posting after I save and refresh the site. It was working once before, but I changed it back to the original theme homepage while I finished developing it. Is it ...
0
votes
1answer
32 views

index.php not loading in main folder of wordpress

I just installed [first time] WordPress 4.3.1, but I was facing the problem with it so I downgraded and installed 4.2.5 and facing same problem. Problem: index.php is not loading, I clicked on link ...
1
vote
1answer
36 views

How to target only the front page (not subsequent paginated pages) in theme/plugin?

I'd like to switch on the front page ONLY. Not subsequent paginated pages (like ?paged=2). I want to output certain output only on the "true" front page of the site. I've tried: <?php if ...
0
votes
0answers
41 views

strpos() expects parameter 1 to be string Error showing only in customizer

Whenever I go to customizer and from front page go to other pages(ex - right sidebar page), at the bottom of the page I get this error - Warning: strpos() expects parameter 1 to be string, object ...
0
votes
1answer
34 views

how to change single post link

I have made a website for a client which involves products tab in navigation. Products are the posts that being posted in "posts". I have a front-page.php which is static. posts are displayed in ...
0
votes
1answer
20 views

Showing “best posts” in front page

What is the best way to Show my "best 5 posts" in the front page of my site (www.example.com). The only way I have found to do this is by assigning a specific category to these post and show the ...
2
votes
1answer
54 views

Can you select a post as the front page or only pages?

Is it possible to select a post as the front page but show all the posts lists? Here's what I'm trying to do. I can easily create posts and I want to set one of them to be the posts page but when I ...
0
votes
1answer
17 views

Static front page has page url not site url

I have a custom post type being used as a static page. My site url redirects to www.mysite.com/slug/my-page-title but I want it to stay www.mysite.com
0
votes
1answer
68 views

How do I set the front page programmatically?

I need to allow my users to set the default page of the blog. So when someone visits, "www.example.com/blog/" the page they see is either the blog posts list or a specific page. It looks like I can ...
1
vote
1answer
69 views

Set a static front-page as a landing page programmatically

I am in process to create my first wordpress theme with underscores.me skeleton, the theme i would like to create its a business theme so when my theme is activated to land directly to a static ...
1
vote
1answer
23 views

Customizer Settings in Arrays

Good afternoon. I'm using the theme customizer to allow the user to select which pages to show the excerpt of on the front page. I've done this by using an array in the setting name: ...
0
votes
1answer
22 views

Pull in content from page defined as static front page

I am trying to pull in <?php the_content(); ?> for the page I have defined as the static front page in WordPress's back-end but can't figure out how to target it and pull it in.
0
votes
1answer
41 views

is_home and is_frontpage always true

I'm trying to limit the number of posts on the homepage but is_home() and is_frontpage() always seem to return true (even when I'm browsing /page/2/, /page/3/ and so on). I've basically duplicated ...
0
votes
0answers
28 views

Rewrite / Template Include Filter, assumes front-page?

I'm pulling in data from a 3rd party API for a project I am working on. I've filtered template_include to pull a template query var, which I pass through various add_rewrite_rules. My problem is ...
7
votes
2answers
237 views

is_front_page() malfunction?

I've a pretty basic problem that I'm surprised WP doesn't have a native solution for (unless I'm overlooking something, hopefully). I've a WP site with static page set as front page in reading ...
0
votes
0answers
83 views

Problem with pagination in custom loop on front page - no back link

I have certain problem: I have several queries on main page. When I call new WP_query on front Page (custom loop in main loop), make custom pagination, but it doest work in case if I want "Previous / ...
0
votes
1answer
34 views

Categories with post from child categories on front page

I am developing my first WordPress site and I am using the Customizr theme. I need to build a front page, that shows the latest posts from 2 categories - News and Events and all their child ...
0
votes
1answer
162 views

Prevent other versions of jquery from loading on static front page

This site is using cordillera which calls on /wp-includes/js/jquery/jquery.js?ver=1.11.2. The child theme contains a front-page.php which consists of: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
0
votes
0answers
58 views

Different wordpress menu showing in frontpage and blog page

When I select "Your latest posts" from "Front page displays" I want to show a custom menu which will show in blog,single,page and archive page. But when I select a static front page than it will show ...
0
votes
0answers
15 views

Losing Page Description on paginated static front page

I have a static front page with an image slider in the masthead and then products below. When the page loads with a url that is paginated 'www.mydomain.com/page2/' for some reason the markup for the ...
0
votes
2answers
64 views

Override static home page post

In functions.php is it possible to dynamically set the static home page? The condition could be anything, but for example by domain: if ( $_SERVER['HTTP_HOST'] == 'domain-one.com' ) ...
0
votes
1answer
32 views

Static front page - going against the grain

My theme uses front-page.php. That is currently my front page. I want the main website URL to go to a new custom page, and I want the old front-page.php to be functional. I've tried changing Reading ...
0
votes
0answers
26 views

Theme Load Error

For 2 days I'm struggling and hitting my head to find out the solution but no thing. The website isn't loading images on front-page and news-ticker not working at all. I tried to re-uploading the ...
2
votes
1answer
63 views

How can I make WordPress serve homepage to different URL?

I would like to set up a landing page and a homepage for my WordPress website. I am new to WordPress, but I am an experienced web developer. WordPress will only serve the homepage content if the URL ...
0
votes
0answers
35 views

Static front page and orderby

I have setup a Wp_Query on a page template that queries woocommerce products. When not set as the front page my orderby filtering works perfectly. However when trying to use orderby on a static front ...
0
votes
0answers
15 views

Is it possible to link two wordress sites (separate domains, different content) to one shared “front page”?

My business has a sister company (both run by the same people). Each business has its own WP site and domain. They want to create a front page which links to both sites. How would we do this?
1
vote
0answers
20 views

Host frontpage via example.com and everything else via example.com/blog

I've assigned a page as frontpage which will be available via example.com. All the other pages should be below the /blog. For example: Main-page: example.com All posts: example.com/blog Single Blog ...
0
votes
1answer
60 views

Post as frontpage - avoid duplicate content

On one of my WP sites I display a single post on the homepage. It's hard coded in the index.php like: If is home then show post with ID X But now I have the post's content on the homepage but ...
0
votes
1answer
31 views

Excluding front_page from is page condition

I am developing this theme, and their are features that I need them in all of the page except for the single and front page. So I've used this conditions If ( is_page() || is_home() ): ?> //My ...
4
votes
1answer
160 views

What is the correct method for determining 'is_front_page' when using filters such as 'pre_get_posts' and 'posts_where'?

On my site several filters should be applied if the user is viewing the static home page. My understanding is that is_front_page() should determine if that is indeed the case. However, whenever I ...
0
votes
0answers
92 views

How can I make Pagination Work on a WordPress Static Front Page

I have this pagination function I have been using on traditional post listing pages. But on my home page I have a section where I have post listings and I want to paginate them but it is not working. ...
1
vote
1answer
98 views

How to show only posts with images?

I want to hide posts without images on the front page, so I need get an array of ids of those posts. I know how hide posts on the home page by id, but I need to show only posts with images. This is ...
1
vote
0answers
159 views

Using add_rewrite_rule() to redirect to Front Page

I'm using a static page for my Front page. It is a custom template. On my custom template I am using WP_Query() to show a list of posts. I also have a custom taxonomy called "Types" that I use on my ...
0
votes
1answer
19 views

Why does my site show the correct front-page when you arrive at the site, but not when you click 'home'?

I have a website (derbyskillbuild.org.uk) and the 'home' button leads to a diffent page than the 'front-page': When you arrive at my website, it displays the correct front-page.php with the loop on ...
2
votes
2answers
77 views

How to prevent the default home rewrite to a static page

I'm looking for a way to prevent the default behaviour (when you have a static page set as the site homepage or 'frontpage' (in settings>reading>front page displays ); I want the domain.com/ ...
0
votes
1answer
141 views

Wordpress loop not working on static front page

I have a static wordpress front page. I want the code that works on my regular blog template to work on the homepage too. Currently, it only shows one post. The code in the main index.php is this... ...
0
votes
1answer
60 views

Show posts on front page only

I have a carousel that I want to be posted on the front page only but for some reason the code is not working. The conditional statement <?php if ( is_home() ) : ?> <div ...
0
votes
1answer
240 views

How to Display a Plugin function (content) on frontpage using index.php

Slightly Advanced Noob Alert: {Sorry}. I'm designing a WordPress Site {No Active Yet}. I have a plugin [feelbox], but currently it displays only on the single post page. There is no option in the ...
0
votes
1answer
44 views

Change Front Page Word Press 4.1

I simply want change which page is defined as the front page. It is currently my About Me page; I want it to be the page called Home. Thanks.
0
votes
1answer
55 views

Confused by the behaviour of “front page” / “home” templates

I stumbled upon a confusing issue while trying to customize the appearance of the front page of my blog (blog.example.com) without changing the behaviour of the other blog posts index pages ...
0
votes
1answer
200 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
1answer
99 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' => ...