Changeset 143119
- Timestamp:
- 08/05/2009 05:50:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
replace/trunk/readme.txt
r143083 r143119 2 2 Contributors: dor 3 3 Donate link: http://brownian.org.ua/?page_id=61 4 Tags: custom, filter, formatting, post, page, template, regular expreassion, regex, search, replace4 Tags: search and replace, filter, formatting, post, page, template, regular expression, regex, search, replace 5 5 Requires at least: 2.0.2 6 Tested up to: 2. 7.07 Stable tag: 0.1.16 Tested up to: 2.8.3 7 Stable tag: trunk 8 8 9 9 re.place adds content filter wich searches in posts for specified patterns … … 34 34 == Installation == 35 35 36 1. Unzip re .place-<version>.zip to the `/wp-content/plugins/` directory36 1. Unzip replace-<version>.zip to the `/wp-content/plugins/` directory 37 37 1. Activate the plugin through the 'Plugins' menu in WordPress 38 38 1. Define your search/replacements via mgmt interface … … 51 51 52 52 1. Insert new entry window 53 2. Edit entry widow 54 3. List entries 53 2. Edit entry window 54 3. Entry with regular expression search and replace (to insert YouTube video) 55 4. List entries 55 56 56 57 == A brief examples == 57 58 58 1. As a search field, use '` —`', as a replace -- '`#160;—`'. This will 59 insert non-breaking space before every em-dash. 59 1. As a search field, use '`_—`' (*space* in place of `_`!), 60 as a replace -- '`#160;—`'. This will insert non-breaking space 61 before every em-dash. 60 62 61 63 Mmm... You may wish even use '`<span … … 81 83 Youtube video fragments easily. 82 84 83 4. Want to insert drop caps easily?.. Use '`<drop>L</drop>orem ipsum...`' in your 85 4. How to Mass Remove Link (mass deactivate URL Linked text inside posts)? 86 (http://wordpress.org/support/topic/288020) 87 88 Search pattern: `<a [^>]*>([^<]*)<\/a>` 89 90 Replace pattern: `\1` 91 92 This will "deactivate" all links in all posts 93 (e.g. replace `<a href="...">Try!</a>` with just `Try!`). 94 Note, you can activate them back, deactivating this `re.place` entry. 95 96 5. Want to insert drop caps easily?.. Use '`<drop>L</drop>orem ipsum...`' in your 84 97 posts and replace it with `<span class="dropcap">\1</span>`'. Use angle brackets, 85 98 and if you (accidentally) deactivate re.place, these "tags" won't mess you page. 86 99 87 5. New --- in v0.1.3 --- [beta-] feature: you can specify different replace patterns100 6. New --- in v0.1.3 --- [beta-] feature: you can specify different replace patterns 88 101 for authenticated users and "guests". Sorry, i'll update screenshots and doc 89 102 ASAP. :-)
Note: See TracChangeset
for help on using the changeset viewer.