Архив метки: Wordpress

WordPress Voice Input

Hi all, I’m Stucco. I decided to try voice text entry via Google Docs. This article will be about voice input and texting options for your social networks or blogs. I hope I don’t have to do a lot of editing on this text. In order for your voice to be well recognized it is advisable to speak clearly. So where do you get this tool? Type “Google Docs” into a Google search, or “Google Docs” in Russian. This service is available online, you do not need to download special programs or install applications. It’s a free service from Google.

Читать

WordPress xml-rpc: protection against bruteforce

Since WordPress 3.5, any installation has xml-rpc enabled by default, which is a very useful thing that allows you to use mobile apps to maintain your site, among other things.

 

However, the use of xml-rpc is a huge black hole, attracting rogues of all stripes, which massively start bruteforcing your cozy site; I felt it on my skin, when the load on the hosting has increased by half.  So I disabled xml-rpc a long time ago and lived happily ever after.

 

But still the moment of truth came and after I bought a new Android phone, the Thing immediately started to master mobile WordPress. I had to turn this xml-rpc on; immediately the attacks began. In the end, the easiest solution was to create a white list of IP addresses to access the file xmlrpc.php

 

How to do this:

Читать

Выбор веб-сервера для WordPress под Windows

Бывают ситуации, когда интернет-сайт должен хостится на Windows Server. Это довольно редкий случай, но со мной это недавно произошло (первый раз за дюжину лет работы с веб-серверами): нужно было организовать хостинг сайта на железяке, где уже крутились всякие сервисы.

Первый вопрос, который встает – а какой собственно веб-сервер использовать? Можно, конечно, наколупать все на чистом Apache, но вручную все устанавливать и настраивать лень, тем более для относительно небольшого проекта.

Есть дохуятро готовых сборок – от знакомого многим Денвера и Open Server до 100500 вариантов *AMP’ов. Читать

Выравнивание текста по ширине WordPress

В новых версиях WordPress разработчики почему-то убрали кнопку ‘выравнивание по ширине‘ или в разметке html атрибут align=justify. При наборе текста поста бросается в глаза неаккуратность форматирования, если весь тест прижат к одному краю. Такой стиль иногда выглядит стильно, но в большинство случаев человеку привычно читать текст, выровненный по ширине страницы. Как же это сделать в Вордпресс?

Читать

Upload images from phone to wordpress site

If you write articles on the site from a mobile device, it’s convenient to use the WordPress app. This app has a slightly reduced functionality, you can’t customize your site or make a design through it. But it will be quite handy to write a post with pictures and videos. I noticed an interesting feature when uploading photos from your phone to the site through the application of WordPress, there are two possibilities:

Читать

Установить ручками Google Adsense в wordpress

Часто плагин wordpress “Google Adsense” не видит нужного места для рекламы в шаблоне. В этом случае самый удобный способ – вставить специальный код в нужное место сайта:

<ins id="sidebar-123"

style="display: none;"

class="adsbygoogle-placeholder"></ins>

Вместе sidebar-123 укажите любой уникальный идентификатор, хоть 31415926.

После этого еще раз пробейте сайт плагином гугла – и вуаля, он найдет нужное местечко для рекламы, которое не видел ранее!

Чтобы код не пришлось вставлять заново при обновлении шаблона (сейчас оно автоматическое) имеет смысл этот код вставить через виджет как текст 🙂