Site logo

Archived topic

Button GenerateBlocks as Read more bottum GeneratePress

7 replies · Started by Arno on February 28, 2022

Viewing posts 1–8 of 8

How can I add the GenerateBlocks Button as the read more button for the standard GeneretePress template Blog

regards,

Arno Schouten

I have a Premium account Generate Press and GenerateBlocks Pro

Hi Arno,

You can create a block element, set the element type to hook, choose after_entry_content as hook name, choose blog and/or all archive as location.

Hi there,

is there any reason you want to use a GB Button for the Read More? If its simply for styling then i could just provide you some CSS - it would be easier then trying to position the GB button.

Let me know

I thought by using GenerateBlocks buttons I can create an unambiguous layout for the buttons on the website with the option of the icons. That's the reason.
I have now done it in the red button with a ->

I can imagine that I can adjust a hook in the blog template, but that is cumbersome.

I can of course design via css.

The layout you currently have relies on Floats to align the image on the left, which works fine IF the button is part of the Excerpt. Problem with adding a GB Button using a Hook is it cannot be in the excerpt.

The alternative approach would be to design the entire content template:

https://docs.generatepress.com/article/block-element-content-template/

That option includes a Template named Landscape to get started with. Then you have the freedom to visually design that layout.

I'm going to work with it, and find out what the best option is for the website. Edit via css or via the block editor. Thanks!

Regards,

Arno Schouten

You're welcome

This archived topic is closed to new replies.