- This topic has 30 replies, 5 voices, and was last updated 1 month, 1 week ago by
Fernando.
-
AuthorPosts
-
January 28, 2023 at 8:34 am #2512187
Karan
I want to create a hero section where i want the featured images, a dynamic paragraph, and dynamic Social media icon.
For better understanding please check the screen shot.
January 28, 2023 at 12:36 pm #2512340Leo
StaffCustomer SupportHi there,
The two author box videos here should help:
https://docs.generatepress.com/article/block-element-hook/#examplesLet me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 29, 2023 at 12:55 am #2512690Karan
Thank You Leo for your suggestions. I have gone through the video. And this video is for Author Box. Where the social share is for the authors. Which is collected from the Author meta.
My question is, I want a Dynamic Hero block for post. Where the hero section is not about the author, its related to the post. So in every post the details in hero section will change.
Now my question is, I want social icon and a paragraph of that post in the hero section.
For example: If the blog post is about “Book recommended by XYZ”. Then the hero section will have, Featured image about XYZ, His Social Icons and a Paragraph about him…!
For better understanding check the URL.
January 29, 2023 at 5:19 am #2512847David
StaffCustomer SupportHi there,
that data is not related to the post content or the post author.
Which means you need to first implement a way of storing that data.A lot of users will use ACF or PODs plugins to do that.
Which will allow you to store that data in either:a. the post meta ie. on that specific post.
b. a relationship of some sort.For example if the data was unique to a specific post, then you would use option A.
If however that data was for say a book author that may appear in many of your posts, then option B makes more sense.But you would first need to set up one of those methods and once the data is there we point you in the direction of how to display the data.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 29, 2023 at 5:32 am #2512851Karan
Thank you david. Let me download those apps.
January 29, 2023 at 6:15 am #2512883David
StaffCustomer SupportYou should choose one or the other, as they do very similar things.
Glad to be of help.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 1, 2023 at 4:15 am #2516853Karan
Hello David, as you said. I have stored the data by creating ACF. Now please guide me how to display the social link in the Hero block.
Please check the Screen shot…!
February 1, 2023 at 8:39 am #2517224David
StaffCustomer SupportUse a Headline block, set its Dynamic Data to:
Post Meta
and in the field provided add the ACF field name,Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 1, 2023 at 10:42 pm #2517942Karan
David I have tried this. Only the “Text” is Working. The Link is not working. Please help me with it.
February 1, 2023 at 11:03 pm #2517965Fernando Customer Support
Hi Karan,
So we can take a closer look at your setup, can you provide admin login credentials?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Point us to where we can find this Headling Block you’ve just added as well.
February 2, 2023 at 11:26 pm #2519609Karan
Oh okay Sure…!
February 2, 2023 at 11:41 pm #2519610Fernando Customer Support
Thank you! May we know the login link, and the link to where we can see the Headline Block as well?
February 3, 2023 at 1:19 am #2519684Karan
Sure
February 3, 2023 at 1:24 am #2519688Fernando Customer Support
Can you try setting up the Link Source as such?: https://share.getcloudapp.com/OAu2egz8
February 3, 2023 at 1:49 am #2519708Karan
Thank You Fernando. It’s Working but i want the link to appear in the social Icon form. Please check the Screen shot for better understanding
-
AuthorPosts
- You must be logged in to reply to this topic.