توسيع جدول المحتويات بالكامل

Is there any way to make the entire TOC show up at once instead of dynamically hiding most of it? A full post outline can be useful for finding a section without knowing and clicking through its ancestry, or so you can just read all the section names as a way to skim a post.

4 إعجابات

I would second this feature request. I can see that this might result in long TOCs, but at least one could add an “expand all” button or Link?

3 إعجابات

I am wondering how the TOC plugin is intended to function as I am finding its behaviour sort of odd. I have attached an animated gif below showing my observed behaviour. Is this intentional?

tocissue

My personal thought/preference is that the TOC is just fully expanded from the start.

Thanks in advance!

4 إعجابات

[اقتباس=“Ralf Stockmann, المشاركة: 2، الموضوع: 270661، اسم المستخدم: Ralf_Stockmann”]
أؤيد طلب هذه الميزة. أرى أن هذا قد يؤدي إلى فهارس محتويات طويلة، ولكن على الأقل يمكن للمرء إضافة زر “توسيع الكل” أو رابط؟
[/اقتباس]

وسأكون ممتنًا حقًا إذا تم تطوير خيار “توسيع الكل” قريبًا.

إعجاب واحد (1)

بينما أحب جدول المحتويات المتوسع ديناميكيًا، أتفق على أنه سيكون من الرائع حقًا أن يكون لديك خيار لعرض جدول محتويات موسع بالكامل للموسوعات الأطول!

5 إعجابات

إليك حيلة قذرة:

.d-toc-sublevel {
	max-height: 500em !important;
    overflow: visible !important;
    opacity: 1 !important;
}

انسخها والصقها في ملف CSS المخصص الخاص بموضوعك في مكان ما في

https://www.your-domain.com/admin/customize/themes/.

7 إعجابات

يعمل بسلاسة :fist_left:

إعجابَين (2)

ستكون هذه إضافة جيدة لتجنب الاعتماد على (المزيد من) CSS.

إعجاب واحد (1)