Abandoned the development of the 2.0.x branch • WordPress Help

The WordPress development team has just announced that the abandonment of the development and update of the 2.0.x branch is anticipated, due to the immense work involved in rewriting each security solution for this branch of versions . It will not affect many but if you still use a version 2.0.x you should know that there will be no more updates, not even troubleshooting.

Add the author's avatar in the posts

When you have a site created with WordPress with several authors it is always interesting that the reader knows who is the one who wrote an article, and that they can associate the writings with their creators.

That is why perhaps the best way that there is no doubt that next to the title (or wherever you like) the author's avatar appears.

Getting it is very easy, you just have to add the following code in the place where you want it to appear in the files 'index.php' and 'single.php' of your theme.

The number (32) is the size of the avatar to be displayed, which you can modify to your liking. It is also interesting to wrap the code in some CSS, to offer the best face … never better said … of the authors of the site. For example, you create this new CSS class :

Remove the HTML in the comments

 html code "title =" html code "width =" 380 "height =" 285 "class =" aligncenter size-full wp-image -5600 "/> </a></p>
<p> Surely you already know that <strong> WordPress converts the URLs of the comments into active links </strong>even though they are not encoded as such, which is comfortable for the readers, let alone the spammers, can become a problem for you if you use too much, causing more outgoing links than you receive, <strong> penalizing your SEO </strong> and causing an increase in the percentage of bounce, prompting the abandonment of your </p>
<p> Fortunately, this can be solved, in case it has become a problem, simply by making <a href= WordPress not convert the URLs into links .To do this you must add the following code to the file (if , you guessed it) 'functions.php' of your planti Active call:

What this code does is create two functions that replace HTML characters with HTML entities . Then, using the function add_filter () comments are processed with newly created functions. This makes it possible to filter the HTML in the comments.

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:

Create your own private Twitter with P2

 twitter wordpress "title =" twitter wordpress "width =" 500 "height =" 312 "class =" aligncenter size-medium wp-image -5597 "srcset =" http://bootstrapx.com/wp-content/uploads/2018/06/twitter-wordpress-500x312.png 500w, https://ayudawp.com/wp-content/uploads/2009/07 /twitter-wordpress.png 1024w "sizes =" (max-width: 500px) 100vw, 500px "/> </a></p>
<p> If you know how to take advantage of a system similar to <a href= Twitter you have already read many articles here of the possibilities offered by P2 (or Prologue 2), a theme WordPress that mimics Twitter but goes one step further.

Now, you can create a system similar to Twitter but private, with a few simple steps.

1. Install WordPress

If you do not have WordPress installed where you are going to have your own private Twitter, it's time to do it. binder on your server, install a new copy of WordPress in the usual way that we have already explained several times here.

2. Install P2

P2 is going to be the interface of your private Twitter system, download it from the official site and activate it from the admin panel, in the section of 'Appearance -> Themes' .

3. Facilitates the registration of users

One of the virtues, which make P2 behave like Twitter, is the fact that it allows users to publish directly from the front page. Now, to make this process even more transparent, why not put a registration form in it and thus avoid visiting the admin panel?

It's easy, you just have to add this code to the sidebar of P2 (file sidebar.php ):