Archived topic
Archive customize page view
7 replies · Started by Marcell-Andre on October 5, 2022
Hello
Unfortunately, I can't use the search function because my school English is too bad, so I have to use Deepl as a translation from German to English.
I have the following request and need technical support for it. Currently, the archive pages are structured as follows:
Pages Title
Text excerpt
Read more as a link to the corresponding post.
I would like to have the following structure:
Page title as a link to the text
Text excerpt
Read more as CSS box with link to the corresponding post.
For texts that are split by page break I would like to have a numeric linked display under the Read more button, like at the end of multi-part articles 1 2 3 4.
Thanks for the help
Kind regards
Marcell
Hello Marcell,
You may use a Block Element - Content Template to alter the layout of posts in archive pages.
Through this, you should be able to set the title as a link.
Reference: https://docs.generatepress.com/article/block-element-content-template/
As for paged posts, adding links to each page is not possible through GP or GB features. You would need custom code for this. It would be best to reach out to a developer for this type of customization.
Hello
Thank you very much, with this I am already one step further. With the block I can fade in the title in the archive page. However, I still have the problem that the structure is now as follows:
Page title with link
Page title
excerpt
read more ...
How do I get the page title with link in place of the page title?
Do I have to make a change in the Archive.php file for this?
Kind regards
Marcell
Hi there,
can i see the archive page on your site ?
Hello
Of course, that's no problem the url is: https://www.altenpflegeschueler.de/pflege/
Kind regards
Marcell
Thank you!
Let's try to tackle the two Page titles first.
Did you create two Content Template - Block Elements? Can you enable only one?
Hello
Sometimes you can't see the forest for the trees. That was exactly the mistake, there was already an element. In this one I could link the title now.
Thanks a lot
Kind regards Marcell
You're welcome Marcell!