redirect - How to make front page temporarily show content of internal page

I'm building a Wordpress site with blog as the posts page, with ACF and other options on the page.Client wants

I'm building a Wordpress site with /blog/ as the posts page, with ACF and other options on the page. Client wants to launch the blog part of the site on their current non-wordpress site as a temporary basis until the rest of the site is built. I thought it would be relatively easy...

First, upload the Wordpress install to /blog on the live site (that part worked great)

Then make the /blog page the front page via Settings -> Reading... and that didn't work at all. Homepage and Posts page can't both be "Blog", setting homepage to "Latest posts" removes the ability to edit the ACF fields and other issues. I spent a few hours trying to come up with some redirect to just show /blog/ as the front page of the Wordpress install, but nothing I tried worked.

It feels like it should be easy to do, but I'm at a loss.

I'm building a Wordpress site with /blog/ as the posts page, with ACF and other options on the page. Client wants to launch the blog part of the site on their current non-wordpress site as a temporary basis until the rest of the site is built. I thought it would be relatively easy...

First, upload the Wordpress install to /blog on the live site (that part worked great)

Then make the /blog page the front page via Settings -> Reading... and that didn't work at all. Homepage and Posts page can't both be "Blog", setting homepage to "Latest posts" removes the ability to edit the ACF fields and other issues. I spent a few hours trying to come up with some redirect to just show /blog/ as the front page of the Wordpress install, but nothing I tried worked.

It feels like it should be easy to do, but I'm at a loss.

Share Improve this question edited Mar 22, 2019 at 20:43 Dan Goodspeed asked Mar 22, 2019 at 20:02 Dan GoodspeedDan Goodspeed 1013 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If you want both a posts loop and ACF fields on a page, I believe you need to have a real page for it, put a loop on it, and then designate that as your front page. It sounds like you already have this page set up. Select it as your front page.

You will temporarily not be using the posts page setting, so it does not need to be set to "blog". Someone is free to correct me if I'm wrong, but putting a page there mostly changes it's template hierarchy to look for home.php.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745663194a4638961.html

相关推荐

  • redirect - How to make front page temporarily show content of internal page

    I'm building a Wordpress site with blog as the posts page, with ACF and other options on the page.Client wants

    21天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信