The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I was able to create a Layout for displaying my blog posts. But not sure how to format the latest posts that appear on the Home page. I get this when I attempt to edit (image attached), and when I attempt to use any other layout, all that displays is white space.
Are you familiar with the WordPress settings for which is the front page of your site and which is the blog post page?
By default they are the same thing, which you would see if you went to Settings > Reading.
In that case the blog page is a virtual page, you won't find it if you list the site pages from the dashboard.
But if you want a static page as your front page and to display your blog posts on another page, this time you must create an actual page for the blog posts which you the set in the Settings > Reading settings.
But there is no content to edit on that page (or any content you add won't be displayed). It is simply a placeholder for the automatically generated archive of blog posts that will be shown when you visit the URL of that page.
In your screenshot you are editing such a page, but there is nothing to edit on that page itself.
To customise the output of that page you have to make a Layout that you assign to the blog archive.
Now, you can add whatever content you want to this Layout which will appear on the blog post archive (which is shown on the painful page you have assigned as the blog page).
But the archive of blog posts won't actually appear unless you add it to the Layout. You use an archive cell for that, and it is the archive cell which generates the list of blog posts which you can customise the output style of, not the Layout itself. Although the archive is for blog posts (i.e. standard WordPress posts), in the archive cell you can specify other content types to include as well as, or instead of, blog posts.
Thanks, Nigel, for your very quick response.
But somehow, I'm still stuck.
Here's what I did:
1) Created a WordPress Archive. (image attached)
2) Added a WordPress Archive Cell into the Layout for Home-blog Archives. (image attached)
But then, I'm stuck.
When I go to the painful page, I still get the same page as before and in trying to change the template, the Layout in Step 2 above is not available as an option.
What am I doing wrong or missing?
Thanks in advance.
I can't tell from your description alone what the issue is.
Shall I take a look at your site?
I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to break anything.
I took a look at your site and it appears to be working correctly.
You have a Layout which is assigned to the blog archive.
Because of your Settings > Reading configuration, the blog is shown on the page "Painful".
If I visit hidden link then I see the custom archive you have created as part of the Layout.
That is what I expected to see and it works correctly.
If you edit the painful page in the backend there is nothing that you need to set there. It is not a page like other pages, because of your settings, it is just a placeholder to tell WordPress what URL to show the blog archive on. Any content you add to that page will be ignored.
Thanks, Nigel.
What I was trying to do is change the formatting on the Home Page at the Painful section, or as the archive page refers to it as Home/Blog.
How do I accomplish this?
Yep, that's the page.
I'm using the twenty seventeen theme from WordPress.
The pages that show up on this home page are customized using the Customize sub-menu button in the Appearance menu. I selected the specific pages I wanted to appear on this Home page, and then was able to create the layouts with Toolset for all the pages and everything came out fine except the Layout for Home-Blog Archives (image attached). When I preview this layout, it gives the option of previewing both the blog page on the Home page as well as the Blog page itself (image attached). The Blog page comes out fine (as previously discussed), however the blog page that appears on the Home page appears unaffected. What do you suggest next?
Not sure if I'm on the right track, but searching on the twenty seventeen forum, this is what I came across:
1) Create a child theme
2) Copy to the child theme and modify the following file from the twenty seventeen theme:
twentyseventeen >> templates-parts >> page >> content-front-page-panels.php
But how exactly do I modify this file to pick up the Toolset layout I created for blog, I don't know. Help!
I'm really sorry for the delay getting back to you. Because this is in the community forum it's easy for me to overlook. Please be sure to post future questions in the Technical Support forum which is for Toolset clients only and where you will receive more prompt attention than here.
Looking again at your site, I understand now you are using the twentyseventeen theme feature to include pages in panels on the front page.
The section which is the blog section is displaying the default blog archive from the theme and not using your Layout that you assigned to the blog archive. I would say this is to be expected, because the Layout is effective when visiting the URL of the blog page, and in this case it is being used out of context at a different URL.
What you can do is instead create a View that displays your blog posts how you want them (much the same as your custom archive) and then insert this View onto a static page. Then use the customizer to show this page in the section where you have currently inserted the blog archive page.