How to activate featured entries in Twenty Eleven

The default WordPress theme, Twenty Eleven has built-in featured entries which will display them in a slider, but its use is not obvious.

If you want to take advantage of this functionality there is no adjustment to modify or option to activate, you just have to take into account the following to activate it:

Here's how to activate the slider, but this has a feature that you can change. And it is that by default it does not have automatic movement, but some points are shown in which you must click to change from a highlighted entry (sticky) to another.

<script type = "text / javascript" charset = "utf-8" >

// Automatic advancement of the Twenty Eleven slider

// Source:

jQuery () ) . ready ( function () { [19659002] var change_every = 10 ; // The seconds that the slider will take to make automatic advance

var current = 1 ;

function auto_advance [19659019] () {

if ( current == [19659007] – 1 ) return false ;

jQuery ] ( '. Feature-slider a' ) . eq ( current % jQuery ( '. feature-slider a' ) . length ) . trigger ( 'click' [] true ] ) ;

current ++ ];

} ;

setInterval [19659019] () function () {) auto_advance () } change_every [19659007] * 1000 ) ;

} ) ;


This code must be added, either in the "showcase" page template or if you prefer in the "showcase" widget ", But without title, it will work the same.

Note: this last trick does not work on, since the insertion of script code is limited

Modify .htaccess without FTP access • WordPress Help

Sometimes you may need access the file .htaccess of your server for multiple reasons. From adding security rules to making a necessary redirection.

But what happens if you get caught out of the house ?, without an FTP client available for example on the hotel's computer or your PC prima.

Do not suffer that there are plugins for everything, even to modify the file .htaccess . Let's see some …

WP htaccess control – Simple but powerful plugin with which to make many changes to the file .htaccess without becoming an editor of the same, although it is also valid for this. You can add redirects, make your WordPress more secure and much more, all at the click of a controlled environment. Highly recommended if you know what you do, as always.

WP htaccess editor – This is an editor (simple) for the file .htaccess . It does not offer more, it does not offer less.

htaccess redirect – If you need to redirect from .htaccess this is your plugin, it only works for that, nothing less. [19659003] htaccess secure files – The function of this plugin is to secure files from the file .htaccess for this in each file that you upload from the editor you can simply insure it by marking the box that adds the plugin and called "Secure file". Any "secured" file will only be accessible by user profiles or IPs that you define in the plugin settings page. Very specific but very powerful

Configurable hotlink protection – If you want to protect yourself from hotlinking but you do not clarify by manually editing the file .htaccess this is your plugin With it you can define rules for what type of files will be protected from that undesirable practice, and what will be the behavior, what exceptions will they have, all in a single screen of settings.

WP 301 – This plugin is also specific, and allows you to add redirects of type 301 without having to modify the file .htaccess . Simple to use but works perfectly.

Now, if you do not want to install a specific plugin for this type of use, you should know that there are some plugins that already incorporate features oriented to the modification of the file .htaccess , for example:

SEO ultimate – This great plugin to improve the SEO of your WordPress, also adds a screen, called "File editor" in which to modify from your desktop files like robots.txt or, of course, .htaccess that's right, here at hand, knowing what you're doing.

Bulletproof security – Also this security plugin incorporates a utility with which, in this case, ensure your installation from the file .htaccess and even the same file, adding rules to several folders of your installation of WordPress.

Good These are the ones I know, if you know it is from someone else you tell us about it.

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 …

That may also help you:

Add "Like" on P2 • WordPress Help

If you use the theme P2 the one that turns your WordPress into a social environment, in the style of Twitter it is possible that, in addition to the interaction already integrated in the theme, you want to add the functionality of " Like " like on Facebook.

In that case you're in luck as there is a specific plugin for the P2 theme, called P2 Likes which adds exactly that functionality You just have to install it, activate it and you'll already have, next to the link " Reply " a new one to add the " I like " to existing publications. It's that simple.

Greet your regular and new readers • WordPress Help

What do you like in the cafeteria where they recognize you by your name and prepare your coffee the way you like it? Well, the same thing you have to do with your blog readers.

If you want to thank your regular readers visit and greet them and the new ones encourage them to continue reading you, with some personalized message you can do it very easy.

And I do not mean registered users, that that we already saw but to simple visitors …

You just have to choose the place of the subject in which to place this code and customize it a bit to your liking:

<? php

if ( isset ( $ _ COOKIE [ 'comment_author _' . COOKIEHASH ] ) ) {

$ lastCommenter = $ _ COOKIE [[1965901] 2] 'comment_author _' . COOKIEHASH ] ;

echo "Welcome back dear reader , I hope you enjoy my articles today! "

$ lastCommenter . "! ";

} else {

echo "Wow! it seems that you are new here, pass and read, if you do not find something use the search engine. ";



One pair of good places to put such a code would be before the loop in index.php and in single.php for example, but you decide.

Different background in pages and entries

If you are someone who likes to "tune" to the top of WordPress you will surely love to know that it is extremely easy to define a background for your theme, different for a static page or an entry.

Also, to continue with the Good news, you do not need to modify your theme, or write a single line of code, without touching the CSS. All you need is to install the plugin Background per page .

Once activated you will have a new screen under the "Appearance" menu in which to define a background to your liking for the whole body content of entries or pages.

You can also define the pattern of repetition of an image and even that has gradient, all at the click of a button.

What WordPress theme does that web use?

It is one of the most read questions in the WordPress forums, the one that provokes curiosity when we see a web that we like and we ask What WordPress theme uses that web? .

And, although it is not always easy to guess the subject that a web uses because in many occasions references to it are changed, if we have some tricks to try to guess when there is no reference to the theme used on the web, something quite common.

1. See source code

The first method to guess the subject that I usually use is see the source code of the web in question. From the right click of any modern browser we have access to see the code of the web that we are visualizing, and a simple search by the string "wp-content / themes /" will "blow" the name of the folder of the active theme in the first reference to it, which is usually in the header of the code, in the call to the stylesheet …

2. Inspect style sheet header element

A similar method is access the modern web browser inspection utility or Firebug if you use Firefox, through which you can click on the sheet of styles and, directly, see all the information of the header of the same where, unless it has been modified, you will have the name, description and even the web URL of the author of the topic.


Perhaps based on this method, there is the web service called " What WordPress theme is that? ". You put the url in the search box and it shows you precisely this header information of the stylesheet that all WordPress themes use.

Of course, none of these methods The above is useless if the administrator or web designer changed the theme folder name and the header information of the stylesheet.

4. Classes CSS distintivas

If this were the case there is something that you can try. For example, using method 3 described above, looks for an exclusive CSS class of the subject other than the typical " post " or " content ", but one with strange names, the taste of many designers.

Once identified one that is not " current " you just have to " google "for that class and, with a bit of luck, identify some support query in forums where, whether the subject's name is cited, or even the author's support page.

And, well, this is what I usually do, if you have some other method it will be appreciated if you share it

Note: for the captures I used the web of my very best amiga Ana Aldea

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 …

That may also help you:

WordPress 3.3.2, security update

The update of WordPress 3.3.2 has just come to light which, being a security update, it is absolutely recommendable to install.

It takes a while for the update to be available in Spanish on your desktop, if that's the case you already have it in WordPress Spain .

Two administrators in each WordPress • WordPress Help

Today I want to share with you a little trick that I think makes a lot of sense and it's to have 2 users with administrator privileges in each installation of WordPress.

The reason is simple, if someone hacks an administrator account you will always have another from which to access to remove privileges to the compromised account even delete it, and regain control over your WordPress.

This small but useful trick, is valid for both hosted WordPress and installations

Relevanssi, vitaminized WordPress search engine • WordPress Help

The integrated WordPress search may not be your best feature . You already know that, for example, you only search in titles and text of the entries, without including content of excerpts, comments or even tags and categories.

Well, if you want to give WordPress a revitalizing [19659003] Relevanssi is a very good option. Both in its free or paid versions, it offers many improvements over the native WordPress search engine, so do not lose anything, on the contrary, testing it.

To give you an idea here you have a table with the differences between the internal WordPress search engine and the free, premium and custom versions of Relevanssi :

Come on, that the possibilities offered are more than interesting, even in the free version, let alone the others. Have you tried it?

Repair the WordPress database, from WordPress • WordPress Help

Surely you already know that the database eventually gets clogged many times you have to delete the remains in the database, but most of the time a simple repair the tables solve problems like the terrible and hated " ERROR WHEN ESTABLISHING CONNECTION WITH THE WORDPRESS DATABASE ".

Through PHPmyAdmin you can select the tables and repair the database, but since not too long we also have the possibility of repair the WordPress database from the same WordPress .

You just have to have access to the file wp-config .php to which you will add the following line:

Once you save the changes you access the address and you will see the following screen:

You simply click on " Repair base of data "or in" Repair and optimize the database "and in a fast process you will have your WordPress fine and secure.

That is, when you finish it removes the line of code that you added to the file wp-config.php to prevent that page from being used by users without authorization.