Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
1 answer
18 views

Static Homepage only shows Hello World [closed]

I cannot for the life of me find a solution to this problem. The default page, along with all other template pages/posts are deleted so only the 5 pages I have created remain. This link, still somehow ...
user avatar
  • 1
0 votes
0 answers
8 views

How to Add Extra Settings to Appearance/Customizer Sections homepage

I want to exactly add settings to the static_front_page section in the customizer Sections homepage, I wrote code in functions.php for that but it doesn't work. my code in functions.php file: ...
user avatar
0 votes
1 answer
20 views

How to Redirect WordPress domain.com/?anyword to 404 Page?

Recently I Found some error on WordPress sites that when someone enter a question mark after the root domain and type any word, url shows the Home Page of instance: For instance, Root Domain is abc....
user avatar
0 votes
0 answers
16 views

When trying to access home page, Wordpress appends /wordpress to domain name which gives 404 error

When trying to access the home page, on https://www.andersonclassics.uk Wordpress appends /wordpress to the domain name as https://www.andersonclassics.uk/wordpress which gives a 404 error - there is ...
user avatar
0 votes
0 answers
11 views

Homepage Duplicated with each Post

So I have a static homepage setup with a greeting for viewers. Then a second page where posts are seen. Everything seemed fine with one post. But when I created and published a second post. The ...
user avatar
0 votes
0 answers
23 views

Two themes using a Multiple Themes plugin

Main theme is the Divi Theme builder second is the Discy theme ( Q&A ) I have set Divi as my home page no problem I added page called forum for Discy . In order to use Discy home settings it has ...
user avatar
0 votes
0 answers
47 views

Wordpress rewrite front page url

I am trying to implement a language prefix to my Wordpress. I now have working Rewrite rules for %lang% tag, query_var etc. Everything works ok, except for front page. What I am trying to do: allow ...
user avatar
  • 1
0 votes
0 answers
28 views

pagination 404 error, same slug home and categories

I would like to change the permalink for categories. I configured thé prefix of categories with actions I have a page for the home page wich have a slug actions All the website worked correctly. URL ...
user avatar
0 votes
0 answers
30 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() { // ...
user avatar
0 votes
1 answer
17 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&...
user avatar
0 votes
0 answers
140 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. ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
  • 1
0 votes
1 answer
178 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 ...
user avatar
  • 3
0 votes
1 answer
57 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 ...
user avatar
  • 215
1 vote
1 answer
28 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 "...
user avatar
  • 117
0 votes
0 answers
22 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. ...
user avatar
  • 1
0 votes
1 answer
32 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 ...
user avatar
  • 153
0 votes
1 answer
33 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() ){ $...
user avatar
0 votes
1 answer
18 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 ...
user avatar
  • 101
0 votes
2 answers
185 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 ...
user avatar
  • 11
0 votes
1 answer
28 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(...
user avatar
0 votes
1 answer
17 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:...
user avatar
3 votes
0 answers
44 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 ...
user avatar
  • 31
0 votes
2 answers
62 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 ...
user avatar
0 votes
0 answers
322 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 ...
user avatar
  • 1
1 vote
0 answers
41 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 ...
user avatar
1 vote
1 answer
40 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 ...
user avatar
1 vote
1 answer
184 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 ...
user avatar
1 vote
1 answer
25 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 ...
user avatar
0 votes
0 answers
39 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(...
user avatar
1 vote
1 answer
178 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 ...
user avatar
  • 13
0 votes
2 answers
119 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 ...
user avatar
0 votes
1 answer
297 views

Wordpress custom post type as homepage with homepage url

I was able to set a custom post type as the homepage for a woocommerce site I am building. The problem is that when I do this, the homepage url does not display. (i.e. https://mywebsite.com). Instead ...
user avatar
1 vote
1 answer
1k views

Woocommerce: How to remove page title from storefront theme homepage

I have been searching online for this and everywhere I go it says to put the following into your functions.php function remove_title_from_home() { remove_action( 'storefront_homepage', '...
user avatar
0 votes
0 answers
23 views

Site using static homepage, redirects (301) and removes pluses from query string

It seems as though all WordPress sites that I’m supporting for various clients has this same functionality — if the site is using a static homepage, and you visit the homepage with a query string ...
user avatar
1 vote
2 answers
7k 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 ...
user avatar
0 votes
0 answers
30 views

Home page is not loading, where in other pages are displaying on the site

My home page is not displaying on the site, but it is showing that the page is loading. and I have checked all other pages. Everything is working except the home page. Even the posts are also getting ...
user avatar
2 votes
1 answer
142 views

Limit posts only on home page - ideally in functions.php

I'd like to restrict the number of posts that show on my home page to 3, but have all the other archive, category, pagination pages, etc. at whatever number I set in the "reading" settings ...
user avatar
  • 21
0 votes
1 answer
43 views

What is the "pub" theme? [closed]

I've been trying to mimic the kinds of websites/blogs that mathematicians have with WordPress and typically their theme is "pub"--it shows up in their style.css, "https://s0.wp.com/wp-...
user avatar
  • 1
0 votes
1 answer
46 views

How to show only homepage in google results instead of privacy, contact pages

When I search my website in google, all the pages and posts can see. I want to make only homepage visible in search results and remove other pages(privacy, contact etc). And also all the posts can ...
user avatar
  • 1
0 votes
1 answer
101 views

Blog page and the Home page showing the same content

I am trying to set up a website with askme as the main template and consider myself as someone who dosent knows website coding yet.And so I am using Wordpress to build a website.But the only problem I ...
user avatar
0 votes
1 answer
22 views

Make multiple URLs behave as home page

I want /url1, /url2, /url3, to all behave as though the homepage / was accessed, and to have the homepage rendered without redirecting away from /urlx. In fact, if every URL someone tried to access ...
user avatar
0 votes
1 answer
290 views

How do I get the Revolution Slider in the header on the homepage, but not the blog index page?

I am trying to get a carousel slider from the Revolution Slider Addon into the header on the homepage only. And I want it under the header bar (where the menu is). However, the template I'm using ...
user avatar
  • 1
1 vote
1 answer
28 views

Wordpress is not able to change themes

Wordpress Website has two themes, newspaper magazine and twenty twenty, it uses by default newspaper magazine, if I change to twenty twenty, the homepage remains using newspaper magazine, but if I go ...
user avatar
-1 votes
1 answer
1k 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 ...
user avatar
0 votes
2 answers
16 views

Include Recent Post in Category

I use a free WordPress Theme called DefautMag, It has a front page with 3 columns, In the front page settings, I could choose any category to display in any of these columns, But I want to display ...
user avatar
1 vote
1 answer
32 views

Move first half of posts to one parent page, second half to the other page

there! Let's assume that we have 2 posts (Post A, Post B). They already exist and located like following example.com/post-a Now I want to create 2 separate parent pages like cat1 and cat2. How can ...
user avatar
0 votes
0 answers
16 views

URL redirect to home page issue in word press site

If i open URL for first time in any browser it is redirecting to home page. Then i open again it is going on actual URL. Here is the URL https://dropshipping.vidaxl.com/help-center/ Can any one ...
user avatar
  • 1
0 votes
0 answers
23 views

how do you add a gallery to the homepage without using a post or page?

okay ive been pulling my hair out trying to figure this out. im trying to add images directly onto the homepage. ive created a gallery with a shortcode, and have added the shortcode into a post. but ...
user avatar
  • 101
0 votes
1 answer
187 views

How to change default home link title?

This is My home page but the title in the header shows the first post name. How can i change the custom link homepage title ? I want here to show home and in the post header it should show post title?...
user avatar

1
2 3 4 5
12