-
AuthorPosts
-
January 31, 2023 at 9:58 pm #1396105
I have created a new page which uses a custom page template. The page has a slug of ‘blog’. I want to use this page as the blog homepage. I have selected this page in the Enfold Child Theme Options in the “Where do you want to display the blog” field. I’ve done the same in the Reading Settings admin page. Despite having made these selections the page at /blog always uses the archive.php file as the source code for rendering the page. How can I have the blog homepage page actually render from custom page that I created in the Pages library? I would expect that this should be similar to how a 404 page can be selected from the Pages library from within the Enfold Child Theme Options. I created the custom 404 page and selected it and it does display as expected.
Thanks for your assistance!
February 1, 2023 at 4:01 am #1396127Hey jedediahzilberberg,
Thank you for the inquiry.
You have to set the Enfold > Blog Layout > Blog Layout settings to the “Use the advance layout builder..” in order to display the content from the layout builder.
Best regards,
IsmaelFebruary 1, 2023 at 4:58 am #1396136Hi,
Thanks for your response. I don’t know where to access the path that you provided, “Enfold > Blog Layout > Blog Layout settings”. Can you please clarify?
February 1, 2023 at 4:59 am #1396138Hi,
Please disregard my last message. I found the setting. It was already set to “Use the advanced layout builder…”. Please advise. Thanks!
FYI, if I change the options in that menu, I see the layout change for all options except for the “Use the advanced layout builder…” which never results in displaying the page using the selected customized page.
I’m using v 5.3.1.1 of Enfold.- This reply was modified 1 year, 9 months ago by jedediahzilberberg.
- This reply was modified 1 year, 9 months ago by jedediahzilberberg.
February 1, 2023 at 9:40 am #1396161Hi,
Thank you for the update.
Try to reset the options in the Settings > Reading panel to default or deselect the blog page. This should force the blog page to use the template-builder.php file and display the content of the builder.
Best regards,
IsmaelFebruary 1, 2023 at 7:25 pm #1396273Hi,
I had already tried resetting the options in the Settings > Reading panel to default or deselect the blog page. That did not resolve the issue. It is currently unset.
I have now discovered that if I set the selected page in the “Where do you want to display the blog” field to any other page than my custom page which is at /blog, it all works as expected. If I change the slug of my custom page to “blogs” instead of “blog” then it works as expected when going to /blogs. But if I go to /blog the displayed page only works properly when any option other than “Use the advance layout builder.. in Enfold > Blog Layout > Blog Layout settings is selected. If I select “Use the advance layout builder..” then the page at /blog does not use the layout builder but the page at /blogs does.
This was all caused because I had created a custom post type with the slug “blog”. This caused a conflict when going to /blog. Instead of going to the custom page with that slug, it was going to the page for the custom post type with that slug. Now that I changed the custom post type slug, it is all resolved.
Thank you for your time an assistance!!
February 2, 2023 at 3:55 am #1396315 -
AuthorPosts
- The topic ‘Blog Homepage Issue’ is closed to new replies.