Questions tagged [homepage]

In WP the term `homepage` can be a bit confusing. It is used in the normal way, for the main page of a site, but sometimes also for the page that contains the newest posts, even if this is not the main page of the site.

Filter by
Sorted by
Tagged with
0
votes
1answer
631 views

Homepage Setting missing

Hello I'd like my homepage to be www.abcdxxx.com instead of www.abcdxxx.com/home But I can't find the Homepage setting in WP customizer to set the home page as a static page. Appreciate the help!
1
vote
1answer
2k views

I want to duplicate homepage for all my pages

I want to duplicate my homepage then call the pages A. page b & c. - So that I can edit just a few things on all the pages. I already have some pages but I can't get bits exactly the same.I copied ...
0
votes
0answers
14 views

how to display recent post by category on home page

hi I m new in WordPress i want to display recent posts based on categories like this I found the following code but it seems not to work for me. here is the code function wpb_postsbycategory() { // ...
0
votes
2answers
962 views

One set of Child Pages redirecting to Home page?

I've searched multiple forums, and not finding anything quite like this... On a site I manage, there are several parent pages with links to child pages embedded in images. Each image links to the ...
0
votes
2answers
2k views

is_home() and is_front_page() not working in sidebar

I'm trying to display a custom widget in the sidebar of my homepage (which is a static front page defined in Settings > Reading). Here is the relevant part of my sidebar.php: if ( is_front_page() |...
1
vote
2answers
812 views

How do I make a page appear like the "Your latest posts" from homepage display options?

I want to have what would appear if I chose "homepage display to: Your latest posts" but on a page of my choosing and Not as the front page of my site.
2
votes
2answers
1k views

Redirect "Sorry, you are not allowed to access this page." to Home

how to redirect the error message page "Sorry, you are not allowed to access this page." to the Home page?
1
vote
2answers
2k views

How to override the theme home page?

I'm using a theme that has it's own home page layout but I want to use a normal page instead. I can't find a way to change it because in Settings> Reading, the home page is already set to 'Home' (a ...
0
votes
1answer
15 views

On the list of Pages, clicking to Edit a particular page redirects to the list of trash

Here's the background. I created a page called "New Home Page" to eventually replace the original "Home" page. When I was ready, I renamed the original Home page to "Old Home&...
0
votes
1answer
34 views

How do I redirect the browser to 404 page, if no posts are found in home page

I am listing posts on the homepage with pagination and if no posts are found on the home page. I want to redirect the page to 404 page and get 404 response code. For example, example.com/page/200 Page ...
0
votes
2answers
1k views

how to edit homepage

i am learning html and php from scratch, i had upload a wordpress website, all ok, but i have problem with some editing, means i coluld not find which file i have to edit. i search index.php but in ...
2
votes
2answers
2k views

Wordpress shortcode doesn't working on HomePage

What I want to do is make my Home Page. I can do it this way: Create a page and insert my gallery from plugin with that code [wonderplugin_gridgallery id=1] Set that page as HomePage. BUT THAT IS ...
22
votes
5answers
7k views

How do you use a CPT as the default home page?

I have a client who's site will be making heavy use of custom post types to configure their site. But I'm between a rock and a hard place for their requested home page. In reality, the home page ...
0
votes
1answer
1k views

Homepage URL showing a 404 error

I migrated my website to this new domain. I removed the original homepage and re-labelled the current homepage as home.Now when I visit the homepage, it shows a 404 error although the page exist and ...
1
vote
2answers
6k views

Updated Wordpress, now getting errors on site

I just recently updated my Wordpress, theme, and plugins, and am now getting these two errors on top of the homepage and pages page. Deprecated: wp_make_content_images_responsive is deprecated since ...
0
votes
1answer
1k views

Link post to blog from a static page

I'm a WP rookie, and I just designed a static homepage that shows the 3 most recent posts in my database. I would like to redirect the user to another page in order to show him the entire blog post ...
0
votes
0answers
52 views

"Blog pages show at most" in setting not working

After the update to the new WordPress version, "Blog pages show at most" (Setting >> Reading) is not working. Even if I change the count as 5 there, the homepage shows 10 articles i. ...
0
votes
0answers
18 views

Why is my navigation in my onepage not working?

I have a one-pager who has two sites. One is German and the other English. I made an own navigation for the English one, but it doesn't work. The navigation is throwing me back to the German one. The ...
0
votes
1answer
623 views

What is the difference between `Home page / Archieves` and the page set as homepage?

In the image below, I set the page Welcome! as my homepage. There is no link to that page, and there is only one way to go to the homepage: click on the banner. However, there is two different items ...
0
votes
1answer
17 views

Why is Wordpress showing a blank excerpt for just one of my posts?

For most of the posts on my Wordpress site, I leave the manual excerpt box empty & let Wordpress generate the excerpt based on the content of my post. Until now, this has been working fine — I ...
1
vote
1answer
27 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
0answers
18 views

Disguise Multi-Page site as Single Page

I'm building a site that needs the audio element on the page to be persistent and keep playing when the user clicks on any navigation item. It's located in the header so I want that to be sticky too. ...
0
votes
1answer
29 views

Display another page / custom post type as home page

I want to display a custom post type page as my home page. I have a site that I manage with lots of events that are custom post types. The company needed the site cloned as one of the events being ...
2
votes
5answers
26k views

Displaying Page Title on index.php

I have my posts page set as index.php, and on there I have my main heading (as I do on all pages). I'm having trouble displaying the page's heading however. The page is called 'Blog' in WordPress, ...
0
votes
1answer
22 views

Random home page at each refresh between array of page IDs

I am trying to rotate 3 pages as my home page at refresh. Currently I am using this in my functions.php: <?php function my_homepage_redirect() { if ( is_home() || is_front_page() ){ $...
0
votes
1answer
17 views

Woocommerce altered my homepage, and I can't figure out how to revert it [closed]

(I'm not sure if this is specific to Woocommerce or not, since the solution may be a general Wordpress process.. if it is I will delete and move to the wordpress forum) I added Woocommerce to an ...
1
vote
2answers
5k views

How to redirect to home page after registration?

I am using wordpress 4.6. I have template register form with page URL domain-name/account/?action=register I want to redirect it to home page after register but instead of that it show message "...
0
votes
2answers
82 views

Disable and redirect pagination of Home

My home is a static page, but Wordpress create enumeration "home/page/2/.../3/" and the only solution found that disable pages generation, also redirecting, is the instruction below, but I ...
0
votes
1answer
26 views

WordPress static home page pagination not working

I am trying to add the pagination on the home page, But it is not working. Can anyone help me to fix the issue? <ul class="xl-products grid- masonry"> <?php if(...
0
votes
1answer
14 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
2k views

Change homepage content if user is logged in - BuddyPress

I'm creating a Social Network using BuddyPress, a good theme for BuddyPress itself and some plugins included with the theme that help me so much in this thing. I'm trying to do one thing: when the ...
1
vote
2answers
615 views

How do I set the homepage to the WordPress Admin Dashboard login?

I'm looking for a solution to set my WordPress login page as the homepage. Maybe a redirect 301 will work. Are there any other solutions?
3
votes
0answers
32 views

Query string becomes encoded when a static page is used as homepage

In the Wordpress Admin 'Reading Settings' under the 'Your home page displays' option, when a static page is selected as Homepage, it appears that any query string with special characters added to the ...
0
votes
0answers
12 views

Page archives indexed with static home page

I am using a page as the home page (not the standard blogroll). So now I have all my page archive URL's going to home page. For example: The following page is indexed in google search console: https://...
0
votes
3answers
4k views

Customizing a blog page layout

I can't find any themes that truly match what I want, so I wanted to customize my blog page by adding to its existing layout given from the theme. However it seems that widgets and plugins that allow ...
0
votes
0answers
10 views

How to add a location category to a search bar

I'm creating a directory site and I'm trying to customize the main search bar and I can't really find any help... does anyone know how I could do this?
1
vote
2answers
1k views

Best way to assign post position in a news site homepage? (no categories, no sticky posts)

I'm currently redesigning a local news website. The old design used a whole lot of categories to handle the position of the content in the static homepage as in "top news", "middle box", "left box" ...
0
votes
2answers
37 views

website is not loading home page (moving from one server to another server)

I have a wordpress site and i want same site with other domain name at same server. I moved all files and folders to new domains directory and also successfully moved database. My admin panel is ...
0
votes
0answers
14 views

Static home page "frozen"

I am experiencing a strange problem with my static homepage. It is "frozen", which means it cannot be changed, or replaced, and does not show any new blog posts or new widgets. All other ...
0
votes
1answer
588 views

Permalink with anchor on home page to single page

I have question regarding the permalink on my home.php page. How can I make link in home.php page which goes to certain post - so kind of jump automatically to certain area in my single.php page with ...
0
votes
0answers
302 views

After upgrade my WordPress version 5.4.4 to 5.6, I can not set my homepage

I had a machine use the wamp64 server and PHP 7.3.5 to build my WordPress site, and I just click the upgrade button to set my WordPress version 5.4.4 to 5.6 form the dashboard. After the upgrade is ...
0
votes
2answers
2k views

the_permalink on the homepage vs posts for sharing links

Instead of weighing the site down with plugins I've hardcoded a couple of sharing links. I've used the_permalink to create the links, in the sidebar, which work ok on posts and pages, but on the ...
1
vote
0answers
37 views

custom home page and custom index page?

I have a custom home.php design only for my homepage, also I have an index.php that made for page like: http://example.com/page/11 my problem is that for this page http://example.com/page/11 WordPress ...
2
votes
2answers
16k views

Linking to page with all posts

I'm new to the Wordpress world. I've read the template hierarchy document and read online, but, I wanted to get feedback from here on what the best way to do this would be. What I'm trying to do is ...
1
vote
1answer
36 views

remove paginations functions only on home

this is my full code for index.php <?php /** * The main template file. /* Exit if accessed directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); /* Blog layout options via ...
1
vote
1answer
135 views

How can I upload an image for background use using the Theme Editor in Wordpress?

I'm learning Wordpress from the book Wordpress for Dummies. The author says to open the theme editor then use the style.css sheet. I uploaded the image to the twentyseventeen image folder via ...
1
vote
1answer
23 views

Category selectable homepage

I've got a local Wordpress install that I've tried to make customisable by users, so it only shows pages from categories they have selected. I've used the code that I've found in the thread How to Set ...
-1
votes
2answers
3k views

Making draft page as the main page

A very newbie question. I wanted to update my home page. I copied it as a draft and made the modifications. Now.. how do I make it the main home page? It sounds very simple but have been totally ...
0
votes
0answers
37 views

Different template parts when on different pages

I need to get different template parts when locating on different pages, for e.g. Homepage. <?php if (is_home()) { get_template_part( 'partials/hp-header' ) } else { get_template_part(...
1
vote
1answer
60 views

Filtering posts from different categories into different section by doing WP_Query only once

I am trying to create a custom homepage with multiple categories section. I know this is possible with WP_Query, but i don't want to make multiple db trips. I want to query posts (say 5 each) from ...

1
2 3 4 5
11