Скочи на садржај
WordPress.org

Српски

  • Теме
  • Додаци
  • Новости
    • Документација
    • Форуми
  • Информације
  • Упутства
  • Речник
  • @wp_sr
  • Организација
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Login to read more

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Овај додатак није испробан са последња 3 главна издања Вордпреса.Можда се више не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

Login to read more

Takayuki Miyauchi
Преузимање
  • Детаљи
  • Прегледи
  • Постављање
  • Изградња
Подршка

Опис

Display content enclosed by the shortcode for registered users only.

[auth]This content will display for registered users only[/auth]

https://github.com/miya0001/login-to-read-more

Arguments

  • class – Class name for css. default value is „btn btn-primary btn-large“
  • href – Link URL for button. default value is login url for your site
  • text – Button text. default value is „Login to read more“

The following will add a class as argument.

Example: [auth class="foo"]
Output: <a class="foo" ...>...</a>

The following will change url link.

Example: [auth href="http://example.com/xxx/"]
Output: <a href="http://example.com/xxx/" ...>...</a>

The following will change text.

Example: [auth text="Join"]
Output: <a ...>Join</a>

Filter Hook

  • login_to_read_more_class – Change default class.
  • login_to_read_more_href – Change default url.
  • login_to_read_more_text – Change default text.

The following is example for „login_to_read_more_text“ filter.

add_filter('login_to_read_more_text', 'my_login_to_read_more_text');
function my_login_to_read_more_text(){
    return 'Join';
}

Снимци екрана

  • Visual Editor.
  • Short code output.

Постављање

  • A plug-in installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plug-in is made effective.

Прегледи

Нема рецензија за овај додатак.

Сарадници и градитељи

„Login to read more“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници
  • Takayuki Miyauchi

Преведите „Login to read more“ на свој језик.

Заинтересовани сте за градњу?

Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.

Мета

  • Version 0.2.0
  • Last updated 13 година раније
  • Active installations 30+
  • WordPress version 3.5 или новије
  • Tested up to 3.5.2
  • Language
    English (US)
  • Tags
    loginmemberpostregistershortcode
  • Напредни преглед

Оцене

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Додај моју оцену

See all reviews

Сарадници

  • Takayuki Miyauchi

Подршка

Имате нешто да кажете? Потребна вам је помоћ?

Види форум подршке

Донирај

Желите ли да подржите напредак овог додатка?

Донирај овом додатку

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Догађаји
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Српски

  • Visit our X (formerly Twitter) account
  • Посетите наш Bluesky налог
  • Visit our Mastodon account
  • Посетите наш налог на Threads-у
  • Visit our Facebook page
  • Посетите наш Инстаграм налог
  • Visit our LinkedIn account
  • Посетите наш TikTok налог
  • Visit our YouTube channel
  • Посетите наш Tumblr налог
Кôд је поезија.
The WordPress® trademark is the intellectual property of the WordPress Foundation.