Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Wp NonRegContent

Beskrivning

Use this to display a short synopsis to readers who are not logged in and logged in readers see the entire article minus the synopsis. To display content for non logged in readers, text situated between the [r] and [/] will be displayed. To display content for logged in readers, text situated between the [n] and [] will be shown. This plugin allows you to hide portions of the post from both logged in and not logged in readers. You can edit the single.php page to include a reminder that to read the entire post, you must login and/or register. This plug-in is based on UCanHide by Jeremy Poulain (http://betablog.free.fr) which was based on Hidethis by Mark Edwards (http://www.edwards.org/tags/Wordpress).

Version History

Version 1.0

  • First and only release
  • You can edit as you please

Installation

  1. Copy Wp_nonregcontent.php into your WordPress plugins folder, normally located
    in /wp-content/plugins/

Vanliga frågor

To hide text from non-logged in readers, place text between the two tags [n] []. Text between [r] & [/] will be displayed.

To hide text from logged in readers, place text between the two tags [r] [/]. Text between [n] & [] will be displayed.

Example post:
[r]
Synopsis only non logged in readers can see.
[/]
[n]
Entire article only logged in readers can see.
[]

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Wp NonRegContent” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Wp NonRegContent” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.