Questions tagged [frontpage]
The home page of a site. Could either contain the blog index, or a static page.
288
questions
0
votes
1
answer
34
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 ...
0
votes
1
answer
19
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
0
votes
0
answers
8
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
...
0
votes
1
answer
297
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 ...
0
votes
0
answers
11
views
Post page appears without images + formatting
I've started to have a problem with my webpage display. When I navigate to the front page using my site domain name, the page appears without its header or formatting. If I use the Wordpress URL http:/...
0
votes
1
answer
61
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() ...
0
votes
1
answer
176
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-...
0
votes
1
answer
31
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 ...
0
votes
0
answers
41
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 ...
0
votes
0
answers
16
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 ...
0
votes
1
answer
90
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( ...
0
votes
0
answers
10
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 ...
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 ...
1
vote
0
answers
94
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 ...
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 ...
0
votes
2
answers
51
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/?...
0
votes
1
answer
50
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 ...
1
vote
1
answer
31
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 "...
0
votes
1
answer
587
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 ...
0
votes
1
answer
145
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 ...
0
votes
1
answer
61
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:...
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
...
0
votes
1
answer
132
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 ...
0
votes
2
answers
216
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 ...
0
votes
1
answer
119
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 ...
0
votes
0
answers
98
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
-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 ...
0
votes
2
answers
2k
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
1
answer
528
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
1
answer
32
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
1
answer
1k
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
0
answers
773
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
3
answers
356
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
1
answer
424
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
2
answers
648
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
0
answers
106
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
1
answer
20
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
2
answers
898
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
1
answer
40
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
1
answer
885
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
2
answers
186
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
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 ...
-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 ...
1
vote
0
answers
150
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
1
answer
140
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
2
answers
652
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
2
answers
897
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 ...
2
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 ...
2
votes
1
answer
513
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
2
answers
81
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 ...