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

learn more… | top users | synonyms

1
vote
1answer
15 views

Include sticky posts on the static page front page

I have a static front page that lists out news. Right now, it ignores the stickiness of a post, and justs lists it. I want it to work the same way as my blog posts page does. I want it to list out all ...
0
votes
0answers
9 views

Two separate category blog excerpts on static front page

I currently have my main blog set up under a category and another category setup to give the illusion of two sep blogs on WP. The setup I'm trying to achieve is this. Front-page (static) -blog-...
-1
votes
1answer
21 views

Wordpress, how to figure out how to edit front page

I am currently using the Onepress theme and want to edit the header section, the part that prints the site title. However, I cannot for the love of life figure out which part actually controls the ...
0
votes
0answers
15 views

Custom pages missing on “front page” setting

I have a custom post type with 9 custom pages on WP 4.5. When I got to Settings -> Reading -> A static page -> front page dropdown, I see a list of all the standard wp pages plus at most 5 of my ...
0
votes
2answers
25 views

Display custom field from the front page on another page

so I am hoping to retrieve a custom field that is already displayed on the "front-page.php" template on an another page.php template of my website. I know how to do that with the post-id way, but what ...
0
votes
1answer
7 views

Wonderflux Framework Static Homepage

I recently started wp development and am trying to make a website on the Wonderflux framework. Currently, I set the homepage as a static page from the WP admin dashboard. Now I am currently editing ...
0
votes
1answer
18 views

How to show only the name of one category above each posts in frontpage?

I have set the frontpage in my Wordpress installation to show the latest posts. My theme supports the display of the meta category name above each post. Now the problem is each time I publish a new ...
2
votes
1answer
26 views

front end publishing not working on front-end page

I have a custom front end publishing form on my website, based on this article. It works perfectly when I put this code inside a page, but when on the front-end page (homepage), it doesn't work, and ...
0
votes
1answer
14 views

Page WYSWIG only allowing slides

How do I add other content to my homepage.It is only accepting image slider. I would like to add some raw html and a gallery below the slides.Removing all images in the slides doesnt reveal the normal ...
0
votes
1answer
29 views

Can I check who updated the static front page on WordPress and the time it was done

I need to check who updated the static front page of a WordPress site and the time it was done. Is it possible? And if so how? I'm an administrator of the site and there are other administrators with ...
0
votes
1answer
31 views

I can't enqueue Suggest.js in frontend - not added

my suggest.js is not being added in front-end. All scripts are correctly loaded but this one. I want to load it only on frontpage so: add_action('wp_enqueue_scripts', 'homescripts'); function ...
0
votes
2answers
33 views

Hard Coding Components on a Client Specific Websites

This is something I have been meaning to ask for a while to get some feedback. If you are creating theme template files for a client and you know what needs to go where e.g. buttons, logo, component ...
0
votes
1answer
34 views

How to set wp_options in functions.php for removeing the Default Front Page

I want to disable the default front page as I want to show always the first listed page in the frontend. Therefor I disable the Static Front Page. But I have also to set in wp_options the variables ...
0
votes
0answers
72 views

How to prevent duplicate sticky posts

I trying to make a homepage for my Wordpress bootstrap theme which shows the sticky posts in a separate section stretching from side to side and below that I intend to show only 10 posts from the '...
0
votes
0answers
34 views

Pagination on Front Page

I'm having an issue trying to get pagination to work on the homepage of a site I'm working on. The "Older" and "Newer" links show correctly, and it updates the url to reflect the page number but the ...
0
votes
1answer
78 views

How to set up Custom Post Type archive page as Front page

I've registered a custom post type named portfolio and have coded it's respective archive-portfolio.php file. Now, my requirement is to make this page available to be set as front page. For which I ...
-2
votes
1answer
40 views

Where can I decide the number of posts to display on the blog index page?

My blog posts index page (http://katievb.com/blog/) is showing only 1 blog post at a time; I want it to show more. I am currently using X Theme as my WordPress theme, but a similar problem happens ...
3
votes
1answer
60 views

Load front-page.php from subfolder

My front-page.php works fine in the WordPress root folder. But I would like to put it in the page-templates subfolder. How do I make it load from there?
1
vote
1answer
56 views

Pagination causes error 404 when used with front-page.php

I am creating front-page.php. This page will display the latest featureed posts, and will also have pagination option to go to the previous featured posts. I wrote the code for frontpage as follows $...
1
vote
3answers
49 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
141 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
97 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
50 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 ...
12
votes
1answer
2k 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
88 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
52 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
23 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
58 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
47 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
56 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
39 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
21 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
76 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
21 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
176 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
128 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 front-...
1
vote
1answer
55 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: $wp_customize-&...
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
83 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 ...
8
votes
2answers
285 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
106 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
37 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 categories....
0
votes
1answer
205 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
2answers
82 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
33 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
28 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
67 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
51 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 ...
1
vote
0answers
22 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 ...