- This topic has 31 replies, 3 voices, and was last updated 1 year, 4 months ago by Fernando.
-
AuthorPosts
-
December 1, 2022 at 12:49 am #2444051RYAN
Here are my own websites and links to websites I want to imitate
December 1, 2022 at 1:03 am #2444065Fernando Customer SupportYes, 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.
December 1, 2022 at 1:50 am #2444144RYANOkay, 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
December 1, 2022 at 2:07 am #2444162Fernando Customer SupportI see. Try setting the Hook Name of the Block Element to
after_main_content
.Let us know how it goes.
December 1, 2022 at 3:10 am #2444212RYANHa ha ha, its OK, I love you so much
December 1, 2022 at 3:16 am #2444215RYANThen, how can I set the settings like him
December 1, 2022 at 5:06 pm #2445853Fernando Customer SupportYou 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/xQuO9GZZDecember 1, 2022 at 7:43 pm #2445972RYANHa 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
December 1, 2022 at 9:42 pm #2446057Fernando Customer SupportThe “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/
December 2, 2022 at 5:26 am #2446592RYANIf 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
December 2, 2022 at 5:48 am #2446631DavidStaffCustomer SupportYou 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.
December 4, 2022 at 12:29 am #2448728RYANHow do I make A and B exchange positions? I want the description of B to be in front of A
December 4, 2022 at 6:36 am #2448995DavidStaffCustomer SupportIn 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
December 4, 2022 at 8:31 am #2449197RYANI set Priority, but it still doesn’t work
December 4, 2022 at 7:32 pm #2449640Fernando Customer SupportTry changing the Hook Name of “A” to
after_main_content
as well. Then, make the priority changes necessary. -
AuthorPosts
- You must be logged in to reply to this topic.