Este plugin não foi testado com as 3 atualizações principais mais recentes do WordPress. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Search & Index Page Content

Descrição

If you are looking for a simple way to index the content of a long WordPress page or post, this plugin is your ticket.

Just like the “Content” quick-links on the right of every WordPress.org Codex page, this widget will automatically create a list of links to each header in the content of the pages you wish to index. You don’t need to create any anchor links for this to work.

By default, it also includes an on-page search form so that users can easily find anything on the page that is indexed.

The plugin is extremely light, unobtrusive and easy to use. It will only show up on sidebars of pages in which you use the [SIPC_Content] shortcode. This plugin will load jquery on pages that use the shortcode if you theme doesn’t already.

See a live demo here

Suggested Uses

  • Create simple FAQ pages without complex use of Custom Post Types.
  • Make your long posts easier to reference.
  • Leave a review to tell me how YOU used this plugin.

Languages

Available in Spanish and Serbian.

Imagens de tela

  • By default, the widget shows a contextual search form and index of headers on the page.
  • View of the widget options.

Instalação

  1. Upload the search-index-page-content folder to the /wp-content/plugins/ directory, or simply find and install it in WordPress under Plugins > Add New
  2. Activate the Search & Index Page Content plugin on the Plugins page in WordPress
  3. Slide the new Search & Index Page Content widget into a sidebar and pick your options.
  4. Edit the pages and posts you wish the widget to appear on by surrounding all their content with the [SIPC_Content] shortcode as such, and don’t forget to use the closing tag [/SIPC_Content]

FAQ

I placed the widget in a sidebar but it won’t show up!

The widget is built to only show up on pages and posts for which the content has been surrounded by the [SIPC_Content] opening and closing shortcode tags as seen here:

[SIPC_Content]

All page / post content goes here.
Headers will be indexed and content will be searchable.

[/SIPC_Content]

The reason being that you most likely only have a few pages or posts that are long enough to deserve an index. Wouldn’t it be annoying if this widget showed up on every page and post, even short ones with no headers?

How does this plugin work? I used to manually create anchor links…

The plugin basically uses jquery (javascript) to search the content surrounded by the shortcode for headers and creates the links automatically each time the page is loaded. This all happens after the page is loaded, on the client side. The benefits are obvious: you no longer need to worry about updating anchor links manually, users get to reference long pages easily and the server doesn’t do any extra work.

Avaliações

3 setembro, 2016
This is a great plugin, and much needed for those running site with lengthy post/page content. The index generation is smart! But the ability to query a single page, I feel, is the real value of this plugin. It would be significantly improved if it included the ability for user to see search results in linked list (like the index) and/or be able to jump through results on some kind of nav click. Really looking forward to future development of this project and possible shortcode option for placement of index/search outside of widget!
3 setembro, 2016
Works great on a one page site with a very very long list of names and users will want to find their name in the list. Works like a dream
Leia todas as 3 avaliações

Colaboradores e desenvolvedores

“Search & Index Page Content” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Registro de alterações

1.4

  • Now includes translation in Spanish provided by Andrew Kurtis at http://WebHostingHub.com/

1.3

  • Now includes translation in Serbian provided by Ogi Djuraskovic at http://FirstSiteGuide.com/

1.2

  • Added Localization and .pot file to enable translations

1.1

  • Bug fix of scrollTo

1.0

  • Initial realease of the plugin
  • Currently uses widget only, shortcode will be included in next version.