Archived topic
Template adjustement
9 replies · Started by Francesco on March 17, 2021
Hi there,
I would love to know if, in Coach template, I can add the "about the author" section in the end of each post.
Thanks
Hi there,
does the site have a single author or multiple authors?
Hi David,
Just single author
Hi Francesco,
You could use Block element to build an Arthur box.
https://docs.generatepress.com/article/block-element-overview/
1. Choose Hook as block type.
2. Choose generate_after_content as hook.
3. Choose posts > all posts as location under display rule.
Let me know how it works.
Ok can you tell me what is the code (or shortcode) to build the author box?
Thanks
Block element is using Gutenburg, so you can use block editor to build it by yourself without using codes.
Unfortuanly I can't really tell you how to build it since I've no idea what kind of author box you are looking for.
This one is using Generateblock as block editor, you can install this plugin first.
https://wordpress.org/plugins/generateblocks/
Then create a structure like this in the block element:
https://www.screencast.com/t/ysc2qfXmD5
Set container B-1 width to 20%, container B-2 width to 80%.
After the bock is built, follow the 1,2,3 steps I provided here:
https://generatepress.com/forums/topic/template-adjustement/#post-1699328
thanks.....I'm going to set up everything
Great!
Let us know if you need help while building it.
