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
1answer
28 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 ...
0
votes
1answer
643 views

New WP_Query not isolating custom post types on front-page template

This is the code for my front-page.php template <?php add_filter( 'genesis_markup_site-inner_output', '__return_false' ); add_filter( 'genesis_markup_content_output', '__return_false' ); ...
1
vote
1answer
23 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
1answer
673 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
15 views

Custom page with shortcode function

Is there a way I can show just the name and profile picture of logged in user on a page in frontend with shortcode. I tried checking through some solutions but does not provide what I need.
1
vote
2answers
946 views

Performing a POST action on homepage goes to posts page

On every page of my site I got a contact form that will send an email to the respective address. On this site also I've set the front page display to a static page. The contact form will basically ...
0
votes
1answer
48 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
2answers
364 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 ...
0
votes
1answer
914 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 ...
9
votes
1answer
42k views

How can I create a “Read More” link using the_excerpt() on a static front page?

I'm working on a website that uses a static front page. It also shows the single most recent blog post. This was achieved by creating a page and using a custom page template. Sometimes, the blog post ...
0
votes
1answer
21 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
1answer
745 views

Reverse ordered pagination on home page

Use on the blog reverse pagination. The question arose. How to make a home page is not the first? Need to break the link Home = First page and make a connection Home = Last page. Home should be the ...
0
votes
1answer
12 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
1answer
18 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
0answers
18 views

How to hide unnecessary stylesheets & scripts link in html source on front_page?

I have 1 question. Is there any idea how to hide all the unnecessary scripts and stylesheets on WordPress front page only(as screentshot provided? I am doing this because of to maintain my home page ...
0
votes
0answers
14 views

How to make search work with front-page.php?

In the file header.php I have a search form that sends me to URLs like localhost/?q=... but, since I have a front-page.php file, it does not work although in the WP theme I have a file called search....
0
votes
0answers
27 views

How to use paginate_links on front-page.php with a custom post type?

How do I use the function paginate_links in front-page.php or, if I cannot use it as it should be used in front-page.php where it should be better to put it? I have found this post https://wordpress....
-1
votes
2answers
2k views

front page won't change templates

I have tried changing the template of the attached page and changing which page is attached as the home page, no effect for either. The front page remains the same. I am at my wits end with this one!!
2
votes
3answers
28k 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 ...
0
votes
1answer
38 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
0answers
25 views

Display images on front-page static or custom post type?

I am currently learning Wordpress development, building out a portfolio theme. I would like advice on what's the best way(noob question), development wise, to dynamically display featured images on ...
0
votes
2answers
62 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
2answers
4k views

White screen on front page only

I've got the famous white screen, but only on my home page. Deeper pages load just fine. I moved my themes directory to themes-old and made a new themes directory that only has twentyten in it. I ...
0
votes
1answer
4k views

What file is the standard frontpage that lists all the posts?

I want to edit something in my theme but i can't find the file that lists all the blogposts on the homepage. In the 'Reading' settings i have: Front page displays - your latests posts as the chosen ...
0
votes
0answers
7 views

Wordpress site not rendering as in preview

The website Cashmacha.com is not rendering the same as soon as created A record in DNS server. The website content has become garbled and graphics are out of place. When i open the page and go into ...
0
votes
1answer
30 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
0answers
67 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
1answer
666 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
168 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
228 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
1answer
24 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
3answers
3k views

Set static page as default front page on newly created sites in multisite

How to set a Static page (example Sample Page with every WordPress install) as default fron page for every newly created site on multisite network. I mean when a new user creates a site on my ...
1
vote
1answer
8k 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 ...
0
votes
1answer
356 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 ...
0
votes
2answers
2k views

Home page Pagination - Other pages do not redirect to home page template

I know similar questions have been asked, but none of them seem to answer the question. I've set up a post-loop widget that I put on the home page. It has pagination, but whenever going to any page ...
1
vote
0answers
219 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
1answer
4k 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 ...
0
votes
3answers
219 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
1answer
210 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 ...
0
votes
2answers
1k views

Is_front_page inside header.php is always returning true

I have a page that I designated as my front page using the reading portion of settings in the dashboard. When I place a script inside of an if statement using is_front_page in functions.php, it only ...
5
votes
4answers
11k views

is_front_page only works in theme file, and does not work in functions.php

If I use is_front_page() in my front-page.php file it works as expected. However if I use the same function in my theme functions.php file it does not work. Is this normal behavior? If not can it be ...
1
vote
2answers
242 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
26 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
12k views

Accidentally deleted the 'home' page as my front page, can someone help?

usually when you create a blog it automatically sets the front page where it shows all of your blog posts as the'home' category, however, i accidentally deleted the home page as the front page. when i ...
0
votes
2answers
335 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 ...
5
votes
2answers
1k views

What is the correct method for determining 'is_front_page' when using filters such as 'pre_get_posts' and 'posts_where'?

On my site several filters should be applied if the user is viewing the static home page. My understanding is that is_front_page() should determine if that is indeed the case. However, whenever I use ...
0
votes
1answer
23 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
3answers
4k views

Different Front page for Mobile

I want to make a different front-page and show it to the mobile user, instead of the one used on desktop. In detail, right now we have set our site to show desktop-front-page to user, when he lands ...
0
votes
1answer
43 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
2 3 4 5 6