Hey all, I’m new to using Blocs.
I’m creating a Wordpress template (very simple) and I have my post loop.
What I want is to have the top two posts larger than the bottom two posts. Is this possible? See my screenshot…, is this something I can do in Blocs itself? or will I have to to manually edit the theme PHP file?
At this point there’s no way to add two separate wp content blocs that allow us to specify the output of each content bloc. So adding two of those would simple add duplicate output to your page, basically two times the same output.
I’ve actually just recently made some suggestions to @norm to improve the loop output (for example allowing to select a custom post type). It seems this might be a great addition to those suggestions.
Hi @Norm, thanks for clarifying this. I’ve been missing this option to all this time. Could you give me any pointers on how to make this work? Because currently, whilst having a custom post type “Apple”, I cannot seem to select it for output in the wp-content bric:
Im not sure what your goal is but the WP Content Bric will add the following snippet to the page:
<?php the_content(); ?>
This should ideally be used on the single (or apples) post page template to load the content for the post. Using it outside of a loop will default to the first standard post of on the Wordpress site.
If your intention is to load custom post data onto a page outside of the dedicated post page, then you would need to pull it in with a post loop.
You do this by selecting the column and setting the loop type.
If I place the WP Content Bric inside the apple post loop column, it will now work and populate with the content from the apple post.
Could you give me an example of how I could use css to edit the first two columns in the post loop? I’m confused as you add just one column when applying a loop…