- This topic has 11 replies, 2 voices, and was last updated 5 years, 5 months ago by
Leo.
-
AuthorPosts
-
December 12, 2017 at 10:26 pm #448295
Swadhin
Hi Tom,
I am sorry I am throwing a list of issues, I am just switching and am facing these issues on the staged site. Could you please help. The 2nd question is the most crucial one π
1) How do I display related posts on the generatepress theme? I’d prefer a code but if a plugin is what we have to use then what do you suggest?
2) How to disable showing some categories or tags (I am okay with anyone setting too) from the blog archives.
3) How to center align the read more button on blog archives like this blog (https://backlinko.com/blog)
4) How to remove the link to the author in the blogpost/archives. (The author name stays only the hyperlink is removed)
5) How to center align the captions to images. They are left aligned by default which doesn’t look good.
Thanks so much for the help π
December 13, 2017 at 8:52 am #448697Leo
StaffCustomer SupportHi there,
1) A plugin is needed. Maybe an article like this might help: http://www.wpbeginner.com/plugins/5-best-related-posts-plugins-for-wordpress/
I usually go by plugin review ratings when I look for plugins on WordPress repo. They are usually quite good.
2) The settings are in here: https://docs.generatepress.com/article/blog-content-layout/#archives
3) Try this CSS:
.read-more-container { text-align: center; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
4) https://generatepress.com/forums/topic/disabling-linking-to-authors-posts/#post-110297
5) Try this CSS:
figcaption.wp-caption-text { text-align: center; }
Can you provide a link to your site if the CSS doesn’t work?
December 17, 2017 at 9:12 am #451478Swadhin
HI Leo,
Thanks a ton for the answers. Here are my responses.
1) Okay. I’ll do that
2) That seems greek to me. Is there an easy way or in anyway can you do that for me? I am a novice in touching theme files
3)The CSS only aligned the button to the center. If you view the link I gave you again, you’ll see the button is spread horizontally across the content container.
4) Again hard, but I think I can try doing it. I’ll let you know. (Leo, will these changes I make go away when I update the theme in future?)
5) Awesome! It fixed the issue.Thanks. π
May I know any resources you have to design sites, and a page where you have all your codes and plugins and child themes listed? Like recently, I came to know about WP SHow Posts plugins, I’d never know about it had I missed a FB status of a friend who loved it. So please make it easier to find your resources. π
December 17, 2017 at 10:32 am #451528Leo
StaffCustomer Support2) Should be easy enough to do it by yourself following the documentation page. They are just check boxes.
3) This should do:
.read-more-container a { display: block; }
4) Not if you use one of Tom’s methods to add PHP.
There are too much custom code to list them out. Our documentation pages are very up to date and is definitely the best place to learn GP.
You can find all of Tom’s child themes and plugins here: https://tomusborne.com/
December 17, 2017 at 8:49 pm #451792Swadhin
Hi Leo,
Thanks so much for the timely help. I will try out the other things and reach out to you if I need your help.For now, the button became exactly as I need, but the “read more” text is still in the left aligned position. What should I do to place the text in the center? It would be very kind of you if you can also let me know how to add a border radius of 2 px so the corners don’t look so sharp. Thanks again. π
Thanks for the resources. π
December 17, 2017 at 8:53 pm #451795Leo
StaffCustomer SupportHmm the read more should be center with both CSS I’ve provided.
If not can you link me to the page in question?
Thanks!
December 17, 2017 at 9:01 pm #451796Swadhin
Here is the link to the image Leo. https://imgur.com/a/SMLNH
December 17, 2017 at 9:05 pm #451800Leo
StaffCustomer SupportImage doesn’t really help.
CSS in #3 here should’ve centered the text: https://generatepress.com/forums/topic/tom-need-your-help-here/#post-448697
I’ll need to see the page to see why it isn’t working.
December 17, 2017 at 9:29 pm #451813Swadhin
Hi Leo, I added this code and it worked. I had removed the code you provided earlier to add the most recent one you provided and hence the text-align: center; code was missing I guess.
.read-more-container a {
text-align: center;
display: block;
}Leo, what code should I place to make my buttons (globally) have a radius of 2px in corners so they don’t look pointed?
P.S. Is there any way generatepress supports having a CTA button on the menu?
December 18, 2017 at 5:18 am #452043Leo
StaffCustomer SupportFor all the buttons?
You’d need:
.button { border-radius: 2px; }
Buttons in menu: https://docs.generatepress.com/article/adding-buttons-navigation/
We have lots of good stuff in documentation page π
December 18, 2017 at 7:12 am #452195Swadhin
OMG! I’m lovin it Leo. Thanks. I will now devour each page of the documentation (those that are not too technical :P)
Thanks and have a great week ahead. π
December 18, 2017 at 11:39 am #452384Leo
StaffCustomer SupportNo problem π
You as well!
-
AuthorPosts
- You must be logged in to reply to this topic.