Skip Navigation

[Resolved] Problem mit der Anzeige eines Inhaltstemplates in Archiveseiten.

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 25 replies, has 2 voices.

Last updated by frankW 4 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1534641

Hi there,

I tested a lot because of my problem on the weekend. There is the same problem with the "TwentyTwenty" theme. Maybe the error is in my user archive or the content template used here. I could only save my database in Gzip format. That's why I haven't been able to upload them to you yet.

What do we do next?

Kind regards

#1534845

You can put your database dump file in your own google drive disk, and share the link in below private message box, thanks

#1539985
pagination-link.JPG

Thanks for the details, I can install the database dump file in my localhost.

I have tested the home page, but I don't see the button "Ältere Beiträge", instead I see the normal pagination links, see screenshot:
pagination-link.JPG

How do you setup the button "Ältere Beiträge"? with other plugin/theme? Please provide detail steps to duplicate the same problem. Thanks

#1541197

Hi there.

I don't see the pagnation links but the "Older posts" button.

I changed my website to the standard theme "TwentyTwenty". The homepage (blog) currently runs via the archive created with Toolset. Other archives (category or similar) are displayed via the original archive of the theme.

Kind regards

#1541199

... then it is still so that the archive in the "TwentyTwenty" theme is displayed on the extreme left instead of in the middle.

Kind regards

#1541287

Hello again.

I have already solved the problem with aligning the archive in the TwentyTwenty theme.

So the only problem is the difference after clicking the "Older posts" button

Kind regards

#1541721

I have checked it in your website home page:
hidden link

It is using Views WordPress Archive(ID: 8333), but in my localhost, the Views WordPress Archive name is "Start/Blog, Suchergebnisse, Autorenarchive, Jahresarchive, Monatsarchive, Tagesarchive, Kategorien, Schlagwörter", there isn't "Older posts" button in it, so I see different result as your website, please backup your website, and provide your website credentials in below private message box, I need to test and debug it in a live website. Thanks

#1544053

In order to locate the problem, I have tried these in your website:
1) Deactivate all other plugins except Toolset plugins.
Test the home page again, I can see the pagination links, and they works fine:
hidden link

2) Activate all other plugins one by one, but I don't see the "Ältere Beiträge" button any more, so it should output from other plugins of your website, can you confirm it?

#1544083

Hi there.
Thank you for your message. My original problem was not the paging links themselves, but the display of the other template after clicking it.

I first reactivated my Costum archive. (8333 start / blog, search results, author archives, annual archives, monthly archives, daily archives, categories, keywords).

Now after clicking the pagnation links, the same and correct template is displayed.

There is another problem: the double premium separator
(Contribution separator) directly above the pagnation links.
(see here: hidden link) and the too large gap between the individual contributions, especially in the responsive ad.

Maybe we'll get these 2 problems solved.

Thanks a lot!

Kind regards

#1544115

For the new question:
Q1) the double premium separator,
The first separator(HTML hr tag) is outputted from your content template:
hidden link

<div class="separator"><hr class="post-separator styled-separator is-style-wide section-inner" aria-hidden="true"></div>

The second separater is outputted from 2020 theme file:
template-parts/pagination.php, line 51:

<hr class="styled-separator pagination-separator is-style-wide" aria-hidden="true" />

If you want remove the second separater, you can copy the same file template-parts/pagination.php into your child theme folder, and remove the codes I mentioned above.

More help:
https://developer.wordpress.org/themes/advanced-topics/child-themes/

Q2) too large gap between the individual contributions

This is a CSS problem, you can setup CSS codes to overider it, for example:

hr{
	margin-top: 5px;
	margin-bottom: 5px;
}
#1545933

After a few modifications, the display of my archives in the desktop and responsive version is now fine thanks to your help. The problem with the changed display after actuation of the pagination probably caused the plugin Jetpack from WordPress.

Thank you very much for your patience and help !!

Kind regards