- This topic has 5 replies, 3 voices, and was last updated 3 years, 5 months ago by
Fernando.
-
AuthorPosts
-
November 17, 2022 at 2:30 am #2419257
Jodie
Hi,
I want to change the post titles for the articles featured in category post archives without changing the titles on the single posts.
How can I do this please? Thanks for your help!
Cheers Jodie
November 17, 2022 at 5:24 am #2419452David
StaffCustomer SupportHi there,
looks like you have used Block Elements to build your archive pages.
If thats correct, you can edit those elements, select the Blocks for the title and change them in the blocks settings.Alternatively, if you want to create custom styles for archives that you set in the Customizer:
1. Customizer > Typography
2. Add New Typography.
3. Select from the Element list -> Custom.
3.1 This will provide a Custom CSS Class field which we can add a selector.
4. Add your specific styles.
5. Repeat this for as many custom styles you require.So which selectors to use for the archives – all of them will begin with
.archiveso to change:H2 use:
.archive h2
P use:.archive pEtc.
Let me know 🙂
November 17, 2022 at 6:38 pm #2420681Jodie
Thank you as always David. I don’t think I’ve made myself clear.
In the “blog roll” of a category archive page as I understand it, the text underneath the featured image is pulled in from the H! of the post automatically.Is there a way to have paragraph text that I can write underneath the featured image in the blog roll instead of it automatically pulling in the h1 title of that post?
Cheers Jodie
November 17, 2022 at 7:14 pm #2420694Fernando Customer Support
Hi Jodie,
To clarify, are you referring to adding a different Title uniquely for all posts, and show this unique title only on the Blog/Archive pages?
November 17, 2022 at 7:23 pm #2420698Jodie
Hi Fernando,
Yes, that’s right. Thank you!
November 17, 2022 at 7:34 pm #2420702Fernando Customer Support
I see. Are you already familiar with ACF plugin? If not, here’s an article you may refer to https://www.advancedcustomfields.com/resources/getting-started-with-acf/
Basically, you’ll need to add custom Post meta text fields for all your single posts.
Then, since you’re already using a Block Element – Content Template, you can just add a GenerateBlocks Headline Block to retrieve the value of the custom field you just created. To do so, enable dynamic data, set the content source to Post meta, and then set the field name of your custom field. Reference: https://docs.generateblocks.com/article/headline-overview/
This should allow you to do as such.
-
AuthorPosts
- You must be logged in to reply to this topic.