WordPress.org

Plugin Directory

JS Archive List

JS Archive List

Descrição

This plugin provides a widget and a filter to display a collapsible archive list in your sidebar or posts using the JS JS library.

Funcionalidades

  1. Support for Gutenberg blocks. Add it to any FSE theme or Gutenberg compatible theme.
  2. Display a collapsed list of your archives to reduce space.
  3. Uses vanilla JS to add effects and to be compatible with all browsers.
  4. Select your expand/collapse symbol and date format.
  5. Support for archive filters.
  6. Auto expands current/select year from posts.
  7. Select the categories to exclude
  8. Multiple instances support.
  9. Shortcode support [JsArchiveList]
  10. Generates valid HTML code.
  11. Supports multiple languages.
  12. Compatible with most JS cache and minify plugins.
  13. And more to come…

Configuration

Capturas de tela

Blocos

Este plugin disponibiliza 1 bloco.

JS Archive List A block for displaying an archive list with some effects.

Instalação

  1. Make a directory js-archive-list-widget under /wp-content/plugins/
  2. Upload all downloaded files to /wp-content/plugins/js-archive-list-widget/
  3. Activate plugin at the plugins section.
  4. Go to Presentation -> Widgets and drag the JS Archive List to your sidebar and configure it, if you want to display it inside a post then write [JSArchiveList] at the location where it will be shown and save it.

Perguntas frequentes

Why there are 2 widgets?

Since version 6.0 the widget was migrated to a Gutenberg block. So there will be a Gutenberg block with the most modern code and compatibility and a legacy version that is 100% made in PHP to keep compatibility with older installations.

Why this plugin is not working?

By support experience, like 99% of problems are due to:

  • There’s a Javascript error caused by other plugin, and it stops any further code execution, check your browser’s logs to find the problem and deactivate the conflict plugin.
  • Your template doesn’t have a wp_footer() function, this plugin requires this function to load JS code at the end of the website to improve speed.

I’m using custom permalinks, How can I change the links?

Currently, there’s no function in WP API for getting link for date archives when using custom permalinks. So, you’ll need to modify/hack the source code to support your custom link structure, you can do this by changing the lines where I call get_month_link and get_year_link.

How can I exclude some categories from navigation?

This plugin only shows the posts from included/excluded categories. It does not remove them from the navigation. If you want to do it you have to install a 3rd party plugin like Ultimate Category Excluder or Simple Exclude Categories

How I can send you a translation?

Send me the translated .mo file to migueluseche(a)skatox.com and indicate the language, I can read english or spanish, so please write me on these languages.

Can I use images as bullets or trigger symbols?

Yes, select ‘Empty Space’ as trigger symbol and Save, then you can add any custom background using CSS,
just play with the widget’s classes: .jaw_symbol, .jaw_year, .jaw_month.

Can I show this list inside posts?

Yes, just add the JS Archive List block or add a shortcode block and write [JsArchiveList] anywhere inside a post
or page’s contest and it will be replaced for the archive list when rendering the content. You can add the following
parameters to change its behavior:

  1. showcount ( boolean ): select if you want to show the count post inside that month/year.
  2. showpost ( boolean ): show post’s titles under months.
  3. expand (“none”, “never”, “expand”): never expand by default, current year only and always expand.
  4. month_format (“short”, “full”, “number”): the format of the date.
  5. ex_sym: the expansion symbol.
  6. con_sym: the collapse symbol.
  7. only_sym_link: only expand/collapse when clicking the bullet.
  8. effect (“”, “slide”, “fade”): the JS effect to implement.
  9. exclude: IDs (comma separated) of the categories to exclude.
  10. type: ID of the type of the posts to show, this is if you’re using custom type posts. By default will show posts.

So for example:

[JsArchiveList month_format=number showpost=1 showcount=1 ex_sym=+ con_sym=- effect=slide type=page]

Will show a widget with months as numbers, show posts under months and their count, the symbols are + and – and the effect is fadeIn. You can check source code for more information.

How I contribute to this plugin?

By using it, recommending it to other users, giving it 5 starts at plugin’s WordPress page, suggesting features or coding new features and finally by DONATING using plugin’s website’s donate link.

How can I add multiples instances?

Since 2.0 you can add as many instances as you want, but there’s another way to do it, just add a new Text widget only with the shortcode [JSArchiveList] then it will have a new copy of the widget.

Can I have different instances with different configuration?

Since 2.0 it’s possible. Each instance has its own configuration. Shortcode widgets are controlled by shortcode attributes.

Avaliações

16 março, 2024 1 resposta
Exactly the plugin in I was looking for – A way to show only one of my posts categories in a drop down collapsible menu! I have tried some other plugins, but none of them gave me the customizable options I was looking for.
31 julho, 2023 1 resposta
I was approaching 100 posts over a 5 year period on my blog, and the stock archive widget was getting very long. I was looking for a new plugin that would shrink down the list, and provide expand/contract options for years and months. Alas I find JS Archive List which provided exactly what I was looking for. It offers a smooth and clean look and feel. A slight problem with the title font/size was quickly resolved with the assistance from the developer. Kudos to a terrific plugin and a helpful responsive developer. ⭐️ ⭐️ ⭐️ ⭐️ ⭐️
25 janeiro, 2017 1 resposta
Hello Miguel, Jquery archive list widget is great. You have keep the widget simple but effective. It does what it should. it is difficult to find archive widgets or plugins. It is even more difficult to find archive widgets and plugins that show the archives of blog posts, pages or media. Your widget does this and so much more without making it difficult to use. It is also compatible with other widgets and plugins. Thank you for a fantastic widget. I wish you continued success with this widget and all you do. I hope that will consider maintaining this widget and eventually releasing updates. Best wishes
Leia todas as 46 avaliações

Colaboradores e desenvolvedores

“JS Archive List” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

JS Archive List” foi traduzido para 8 localidades. Agradecemos aos tradutores por suas contribuições.

Traduzir o “JS Archive List” para seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.

Registro de alterações

6.3.1

6.3.0

6.2.1

6.2.0

6.1.7

6.1.6

6.1.5

6.1.4

6.1.3

6.1.2

6.1.1

6.1.0

6.0.5

6.0.1

5.1

5.0

4.0.1

4.0.0

3.0.6

3.0.5

3.0.4

3.0.3

3.0.2

3.0.1

3.0

2.2

2.0.1

2.0

1.4.2

1.4.1

1.4

1.3

1.2.3

1.2.2

1.2.1

1.2

1.1.2

1.1.1

1.1

1.0

0.1.3

Meta

Classificações

4.8 de 5 estrelas.

Colaboradores

Suporte

Tem algo a dizer? Precisa de ajuda?

Ver fórum de suporte

Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

Doe para este plugin