Skip to main content
The 2024 Developer Survey results are live! See the results

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
0 votes
0 answers
38 views

Twenty Twenty-Four: Static Front Page with Post Links

The post links show nicely in the edit (using blog home template writer pattern): wp-admin/site-editor.php?postType=wp_template&postId=twentytwentyfour%2F%2Ffront-page&canvas=edit The post-...
Laurie Stearn's user avatar
0 votes
1 answer
170 views

Passing queries in the Homepage loads index.php instead of front-page.php

The site that I'm working on uses a custom theme built by me. My Homepage is a static page, which uses the file front-page.php. My index.php is only used for "blog type" of pages. I want ...
Julia's user avatar
  • 3
0 votes
1 answer
30 views

Frontpage overriding my posts

Each time i make a new post I cant see it ok my website when I view it. The front page (which is blank) seems to override my posts. How do I remove it or change the settings
Dineato's user avatar
0 votes
0 answers
10 views

Multisite homepage stuck to twenty-twentythree (only for logged-out users)

I've been struggling with this problem for a while now... I have a sub-domain WordPress multisite install with the following structure: // Wordpress path https://example.com/cms // Wordpress home ...
leorospo's user avatar
0 votes
1 answer
1k views

How do I change the front page? (or stop the front page template from overriding the front page)

Context: I am done creating an advertising/info page for my project's wordpress site that I'm editing locally using XAMPP, and I did this within the "Front Page" template which shows up as ...
DED's user avatar
  • 103
0 votes
1 answer
85 views

wp_head not injecting css

I'm trying to inject a style.css script into my front-page.php. None of the styles load. In the tutorials, when you inspect page source, all the CSS should be there, but it simply shows the wp_head() ...
Shawn Esquivel's user avatar
0 votes
1 answer
220 views

Show custom category archive as front page and remove taxonomy slug from urls

I have an art portfolio site in development. I have used CPT UI to set up: post type: works taxonomy: mediums mediums: paintings, etc The best way I could think to set this up was to use taxonomy-...
WP Shala's user avatar
0 votes
1 answer
35 views

How did WordPress link an empty page at dashboard to an actual php file?

I set these 2 settings under WordPress dashboard » Reading: Homepage dropdown: set to home (an empty wordpress page I created in dashboard). Posts page dropdown: set to blog (an empty wordpress page ...
compliance's user avatar
1 vote
0 answers
182 views

Elementor Combined all Sections into 1 Text Editor

I am hoping someone might be able to help me with this. I used Elementor to edit my front page, which was great because it was nicely organized with sections and content and everything. Now I just ...
Daniel Meegan's user avatar
0 votes
0 answers
20 views

Why can't I gain access to my homepage images?

Site: https://burgessroad.org/. WordPress version: 6.0 I inherited maintenance responsibilities for the site and I need to replace some images on the homepage and alter positioning of others because ...
Clarence Glasse's user avatar
0 votes
1 answer
99 views

How to conditionally add Custom Post Type to Front Page

I am using the following code to show my custom post types on my front page along with the default post type: // allows the products to show up on the main page function add_custom_post_type_to_query( ...
timbram's user avatar
  • 53
0 votes
0 answers
11 views

Categories not posts at the frontpage

can someone please help, i just need a way to display only categories at the frontpage without posts, visitor will enter the website first what he see is the categories , searched all over the web ...
radislav's user avatar
0 votes
1 answer
26 views

Set front_page programatically after user login via query, while leaving site option alone

I want to change the front page based on who is logged in. If User_Bob is logged in, the front page is "Bob" [post id: 123]. If User_Jane is logged in the front page is "Jane"[post ...
John Dee's user avatar
  • 503
1 vote
0 answers
108 views

Wordpress shows front page, when it should show 404 with pagination style urls

Whenever I type a url for my site that contains three slashes "/" wordpress shows the front page instead of a 404.For example: example.com/something/does/notexist goes to frontpage, where ...
mrks.diehl's user avatar
0 votes
0 answers
24 views

How can I use my blog page as the homepage but only for mobile/tablet visits?

How can I provide my blog page as the front page for mobile visitors including any portable device such as tablets and phones? My actual static frontpage as defined in the backend standard options ...
Michael Schwark's user avatar
0 votes
2 answers
68 views

Front page is being directed to an unknown site

Unless I type the URL of my site as example.com/wp-login.php, with URL typed as example.com, the front page is automatically directed to the following unknown site: https://elementonfor.live/?...
Reza's user avatar
  • 111
0 votes
1 answer
59 views

How to make my homepage automatically redirect to an external website?

Actually, I have a website hosted by my University. They claim that it is my personal website or whatsoever, but they do not give me full control of it! I cannot install plugins, change the theme, or ...
Iago Carvalho's user avatar
1 vote
1 answer
33 views

What does choosing a Post Page do?

I have always been confused by Wordpress's homepage setting, even though I have read some SO answers and WordPress front page logic cheatsheet. First of all I understand the different between "...
shenkwen's user avatar
  • 131
0 votes
1 answer
632 views

Different front page for logged in and logged out user but the same URL in Wordpress

I have two home pages created in WP. One is set as the front page but for only logged-out users. For logged-in users, they see home page 2 as their home page. However, I want the URL for logged-in ...
Andre Dike's user avatar
0 votes
1 answer
198 views

Why is my archive.php redirecting to front-page.php?

I generate archives using wp_get_archives() and get list of all my archives. But when I click one of the links its always redirect me to front-page.php which is www.mydomainexample.com. I've created ...
Arta Kusuma's user avatar
0 votes
1 answer
72 views

How to show taxonomy on front page

I have set template taxonomy-event_type.php which displays just right on http://localhost:8000/types/<type_name>/. What I need now is to: either redirect when user lands on http://localhost:...
MCFreddie777's user avatar
0 votes
1 answer
28 views

How to change "Call To +1800090098" in TopStore pro theme [closed]

I'm looking for a way to change the text in the lower menu row (on right side) in a page with TopStore pro (theme). An example of the theme is at https://themehunk.com/wp-themes/top-store-multi-vendor ...
Valter Ekholm's user avatar
0 votes
1 answer
155 views

Use alternative front page if cookie is set

By default, I present the user with the "Home" front page (set in "Settings / Reading / Homepage"). I have a duplicate page of this called "Alt Home", with some changed ...
AncientRo's user avatar
  • 366
0 votes
2 answers
249 views

Ability to change homepage on Wordpress using API

Is there any way to change a site's homepage (Settings -> Reading), via API? We're running a React app with a Headless WP 'backend', and I'd like to let users change the homepage of their sites ...
Ilya Gurman's user avatar
0 votes
1 answer
122 views

Swap home page based on user role, Elementor layout breaking

I work for a manufacturer that has normal boring consumers and wholesale dealers. We want to display a different home page for these two different audiences. Consumers will get more of a brand ...
MCDAndrew's user avatar
0 votes
0 answers
108 views

how to convert frontpage.php to dynamic page?

front page on WordPress theme is static and I can only edit it from the panel in PHP I need to convert it to a dynamic page and edit it with builder or editor on the dashboard
Magdy Bakr's user avatar
-1 votes
1 answer
2k 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 ...
Bright Indy's user avatar
0 votes
2 answers
3k 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, ...
Amruta Ranade's user avatar
0 votes
1 answer
699 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 ...
lpydawa's user avatar
  • 101
0 votes
1 answer
34 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 ...
distinctly's user avatar
0 votes
1 answer
2k 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 ...
Moiz Nadeem's user avatar
1 vote
0 answers
887 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 ...
Doğukan Önal's user avatar
0 votes
3 answers
408 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() ) { ...
Saenen's user avatar
  • 3
0 votes
1 answer
447 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 ...
Kačka Hanžlíková's user avatar
1 vote
2 answers
728 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 ...
user3364610's user avatar
0 votes
0 answers
117 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 ...
Asaf Moshe's user avatar
1 vote
1 answer
30 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 ...
Botond Vajna's user avatar
0 votes
2 answers
1k 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 ...
Richard B's user avatar
  • 398
0 votes
1 answer
41 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 ...
arathra's user avatar
  • 35
0 votes
1 answer
915 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 ...
lulufv's user avatar
  • 5
0 votes
2 answers
209 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 ...
Richard's user avatar
1 vote
2 answers
3k 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 ...
gloom's user avatar
  • 185
-1 votes
1 answer
49 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 ...
Zulkifl Agha's user avatar
1 vote
0 answers
158 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 ...
Steph's user avatar
  • 11
0 votes
1 answer
167 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 ...
Aslan French's user avatar
0 votes
2 answers
704 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 ...
Aerodynamika's user avatar
0 votes
2 answers
973 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 ...
Daniel's user avatar
  • 1
3 votes
1 answer
2k 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 ...
Run's user avatar
  • 331
2 votes
1 answer
612 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 ...
Dirk's user avatar
  • 21
2 votes
2 answers
84 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 ...
waisie li's user avatar

1
2 3 4 5 6