Archived topic
How to add copyright information to the bottom of each article
31 replies · Started by RYAN on November 17, 2022
Here are my own websites and links to websites I want to imitate
Yes, that's the one we're trying to achieve, we're just first setting up the structure.
You basically need a structure like this: https://share.getcloudapp.com/8Lugdbyj
You don't need to mind what "cu-headline-link" is. It's arbitrary. It's just a variable set as a Block class that we used code-wise to denote which the code will work on.
There's no other place you need it set up, just the one Headline Block as shown in the screenshot.
After you've set the structure, you should be able to easily alter the layout/appearance of the section through the Block Settings.
Okay, I see. I love you so much
The next problem is。。
How to keep the width of the newly added section the same as that of the article page,
I've been looking for them for a long time, but I don't know how to set them to the same width
I see. Try setting the Hook Name of the Block Element to after_main_content.
Let us know how it goes.
Ha ha ha, its OK, I love you so much
Then, how can I set the settings like him
You can place the Dynamic Headline Blocks you have in two separate Container Blocks, then add another Headline Block for each Container Block for the static text - Article name and Article link.
Then, set all of the Headline Blocks to Inline Width in the Spacing section of their Block settings.
Example: https://share.getcloudapp.com/WnuZwLe6
Video Example: https://share.getcloudapp.com/xQuO9GZZ
Ha ha ha, finally
Next, I have other questions. I have a lot of questions. I hope you can forgive me
How to set the effect that I can have in the picture
The "Like" Button is likely from a third-party plugin. Perhaps this article may assist you: https://betterstudio.com/wordpress-plugins/best-wordpress-like-button-plugins/
For the Post Navigation, you can use a Block Element - Post Navigation Block to style your Post Navigation as you prefer.
Reference: https://docs.generatepress.com/article/block-element-post-navigation/
If I only want to use code generation, how can I set it? I don't want to use plug-ins, and I can't use other functions of plug-ins
You will need to use a plugin for the Like button or you will need to have it custom developed, it is out of scope in our forum.
How do I make A and B exchange positions? I want the description of B to be in front of A
In the Hook Element, there is a Priority field.
If you have 2 elements using the same Hook, then set their priority - a lower priority number eg. 5 will display before a higher number eg. 15
I set Priority, but it still doesn't work
Try changing the Hook Name of "A" to after_main_content as well. Then, make the priority changes necessary.