Title: Collapsed Archives
Author: Matthew Petroff
Published: <strong>دسمبر 31, 2014</strong>
Last modified: اپریل 3, 2021

---

پلگ انز تلاش کریں

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

![](https://s.w.org/plugins/geopattern-icon/collapsed-archives.svg)

# Collapsed Archives

 منجانب [Matthew Petroff](https://profiles.wordpress.org/petroffm/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/collapsed-archives.1.6.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/collapsed-archives/#description)
 * [جائزے](https://ur.wordpress.org/plugins/collapsed-archives/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/collapsed-archives/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/collapsed-archives/#developers)

 [معاونت](https://wordpress.org/support/plugin/collapsed-archives/)

## تفصیل

This plugin adds a widget to display archive links using purely CSS-based collapsing;
no JavaScript is used.

#### انتخابات

 * Post counts can optionally be displayed next to the archive links
 * Choice of either +/- or arrows to indicate expansion
 * Option to never automatically expand list for current post / year
 * Choice between displaying archive links in reverse chronological order or chronological
   order
 * Decades can be collapsed

#### 1.6 (2021-04-03)

 * Added support for collapsing decades (thanks to @PHil-PlainTech)

#### 1.5 (2019-05-05)

 * Fix for warning message in logs

#### 1.4 (2019-04-12)

 * Fixed bug for sites without posts

#### 1.3 (2019-01-16)

 * Fixed deprecation warning in PHP 7.2

#### 1.2 (2018-07-09)

 * Added option for never automatically expanding list for current post / year
 * Fixed issue with wrong year being expanded

#### 1.1 (2015-02-09)

 * Improved theme support

#### 1.0 (2014-12-30)

 * Initial release

[Plugin website](https://github.com/mpetroff/collapsed-archives-wp)

## اسکرین شاٹس

 * [[
 * Example archives list

## انسٹالیشن

For a new installation of the plugin:

 1. Download the zipped plugin file to your local machine
 2. Unzip the file
 3. Upload the "collapsed-archives” folder to your "/wp-content/plugins/” directory
 4. Activate the plugin through the "Plugins” menu in WordPress
 5. Add and configure the widget

If you have already installed this plugin:

 1. Deactivate the plugin
 2. Download the latest files
 3. Follow the new installation steps

## جائزے

![](https://secure.gravatar.com/avatar/9dc69eee7c9cda9f5aa837427b73f38d27804a2c3515ec11b50216128a5c21ce?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-7366/)󠁿

 [phixate](https://profiles.wordpress.org/phixate/) دسمبر 30, 2020

Has all the options I needed to achieve a Blogger-style treeview archive. I’m sure
with some CSS I’ll be able to style it however I want in the future. Great work!

![](https://secure.gravatar.com/avatar/e339210e82cd12fa4428d2768f796fc1df01cf111663b28abbfdc3bd53f28aae?
s=60&d=retro&r=g)

### 󠀁[Does what it’s meant for](https://wordpress.org/support/topic/does-what-its-mean-for/)󠁿

 [lesuave](https://profiles.wordpress.org/lesuave/) مئی 8, 2019

Awesome. And it’s just css.

![](https://secure.gravatar.com/avatar/56d63db5f16208356d16b13ff2b0c7cb4a428e443aaedec903ed8382140618c3?
s=60&d=retro&r=g)

### 󠀁[Nice & simple](https://wordpress.org/support/topic/nice-simple-24/)󠁿

 [50satoshi](https://profiles.wordpress.org/50satoshi/) اگست 2, 2018

Works great, thanks a lot. One thing though, somehow within my theme the alignment
to the left didn’t work out. margin-left: 0 !important; wasn’t enough, it seems.
I fixed it by adding padding-left: 0! important; to .collapsed-archives > ul { }
Also made a modification to add a fade/transition effect to the dropdown. For those
interested it’s just some addition the last few lines of code: /* Toggled content*/.
collapsed-archives input ~ ul { display: inline-block; opacity: 0; transition: opacity
0s linear 0s; -webkit-transition: opacity 0s linear 0s; } .collapsed-archives input:
checked ~ ul { opacity: 1; display: block; transition: opacity 0.5s linear 0s; -
webkit-transition: opacity 0.5s linear 0s; }

![](https://secure.gravatar.com/avatar/a283fbff018b12bd78b3ccee6031c538e4cbb559ca0e310ec31f670fa4e4150a?
s=60&d=retro&r=g)

### 󠀁[Works perfectly and simple to install](https://wordpress.org/support/topic/works-perfectly-and-simple-to-install/)󠁿

 [wongm](https://profiles.wordpress.org/wongm/) دسمبر 27, 2016

Does exactly what the description says, and super easy to install – just drag and
drop the Widget. No PHP or HTML changes to your theme!

![](https://secure.gravatar.com/avatar/d3d1a4d1a91c5d0d7d18ee7a5a5ee8d5fb8f464c621355af8d5a5d5f54521fde?
s=60&d=retro&r=g)

### 󠀁[Incredible!](https://wordpress.org/support/topic/incredible-70/)󠁿

 [Anonymous User](https://profiles.wordpress.org/anonymized-14857447/) ستمبر 3, 
2016

Perfect, thank you for this wonderful plugin. Works a charm and looks the neatest!

 [ تمام 7 جائزے پڑھیں ](https://wordpress.org/support/plugin/collapsed-archives/reviews/)

## شراکت دار اور ڈیویلپرز

“Collapsed Archives” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ
لیا:

شراکت دار

 *   [ Matthew Petroff ](https://profiles.wordpress.org/petroffm/)

[“Collapsed Archives” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/collapsed-archives)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/collapsed-archives/)،
[ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/collapsed-archives/) کو
چیک کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/collapsed-archives/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/collapsed-archives/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 1.6 (2021-04-03)

 * Added support for collapsing decades (thanks to @PHil-PlainTech)

#### 1.5 (2019-05-05)

 * Fix for warning message in logs

#### 1.4 (2019-04-12)

 * Fixed bug for sites without posts

#### 1.3 (2019-01-16)

 * Fixed deprecation warning in PHP 7.2

#### 1.2 (2018-07-09)

 * Added option for never automatically expanding list for current post / year
 * Fixed issue with wrong year being expanded

#### 1.1 (2015-02-09)

 * Improved theme support

#### 1.0 (2014-12-30)

 * Initial release

## میٹا

 *  Version **1.6**
 *  Last updated **5 سال پہلے**
 *  Active installations **1,000+**
 *  WordPress version ** 2.8 یا اس سے جدید **
 *  Tested up to **5.7.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/collapsed-archives/)
 * Tags
 * [archives](https://ur.wordpress.org/plugins/tags/archives/)[collapsing](https://ur.wordpress.org/plugins/tags/collapsing/)
   [css](https://ur.wordpress.org/plugins/tags/css/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/collapsed-archives/advanced/)

## درجہ بندیاں

 5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/collapsed-archives/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/collapsed-archives/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/collapsed-archives/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/collapsed-archives/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/collapsed-archives/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/collapsed-archives/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/collapsed-archives/reviews/)

## شراکت دار

 *   [ Matthew Petroff ](https://profiles.wordpress.org/petroffm/)

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/collapsed-archives/)