- This topic has 13 replies, 4 voices, and was last updated 3 years ago by
David.
-
AuthorPosts
-
January 11, 2020 at 7:31 pm #1129321
phan cong tai
how to insert author and date post on Use Sections?
January 11, 2020 at 8:03 pm #1129338Leo
StaffCustomer SupportHi there,
Try this:
https://generatepress.com/forums/topic/display-post-meta-in-sections/#post-284619Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 11, 2020 at 8:38 pm #1129343phan cong tai
I mean the author doesn’t show up when I choose Use Sections. What to do?
January 12, 2020 at 11:14 am #1129895Tom
Lead DeveloperLead DeveloperHi there,
Sections remove everything from your page so you have a blank slate to start with.
The function that Leo linked to gives you a shortcode which you can then add to your Sections as needed. So with that function, you can now add
[entry_meta]
in your Section content wherever you want the author/date to show up.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 14, 2020 at 12:22 am #1131334phan cong tai
sorry. I don’t know how to use [entry_meta] like that? Can you show in detail how to do that?
January 14, 2020 at 7:57 am #1131884Tom
Lead DeveloperLead DeveloperFirst, you’ll want to add the function using one of these methods: https://docs.generatepress.com/article/adding-php/
Then, in your content where you type all of your text, you can paste that shortcode:
[entry_meta]
So let’s say this is your content area:
Your Page Title Here [entry_meta] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eu maximus nulla, ut aliquet purus. Sed imperdiet neque enim, sed hendrerit ex dictum a. Praesent in risus in purus tincidunt tempor nec quis dui. Nunc ultricies tempus pulvinar. Aenean dictum arcu erat, sed tempor nisl vehicula nec. Curabitur lobortis egestas sagittis. Quisque enim enim, blandit vel ipsum nec, semper ultricies mauris. Duis quis maximus magna. Donec lobortis vulputate porta. Sed dignissim sagittis arcu eu volutpat. Duis dignissim est eu lorem pellentesque, in eleifend sapien pellentesque. Sed ornare magna non posuere condimentum. Curabitur iaculis porta metus quis aliquam. Proin vel sagittis velit.
Let me know if that helps or not 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 15, 2020 at 3:35 am #1132688phan cong tai
Where do I paste this code?: Can you give detailed instructions?
January 15, 2020 at 8:48 am #1133119Leo
StaffCustomer SupportOne of these methods:
https://docs.generatepress.com/article/adding-php/Code snippets plugin is the easiest if you aren’t using a child theme already.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 16, 2020 at 12:02 am #1133714phan cong tai
I have succeeded. But how to customize author page link?
January 16, 2020 at 4:34 am #1133908David
StaffCustomer SupportHi there,
how do you want to customize it? For example this CSS will allow you to change the color and font size:
.author.vcard a { color: #ff0000; font-size: 17px; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 16, 2020 at 7:44 pm #1134639phan cong tai
I do want to point the author link to this page: https://nhomkinhcongtri.com/phan-cong-tai/
January 17, 2020 at 5:05 am #1134932David
StaffCustomer SupportThis topic explains how to redirect author page:
https://generatepress.com/forums/topic/author-link-to-wordpress-bio-or-about-us-page/#post-936850
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 18, 2020 at 6:24 am #1135941phan cong tai
I have succeeded! Thanks everyone.
January 19, 2020 at 4:05 am #1136686David
StaffCustomer SupportGlad we could be of help
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.