How to include shortcode in your post without running

If you have ever tried to include a shortcode as an example in any of your posts, and said shortcode is active in our blog, we know the nightmare that we face: the shortcode will be executed even when we put it between

error that we make is this: we insert the complete shortcode ignoring (or forgetting) that the person in charge of executing it is PHP code, which processes the shortcode and sends the result, completely ignoring the it is wrapped in.

The solution is to separate the shortcode, but not with spaces, but with them . For example:

Basically what we do is separate the shortcode, but instead of using spaces, we use a few extras.

Include a video from the readme.txt of your plugin

First of all, if you are not a plugin developer, this article will not be very useful for you.

Suppose this: you have a plugin that is find in the official WordPress repository, and you want to add a video to exemplify its operation. Until you could just put a link, but this has changed: you can now insert a video directly into the readme.txt of your plugin and with that, it will be displayed on the repository page of your plugin. If you did not understand my explanation, you can see an example .

So far, the services supported are YouTube, Vimeo, VideoPress and and the way to insert them is as follows :

A YouTube video:
[ youtube]

For a Vimeo video: [19659006] [ vimeo]

For a video from VideoPress or you must put only the id, in this way (where OO4thna8 is the id):
[ wpvideo OO4thna8 ]

These codes go in the readme.txt of your plugin, in " Description ". For nothing in the world put the HTML code, because it is not supported.

Now, if for some reason you put one of those codes but do not want the video to be shown, put the code in quotation marks, like this: [19659006] [ wpvideo OO4thna8 ]

You can see an example of readme.txt or see how it looks .

] Via: Plugins can now include videos in their readme.txt files

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

ThumbGen – Plugin to generate thumbnails

I just warned Sebastián Barría who has released a new plugin: ThumbGen . What this piece of code offers is to generate thumbnails from any image loaded in your WordPress.

It is not, that is, a plugin for the newcomer to WordPress but aimed at developers who want to incorporate the function that enables the plugin: thumbGen () .

Using it, however, is quite simple. You just have to download it upload and activate it, or install it without leaving WordPress.

On the official plugin page you have the usage mode, which Sebastian promises to translate into Spanish soon, but come on, it does not it is complicated, they are only parameters to apply depending on how you want the model to be generated and / or adjusted.

The basic syntax is this:

An example would be this:

In this simple example what you do is to put in bold text found, but you can replace the "class" by the one you want, adding color or whatever you like.

WordPress 3.0 will say goodbye to the user "admin" • WordPress Help

Every day I update my WordPress 3.0-dev in search of new features, but this one that I brought to them had gone unnoticed since it is noticeable only in the installation process. And I mean something very basic that WordPress will finally include: define our own password and username .

What does this mean? Starting, the end for the insecure user "admin" and, the second, the power to define our own password and avoid the mess of having to change it once the installation process is finished.

What do you think of this? Because, personally, it comes to me a thousand wonders this 😀

WordPress for Nokia • WordPress Help

We use third party cookies with services, also guarantors of your privacy, that analyze your browsing uses so that we can improve the contents, if you are already subscribed to the newsletter and the shared elements in social networks and the comments form. [19659002] 1P_JAR, APISID, CONSENT, HPSID, NID, SAPISID, SID, SIDCC, SSID, disqus_unique, disqusauth

disqus_unique, disqusauth