Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Show Private

Skildring

This plugin provides access to «Private Pages» and «Private Attachments» for everyone using their direct link and removes «Private» prefix from title of this pages.

Installasjon

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the «Plugins» menu in WordPress
  3. Deactivate plugin any time to disable its effect.

Vanlege spm.

A page of my weblog is set to Private but it is indexed by google. Why?

There are diffrent situations:
Maybe there is a link to the private page in another public page, in XML site map, another site, etc.
You may add «noindex» meta directive for this kind of pages if required.

Omtalar

20. mars 2017
Thanks for this plugin! It has saved me so much work. I can now ensure that certain posts are shareable via URL but do not show up in archive pages. To be doubly sure that these private posts did not show up in search engine results, I used a custom field that inserts robots noindex meta to the head of the page. function add_meta_noindex() { global $post; $noindex = get_post_meta($post->ID, 'noindex-post', true); if ($noindex) { echo "<meta name=\"robots\" content=\"noindex,nofollow,noarchive,nocache,nosnippet,noodp,noydir,noimageindex\" />\n"; } } add_action('wp_head', 'add_meta_noindex');
Les alle 6 omtalar

Bidragsytarar og utviklarar

“Show Private” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

0.2.1

  • fixed a bug with private attachments in Media Library

0.2

  • support for private attachments added( needs test with diffrent themes and plugins )

0.1

  • first release