Archived topic
how to get this with generatepress and generateblocks
19 replies · Started by bruce on July 18, 2022
hello
i need rebuild the website with gp and gpblocks
the site url is tuncang.cn
about homepage i have one issue ,i do not know how to get it.

thanks.
Hi Bruce,
Are these posts? You can use a Query Loop Block to Achieve that if so.
To learn about using GenerateBlocks, a video like this might be helpful for reference: https://youtu.be/4x6CjGOyagc?t=150
So for that specific section, you’ll need a Grid Block that has two columns, and inside both is a Button Block and a Query Loop Block.
The Query Loop Block should have a Grid Block with two columns as well. Change the width of the first container to 33% or a value of your preference. Then, add a GB Image Block. Set its dynamic settings.
On the right container, add two headline. blocks for the title and for the date.
Hope this clarifies!
hello
this is the homepage about the website.
gb image block with dynamic settings can use ?
or dynamic data only use in element.
thanks.
Hi there,
if you use the GB Query Loop Block, then you use the GB Image Block with Dynamic settings.
i use element Achieve and in homepage i hook this element ?
thanks.
Your homepage is more like a static page, I think building the page directly using GB's query loop block is the way to go.
https://docs.generateblocks.com/article/query-loop-overview/
hello
please see the website https://new.tuncang.cn/
i use GB'S query loop block.
but i have some question about it:
1,how to change the title's font size?
2,how to display posts featured images ?
thanks.
1,i already know how to set.
2,still need help
3,how to change the default post category?
thanks.
2,how to display posts featured images ?
There's a GB image block, the image block allows you to dynamically it to featured image:
https://docs.generateblocks.com/article/image-overview/
3,how to change the default post category?
You can add parameters to the query loop to choose category/categories:
https://docs.generateblocks.com/article/query-loop-overview/
hello
i think i do not know how to use GB'S iamge block wich dynamic data.
also do not know how to get gb's black and query loop in one container.
can you help me set it ?
the website's login info in private infomation black.
thanks.
Sorry, I can't set it directly for you, but I will guide you through it.
1. In the GB image block's overview, you can see the dynamic data section. In your page editor, select the GB image block (make sure it's GB image block, not the WP core image block), you will see the dynamic data section on the right toolbar.
https://docs.generateblocks.com/article/image-overview/#dynamic-data
2. You can add any GB block into the Query loop block, apart from it generating loops, you can treat it as a Grid block.
hello
thanks.
already know how to use query loop block but still have some question.
1,how to display the title's underline;
2,how to use query loop block query different category's posts , i read this https://docs.generateblocks.com/article/query-loop-overview/ but no more details about Parameters.
still visit https://new.tuncang.cn/
thanks.
1. It looks like the titles are already underlined.
2. Add Categories as new Taxonomies, then you can add terms.
https://www.screencast.com/t/hgF7kT6Kzr
hello
1,i mean no display title's underline,sorry for my poor english;
2,please see the pic .why i can not find taxonomies.
thanks.
No worries :)
1. You can go to customizer > general and change the underline links settings there:
https://www.screencast.com/t/A3BJ7bLnZ0
2. You can scroll down to see more options, or you can enter taxonomies directly into the Select query parameter field to search.
https://www.screencast.com/t/DVDHn9gIW