plugin-icon

Arbitrary Shortcodes

제작자: philfreo·
Allows page content to contain arbitrary shortcodes (e.g., [email]) that are replaced by the values of the home page's custom fields.
버전
1.0
활성화된 설치 항목
10
최근 업데이트일
May 11, 2009

Replaces Shortcodes with Homepage Custom Fields.

This plugin allows you to write your page content like this: “Contact our company, [company_name], by email at: [email].”

Text with these shortcodes can be defined on any number of pages throughout your site.

The values of all of the shortcodes are controlled in a single location: the Custom Fields of your blog’s home page. For the above example, there would be Custom Fields on the home page called “company_name” and “email” with the values, respectively, of “Example Company Name” and “info@example.com”.

This plugin requires that you have WordPress set to show a static Page on the home page under Settings->Reading and “Front page”.

So then, for all the custom fields entered on the home page, this plugin looks for shortcodes (in all pages) and replaces each of their values, upon output, with the relevant custom field value.

This is useful for if you want to fill many pages with text that includes an arbitrary number of shortcodes or template text and have all the values can be replaced in one place.

-By Phil Freo

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 2.7.1
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.