Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [frontpage]

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

0
votes
1answer
21 views

Change css padding on home page [on hold]

I was trying to change the margins on post pages, so I added this code, which worked @media screen and (min-width: 767px) { p { font-size: 21px; padding-right: 20%; padding-bottom: 10px; padding-left:...
0
votes
1answer
10 views

change header height on 2017 theme for logged in users

When a guest sees the homepage they see the (almost) full height picture which is quite nice I think. However, when a user logs in I'd like them to be redirected to the home page but with a much ...
0
votes
0answers
4 views

Echo Hestia Frontpage sections on other pages

I am using Wordpress theme Hestia. This theme allows me to use some pre designed frontpage sections to design my homepage, also does the Orbit fox plugin add some extra sections to home oage all of ...
0
votes
1answer
22 views

Make pagination work as a carousel (custom query)

I'm using a custom query on my static front page in order to show my posts, but I would like my pagination to work kinda like a carousel (instead of loading an entire new url). So, basically I want ...
0
votes
0answers
14 views

home page doesnt appear

i installed Wordpress on a sub domain of this site which i am working on, but after installing it i logged in at wp-admin and then went to themes.php where i just went the default themes that are ...
0
votes
2answers
25 views

'Nothing found' on home page after custom CSS edit

I did a small adjustment in the 'custom css' in my theme settings, and now I broke my theme. Whenever I select a page as the home page, it says 'Nothing found'. Whenever I visit a page thats not a ...
1
vote
2answers
76 views

Why wordpress kicks me back to the dashboard of xampp? [closed]

Somehow when I was working with my local dev environment, I have made some mistakes in some php files which I could not figure it out. So, I have decided to copy the files from the public_html and ...
-1
votes
1answer
34 views

How i can customize WordPress front page in WP dashboard editor?

Although there are many questions related to front end editing, still none of them provided me some way to deal up with customizing WordPress front page using WordPress dashboard editor. I'll be glad ...
1
vote
0answers
25 views

Is it possible for homepage in Twentyseventeen theme to look like a standard page?

I'm using the Twentyseventeen theme and I would like the home page to be a regular page, rather than the default style for the theme, which is a very large image and an arrow down to allow you to get ...
0
votes
1answer
26 views

How do I put my frontpage featured image in a page template for home.php?

Important: I want to makes sure this is clear: I am not asking how to get the post thumbnail. I am asking how to get the featured image for single page which is created through the Gutenberg editor ...
0
votes
2answers
99 views

How to display only sticky posts on my automatically generated front page?

I want to display only the sticky posts on my front page. Right now it's possible to do a setting where the sticky posts are displayed at the top followed by the rest of the posts. I don't want to ...
0
votes
2answers
41 views

All Pages visible on the Frontpage

I use the Theme Twenty Seventeen in WordPress to create my website. Here all pages are one below the other seen on the frontpage. Now I added a new page, but this is not listed on the frontpage. I can ...
1
vote
1answer
128 views

Add rewrite rule to call front-page.php?

I am trying to create a multilanguage website. And I have set my home page to a static page in my WP admin area. This home page ID is 2 and it calls front-page.php template when I am on the home page ...
2
votes
1answer
39 views

How to block access to blog-page for users not logged in?

My blogpage [is_home()] is located at /blog. My static page [is_frontpage()] is not the blogpage and located to /about-us. For users not logged in, the startpage is the static page. For users logged ...
2
votes
2answers
53 views

How do I make my single-work page show on my front-page.php?

How do I make my single-work page show on my front-page.php? So I want to show my work page on the homepage. For example, my work page link is www.example.com/work but I want to show the work page in ...
0
votes
1answer
34 views

Image is missing on site homepage

I opened a new site. But my site's home page picture is not seen? It is said that the picture can be seen in the opening of the post. Why do not I install the theme. Which one does not come to the ...
1
vote
1answer
45 views

Set front page as static page [closed]

I am new to WP. I have installed WP in my local system with WAMP and trying to create my own theme. I have created pages and trying to set my "Home" page as front page and "Blogs" page as my posts ...
0
votes
0answers
436 views

After update Woocommerce shop page not showing products

I have assigned shop page as my Static front page from "Settings > Reading" and it working fine. But yesterday I have update WooCommerce Plugin to new version and after that my home page not ...
0
votes
0answers
22 views

Post not showing in the front page

I can see the latest post when I'm logged in to my WordPress account (visit site). But when I'm reaching my site with other browser or other devices, the latest post is not showing here.
0
votes
1answer
268 views

List posts of custom post type under category name

I want to display category name as a collapsible headers and inside the collapsible body I want to display post titles linking back to original post. I am using custom post type 'University' and ...
0
votes
1answer
21 views

How to detect if some page template has been selected

I'm wondering if, in the static front page, is possible to detect if the some page template has been selected for my page. I'm building a template and I'd like to have a static front page, but I'd ...
0
votes
0answers
10 views

Copying how posts are displayed on the homepage

Is it possible to copy how the latest posts are displayed in the homepage in a wordpress theme to a custom created page? Im trying to add a search bar above the post but since the theme doesnt have a ...
0
votes
1answer
944 views

Can't see widget areas in my customizer

I've registered 7 Sidebars in my template, I can see them correctly in the Apparence > Widget panel and my front-end, but I can't see them in the Theme Customize, when I click on my Widget section I ...
1
vote
1answer
50 views

How to display 3 different loops in 3 columns on homepage

I've been doing some searching on this topic but so far nothing I've found really answers my question. I know there are a few ways to go about this, but I'm looking for the method that's going to be ...
-4
votes
4answers
1k views

Wordpress Site says Front Page is 404 When Not Login

I have a Wordpress site, I have the Front Page settings right in the Reading settings, but when I goto my Wordpress site and I am not login, I get a 404 error and my page looks messed up. When I am ...
0
votes
1answer
23 views

What is the need for the static front page [closed]

I've recently asked a question about front-page.php and home.php usage (How to setup front-page.php and home.php) and thought it will clear things out, but instead I realized(while testing/playing ...
0
votes
1answer
26 views

How to connect front-page.php to page in admin panel?

I need to make static front page of the site. I created file front-page.php and now my site first of all loads front-page.php as I needed, but how I can connect front-page.php to for example "Home" ...
0
votes
1answer
20 views

Can I have two websites with one front page

I have two businesses with two different domains but I would like to have one front page where visitors can click on a link to either website. Is this possible, if so how? I thought I would be able to ...
0
votes
1answer
31 views

What code controls the animation for the front-page header in TwentySeventeen

I'm struggling in finding the code that initiates the animation process for the header front page of Twentyseventeen. I would like to see it. All I know is that when the animation is over, it adds ...
0
votes
0answers
107 views

How to echo site url if not on index.php while using anchor based nav

I've been attempting to hack together a single page Wordpress theme. So far I've had success in displaying the page loop for content and nav, and I've used JQuery page-scroll to animate the navigation ...
1
vote
1answer
37 views

if I create 'front-page.php', then how do I link to post index?

I want to have a custom front page and a blog page. So I created the front-page.php file, which will include my custom markup. I don't want to have blog post index on my front page, so I created home....
0
votes
1answer
30 views

Reusing content from front page on sub page

I am trying to reuse content from my static front page in a different page template. But because my front page is static, I can not call it by page name. Is it possible to call the front page another ...
0
votes
1answer
81 views

Front page showing ACF only once, is that solvable to show the ACF per post? [closed]

Im creating a new website, and each of my blog posts have a few ACFs. I don't want the post to be clickable so I it will be the front page only. My AFC work perfectly, but although I have 2 blog posts,...
0
votes
1answer
1k views

My custom template page not loading content inside it?

I want to create my own wordpress theme for that I have my own HTML template, I want to convert this HTML template to a wordpress theme So, I copied built-in wordpress theme "twentyseventeen" and I ...
1
vote
1answer
47 views

Loop first six posts in carousel, next eight in grid

The front page needs to have the first six posts in a carousel and then the next eight in a grid. What's the best practice for looping through that kind of design? I'm currently using "get_posts" to ...
0
votes
1answer
45 views

Category posts show on local install, they do not show on live server

Puzzled to see posts in category are showing on local XAMPP server, however they do not show on the live server. Here is the code to display the category posts. It is a really simple one pager ...
0
votes
1answer
39 views

Category and Posts in front page

i would like to make a front page with the category name and under every post of the category.The code that i have tried is: $categories_list = get_the_category_list( esc_html__( ', ', ' ' ) ); if ( $...
0
votes
1answer
986 views

AMP version of front page without plugin

The below code is working for all pages and posts but it is not working for front page anybody helps me. e.g HTML version www.example.com and AMP version www.example.com/amp How to include amp ...
1
vote
1answer
434 views

`post_type` => `any` not giving me my custom post

I'm using Roots Bedrock + Sage 9 Beta 3. I've created a custom post of type lp that I want to set as my homepage. Here is the code I'm using: function cptui_register_my_cpts_lp() { /** * ...
0
votes
3answers
38 views

plugin content on front-page only. Nowhere else

With a plugin I'm trying to develop, I'm trying to place some content on the front-page of the website after the header. In my plugin PHP file I have this (I've cut the html content out to save space)...
0
votes
1answer
24 views

I want to load a pre-built php page (and assocated scripts/styles/directories) as the front page. How do I go about this?

I've pre-built a front page for WordPress using PHP, JS, CSS and resources found in other files. The whole page setup is 23 files (1 .php, 1 .js, 2 .css, 2 .otf, 17 .svg/.png/.gif) and 2 folders. ...
0
votes
1answer
27 views

What is the best way to build home pages with a lot of sections for distributable themes [closed]

I want to develop high quality themes by taking in to account all the important things like usability, accessibility. I just want my theme to be "perfect". Here is my dilemma. So, what is best way ...
0
votes
2answers
66 views

Letting wordpress decide what template and page to use based on condition

I am really not sure how / what to ask, but ill try my best... Can I some how tell Wordpress (in the index.php file maybe): If A Then load page Y with his matching template (which you always know so ...
2
votes
1answer
120 views

Set Default Page On Customizer Live Preview

I have wordpress site and set login page as static front page. If I go to theme customizer exactly it will use front page to show site live preview. How to change page live preview to another page? In ...
0
votes
1answer
300 views

Last single full post in home page, excerpts in blog list

What would be the best approach to show only the very last single full post in the home page and in blog page the full (paged) list of blogs showing only its excerpts? I'm thinking of 2 different ...
0
votes
1answer
102 views

Gravity Forms Anchor only on Front Page?

I have a front page that is pretty long length-wise so I have enabled add_filter("gform_confirmation_anchor", create_function("","return true;")); in my functions.php file. This helps the Gravity Form ...
0
votes
1answer
2k views

How to call posts under a specific category on static front page?

I want to show posts according to categories on the static front page (home page) only. Any suggestions. can I show the contents from function.php or which file is responsible for the static front ...
1
vote
1answer
843 views

How to display the posts and news in front page?

I'm trying to display the two recent posts in a bloc I created in a front page of my website. index.html: <div id="blog"> <h1> Post title 1 </h1> <p> Description </p> &...
0
votes
1answer
3k views

Home link in the homepage of my wordpress does not show my blog posts

I want the home link at the top of my theme in word press to display all the posts i have written so far but when clicking on it the page shows nothing. I have already tried changing the settings as ...
0
votes
0answers
277 views

Paginated Post List on Front Page

I am trying to get a list of posts on the front page of thereimers.co to have pagination. I am convinced that the code was working when I first launched the site but after checking back a few months ...