Questions tagged [frontpage]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
23 views

How to wrap image logo in Homepage with H1 tag

Wrapping logo/image in homepage with H1 tag getting more popular today. Question: a) How to do it for a wordpress base website? b) What's code (php or other) and where to put it c) Any plugin to do ...
0
votes
1answer
18 views

Homepage not working after setting as frontpage

I have searched for lot of stuff but could not get any help. I am new to WP. I am working with the ‘DremeTheme – the7’ theme for the past 4 weeks. I have had set the front page since the beginning, ...
0
votes
1answer
68 views

My WP homepage works, but the other pages don't when accessing from out side of my network

So, I host my WordPress website on my PC. 192.168.1.5:25566 (port forward). On my LAN, I can access homepage and other pages on the site. But from outside the LAN, I can access homepage but cannot ...
0
votes
0answers
20 views

Wierd 301 redirect from the homepage to the author url

There are countless of cases on the net where author pages redirect to the homepage (due to plugins and whatnot), but I couldn't find a one where the opposite is the case. Namely, there's this weird, ...
0
votes
1answer
18 views

Hiding New Posts on Front Page

I’m using the following code to hide certain posts by post ID on the front page (on https://michaelkummer.com/technology/howto-hide-posts-pages-in-wordpress/ and on the WordPress Developer Resource ...
0
votes
0answers
11 views

place to add the_post_thumbnail for homepage for news-pro child theme

Disclaimer: new to php & wordpress Been puzzled for a few weeks now how news-pro child theme creates homepage so i'm just hoping to get some pointers here because I can't seem to find the correct ...
0
votes
0answers
13 views

cUrl result: Tell if the result is a single post or a blog roll of latest posts?

If I cUrl a remote WordPress site, and I'm looking at the HTML response... What is the canonical method to determine if I'm looking at a blog roll, or a single post? My guess: I don't think there is ...
0
votes
1answer
27 views

Wordpress website working fine on localhost but not displaying front pages on webhost

The website works perfect on my localhost. I used duplicator plugin to upload it on my web-host. Database connections are established since mywebsite.com/wp-admin works perfect. I can login the ...
1
vote
0answers
74 views

style.css doesn't load on the home page when front-page.php activated (using stock theme)

I promise you I'm not wasting your time with this problem. I have searched through StackExchange for almost 4 hours in the last few days, and even though there are questions with similar titles, I ...
0
votes
3answers
105 views

Make WooCommerce product categories only show images on homepage

I am trying to set up my site so that my WooCommerce product categories only show images on my home page. Currently I have this: <?php function fp_categories() { if( is_front_page() ) { ...
0
votes
0answers
34 views

How to make the videos in loop and auto play

I am trying to make all front-page videos in loop and autoplay I am using divi theme, I know it will be done by adding loop and autoplay tags in the video tag but how to do it where is that module ...
0
votes
1answer
53 views

No posts on front page

I've already looked for the way to solve my problem but never found any. The problem: No posts show on my frontpage. I have these settings: Settings > Reading > Your homepage displays > A static ...
1
vote
2answers
144 views

Disable front-page.php template

I use front-page.php on my template to display home page. But I want to disable if the user uses another page for the home page from settings. Is there a solution? When user select a page from ...
0
votes
0answers
14 views

Homepage rewrite rule

I'm trying to display a product tag archive page (WooCommerce) as my basic-main-root domain (mydomain.com). It can be done with the 'shop' page (via WordPress front-page settings) - which is the same ...
1
vote
1answer
13 views

Changed site URL and now my Front Page doesn't display correctly

This wp site is a redesign of an old non wp site. I have made the site on the same server, but in a different directory named /nou until it was ready. everything was fine until I copied the site in ...
0
votes
2answers
132 views

How do I activate a certain block template only when editing the front page?

I've chosen a custom page(-post) to be my front page. Now I want to use a block template only on that page, when editing it in the Gutenberg editor. As I understand it I have to add it on "init" or ...
0
votes
1answer
21 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
1answer
208 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
2answers
70 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
876 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
44 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
36 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
45 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
291 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
97 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
495 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
53 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
60 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
36 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
126 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
627 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
23 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
1k 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
23 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
1answer
4k 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
191 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
2k 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
25 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
55 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
23 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
37 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
263 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
59 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
33 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
151 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
2k 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
82 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
61 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
65 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
2k 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
2 3 4 5 6