Category: ‘Web Design’
Переводить не буду, т.к. в основном это как памятка для себя…
—
![]()
There are a lot of tutorials available for editing the quicktags.js file in the WordPress wp-includes folder, but they all seem to want you to edit the file directly. That’s a Bad Idea because the next time you upgrade, your changes are kaput. [...] There are some perfectly capable plugins for adding new buttons, too. [...]
The quicktags.js file
1. Go into the /wp-includes/js folder and find quicktags.dev.js. Copy it to your template folder (or any subfolder) and rename it quicktags.js.
2. Edit the file. The code has some localization in it which we’re about to break, so search for quicktagsL10n and replace every instance with an appropriate, quoted string.
For example:
prompt(quicktagsL10n.enterURL, defaultValue);
Should be something like:
prompt('Enter the URL', defaultValue);
Overriding the original
Now we just need to change which script gets called when you’re in the post editor. Add the following to your theme’s functions.php file:
function bt_load_admin_scripts() {
if ( is_admin() ) {
wp_deregister_script('quicktags');
wp_register_script('quicktags', ("/path/to/your/quicktags.js"), false, '', true);
}
}
if (is_admin()) {
add_action('init', bt_load_admin_scripts);
}
Modify the path in wp_register_script to point to the location where you put your quicktags.js file. This will tell WordPress to load your file instead of its own.
Now, edit a new post (in the HTML editor, not the Visual editor) to test out your changes. If everything is correct, modified and new buttons should show up and function the way you want. Your changes will persist, even after a WordPress upgrade!
Пост, как памятка для себя, чтобы не забыл и пользовался…
Сидел customize-ил один другой блог и заинтересовался одним из Template Tag-ов – the_content(), а в частности тэгом <!–more–>, не однократно используемым мной при написание постов…
Не буду вдаваться в подробности, что именно меня там интересовало, т.к. речь о случайной и весьма полезной/интересной “находке” – узнал, что вместо статичного текста, прописанного в template темы и отображаемого на главной, можно использовать любой текст:

Собственно, на картинке все показано… А делается это очень просто:
<!--more Your custom text -->
У кого есть ЖЖ и кто умеет пользоваться <lj-cut> знают, что там всегда можно было дефолтный текст заменять, а в WordPress-e этого не было. Не знаю когда они успели добавить эту возможность и, быть может, она там уже давно, но более чем уверен, что когда я только завел блог, этого не было, т.к. было несколько plugin-ов, которые позволяли использовать любой текст… Даже помню, что не мог их использовать, т.к. они или глючили или кириллицу не поддерживали…
Мелочь, а приятно…
http://codex.wordpress.org/Customizing_the_Read_More#Having_a_custom_text_for_each_post
—
Cleaning up old bookmarks & stuff I’m too lazy to post separately
——
- 9 Firefox Add-Ons I Use: Adblock Plus, Tabs Open Relative, Undo Closed Tabs Button, Download Statusbar, FaviconizeTab, Foxmarks Bookmark Synchronizer, GButts, Locationbar², Stop Autoplay.

Apart from others I’ve posted before… - Better CSS Font Stacks
A list of font stacks that will both open up more font possibilities for web designers, and hopefully offer more appropriate substitutes.
- Firefox 3: Open Bookmark Manager in Your Browser Window
+ 4 other Chrome URLs: Downloads, Extensions, Saved Passwords, Preferences. Pretty useful.
- Firefox 3 Add-On: Firebug
Version of useful web developing add-on for Firefox 3.
- Firefox 3 Add-On: oldbar
Makes the location bar look like Firefox 2 (affects the presentation of the results).
- CSS Gradient Text Effect
“Fancy headings” – pure CSS, no Javascript, no Flash and, especially, no rendering each heading with Photoshop
- Styling File Inputs with CSS and the DOM
This simple, three-part enhancement provides the markup, CSS, and JavaScript to address the long-standing irritation.
- List of 25 Javascript/Ajax and CSS Tooltips
Haven’t looked through all the 25, but still could be a very useful list.
- Greasemonkey Scripts For the Social Media Addict
Scripts for Google Reader, Flickr, Twitter, Digg, FriendFeed, Del.icio.us, Ma.gnolia. For Greasemonkey Firefox Add-On.
Personal favorite: Flickr AllSizes+ - Feed Analysis
Analyzes Your FeedBurner Feeds (number of subscribers for each month, number of subscribers, hits, views and clicks for every single day, best/worst day of the week, estimated value for your blog / site according to the number of your subscribers)

- Top 10 Apps Worth Installing Adobe AIR For
10 applications that make it worth the effort of downloading and installing Adobe AIR.
- freshAIRapps.com
Showcase for Adobe AIR Applications , Tutorials and Resources
- Iconfinder / Iconlet
Two icon search websites I personally use.
- VReel.net
BETA, but looks like an Alpha and a very early Alpha, too… And design kinda crap..
Весьма полезная страничка, на мой взгляд, хотя таких страниц можно найти туеву хучу, почему-то приглянулась именно эта.
Думаю, приглянулась, из-за фильтров и настроек на странице:
Все 252 символа разбиты по категориям, есть поиск (хотя я не понял как оно работает )) ), смена шрифта (можно проверить будет ли тот или иной символ отображаться), при наведении мышки на символ появляются числовой и unicode эквиваленты:
Портрет Гомера без единой картинки, используя только CSS. Если вы не видите Гомера, значит ваш browser сосёт, ну или у вас отсутствует шрифт Verdana
Автор сего извращения (Author’s site)
Всякие разные полезности, что насобирал с разных сайтов
Recommended Stuff
This is a random selection from a list of stuff/posts I personally enjoyed a lot. Some sort of "My Favorites" or "Bookmarks"...






