最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

database - How to force set same page as homepage and blogpage in static page settings

programmeradmin0浏览0评论

I am trying to set the same page as my blog page as well as my static homepage. You might ask why i wanna do that, basically in the preview it shows me result that i am after, but i am not able to publish it as homepage and blogpage can't be same.

So, is there any way to either remove the validation so that i could publish the changes? Or To set the same page as home and blog page via db/php?

I am trying to set the same page as my blog page as well as my static homepage. You might ask why i wanna do that, basically in the preview it shows me result that i am after, but i am not able to publish it as homepage and blogpage can't be same.

So, is there any way to either remove the validation so that i could publish the changes? Or To set the same page as home and blog page via db/php?

Share Improve this question edited Sep 26, 2019 at 8:56 Akshit asked Sep 26, 2019 at 8:21 AkshitAkshit 11 bronze badge 3
  • It doesn’t make any sense to want to do this. It suggests you’ve done something wrong somewhere. If you want your latest posts on the homepage, then you should select that option, and not have a static home page. Why do you need to do this? – Jacob Peattie Commented Sep 26, 2019 at 8:25
  • The theme that i am using allows me to display all the pages as section of my homepage (like a onepage website) sorted in the page order if i set my blog page and my home page as the same page. At least the preview shows it that way. But it doesn't let me save it. – Akshit Commented Sep 26, 2019 at 8:35
  • It sounds like something else is wrong. It doesn’t make sense that you’d need to do this to get your homepage to display a certain way. You should contact the theme author for help solving this properly. – Jacob Peattie Commented Sep 26, 2019 at 9:06
Add a comment  | 

1 Answer 1

Reset to default 0

It seems validation was there only if I tried doing it via Appearance > Customize > Homepage settings.

However, it wasn't a hard violation if you set in via Settings > Reading.

发布评论

评论列表(0)

  1. 暂无评论