I am using twenty twenty three as a fundation for my website. I use a query look block to present posts in a grid. The post template is used by every post, so I can’t set individual attribute. For example, now I need to add a button to each post, and the button should direct to a specific website varies from posts. With the default button block, I can only set one link and it’s applied to all posts. How can I ahieve my idea?
I’ve created a field called url to store the website link. I tried to inset a code snippet which grab the ‘url’ and output it. But it turns out the file is pure html, it doesn’t run php.
[ad_2]