WordPress 3.6 beta 2 – WordPress Help

The second beta version of WordPress 3.6 is now available for download, where the new visual interface for the input formats in the editor has been consolidated something that was in doubt and even thought to postpone to WordPress 3.7 .

But no, for now there is still, with the new styles, much more descriptive, besides the rest of WordPress 3.6 news

If you want, you can now download and try it to report any errors you detect.

Different language for the administrator and the theme

Topics that are localized, that is, prepared to recognize the WordPress language, use the internationalized version thereof depending on the language defined in the WordPress configuration file ( wp-config .php ), but this is not always what is desired.

It is increasingly common for WordPress users to administer whose native language is not the one that must be displayed for visitors .

For example, let's say that you handle yourself better with WordPress in Spanish but your site is aimed at English-speaking visitors. Well, if the subject is located and you put in wp-config.php Spanish as WordPress language, if the topic is internationalized and has Spanish translation it will show messages in this language defined in the configuration file .

How can you imagine, you should change line 4 to your preferences.

Prevent updates and delete entries after a while

I can think of few situations in which this trick is useful, but I'm sure that more than one has ever thought of how it would be done so that, after a certain time, no one can modify or delete an entry .

So if you are going to take advantage of this trick you just have to add the following code to your personal plugin :





















21 [19659002] 22




// Disable editing of entries after a certain time

function prohibited_edit ( $ allcaps $ cap $ args ) {

// Jump if we are not going to edit or delete an entry …

if ( 'edit_post' ! = $ args [ 0 ] && 'delete_post' ! = $ args [ 0 ]

// … or if the user is an administrator

|| ! empty ( $ allcaps [ 'manage_options' ] ) [19659002] // … or if the user can no longer edit entries

|| empty ( $ allcaps [ 'edit_posts' ] ) )

] return $ allcaps ;

// The input data is loaded: [194] 59020]

$ post = get_post ( $ args [ 2 ] ]) ;

// Salto if entry is not yet published:

if ([19659044] 'publish' ! = $ post -> post_status )

return $ allcaps ;

// if the entry is more than 30 days (change it to whatever you want) …

[19659042] ( strtotime ( $ post -> post_date ) < strtotime ( '- 30 day' ) ) [19659032] {

// then we prevent it from being editable.

$ allcaps [ $ cap [ 0 ] ] = FALSE ;

] }

return $ allcaps ;


add_filter ( 'user_has_cap' 'prohibited_edit' 10 3 ] ) ;

And that's it, you just have to change the string -30 day to the number of days that you choose.

Add multiple users at the same time in WordPress

If you have a website you want to add many users quickly WordPress by default does not offer any way to do so, you have to add one by one, filling in the required fields of each one.

But how almost everything in WordPress this has a solution thanks to a plugin that allows you up to 3 ways to add multiple users :

Of course, it is vital that before importing or adding configures the plugin then that is where you will be able to adjust the parameters when creating users, how to receive emails, default profiles and much more.
 amu main settings

More important is in these settings if you can define the fields " meta " that will be carried by the users that you add manually, and I recommend that you choose the minimum essentials or you will touch fill a pile n stuff.
 amu meta data settings

To finish, but no less interesting, you can customize the email that new users will receive.
 amu settings message email

In short, a very interesting plugin for collaborative sites, webs for courses or any development where you need to sign up quickly.

Google+ Comments on WordPress • WordPress Help

 google-plus-wordpress "src =" https://ayudawp.com/wp-content/uploads/2013/04/google- plus-wordpress.png "width =" 540 "height =" 261 "srcset =" https://ayudawp.com/wp-content/uploads/2013/04/google-plus-wordpress.png 600w, https: // ayudawp.com/wp-content/uploads/2013/04/google-plus-wordpress-500x241.png 500w "sizes =" (max-width: 540px) 100vw, 540px "/> </p>
<p> It's been a few days now possible to use the system of <a href= Google+ comments in Blogger and, waiting for Google to officially support to do the same in WordPress, they are leaving plugins that allow to integrate comments of the social network Google+ in WordPress .

Today these are available:

  • Google PlusOne comments : replaces the WordPress comment system with Google+, with no adjustments or having to touch anything. wonder in the design of the theme, you just have to install, activate and ready, more simply impossible.
     plusone google plus wordpress
  • Gplus Comments : something more complete than the previous one, since it offers three tabs when activating it. It also replaces the native WordPress comment system with Google+ but maintains the ability to comment using the original system. The tabs, then, what they allow is to use the comments of Google+ in one, those of WordPress in another and visualize the trackbacks in the last one. The truth is very good.
     gplus google plus wordpress
  • Google+ comments : Very simple in every way. This has a settings page where you can configure some aspects, where it will be displayed, how and some more things you can see in the capture.
  • Google plus comments by forum gt : A pity that does not work as well and the first as the rest, because in many cases where I have tried to add a function to the subject, so it will not be the first option that you recommend. [19659013] google plus wordpress forum gt ” src=”https://ayudawp.com/wp-content/uploads/2013/04/google-plus-wordpress-forum-gt-150×150.png” width=”150″ height=”150″/>

And now, waiting for more plugins, or some official, this is what there is at the moment.

And you'll ask are you interested in using this system instead of the native one? WordPress?

Well personally I think it's a bad choice in almost all the senses. The main thing is that in this way you bet exclusively for your visitors to comment using the social network of Google, not allowing these systems to use the Twitter or Facebook user, for example, to comment, which limits the actions . Now, if it is the main social network of your visitors then forget what I just said.

Another thing that I do not like is that comments do not stay in your WordPress if you deactivate the plugin, it is not integrate in the WordPress database so everything that is commented would be lost.

 comment by wordpress on google +

The good thing about this system is that if your positioning strategy is based primarily on Google+ which is not a bad idea but quite the opposite, then it's activate and ready, you will attract traffic to your site from Google+ as the comments publish with these systems are shown on your Google+ profile with a link to the entry of your site where you did it, and the same for each user who comments and …

have I already told you you have to work on SEO on Google+ if or if? well that.

AV ISO : 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:

Serious threat of security in the main cache plugins in WordPress • WordPress Help

 injection of code wordpress

Yesterday Sucuri, website specialized in computer security, warned of a serious security threat that affects the two most popular cache plugins in WordPress: W3 Total Cache and WP Super Cache .

In the report published in the blog of Sucuri details of the notice that was made ] in the forums of WordPress.org regarding a vulnerability that would affect these plugins .

The problem is fat, because it would allow the execution of remote code even in an arbitrary way. [19659004] The way to check if you have been affected is to publish in a comment the following code:

and if after posting it you see the PHP version of your server bad news you could be affected. Because what it means is that anyone can execute code commands in your WordPress and they run thanks to the fact that it is enabled mfunc by the work and grace of these plugins, in this case you only sample the PHP version using a echo since it's just a check.

By the way, if you use external services how Disqus or similar will not work .

problem comes because the inserted codes can not only be through mclude but also through PHP code (mfunc), and whenever we open the possibility to include PHP code directly opens the possibility of entering executable code, and poses a risk .

The cache plugins, and specifically WP Super Cache and W3 Total Cache, save the complete pages in cache, comments included, and if they contain pieces of code could be executed from sas cached versions by someone with bad intentions and how WordPress allows HTML tags to be used because almost everything is ready for someone to take advantage of that open door.

Summing up …

If you use a version of WP Super Cache prior to 1.3 or W3 Total Cache prior to you run the risk of a PHP code injection . The comments of your WordPress could include dynamic codes, using HTML, and the WordPress kernel would not filter them to control them.

The cache plugins, when saving a version of those pages, would also include the injected PHP code and until the affected page or page was re-searched, someone could execute that code, or it would run on its own, depending on what they got you.

The solution is to update the plugins to the latest versions that the developers of both have already launched the vulnerability, and in those that deactivate mfunc by default, which is where the problem was.

NOTICE : this publication is two years ago or plus. 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:

What's New in All in one SEO Pack 2.0

 all in one seo pack

Some time ago I had my heart split with the plugin All in one SEO pack because there were some versions that did weird things, but the truth is that I have returned to him and I am happy, after a step by his clone called Platinum SEO pack, also very majete.

yesterday came to version 2.0 and, well, I'm pretty fly but still not quite, I'll explain …

Despite the infatuation of many people with the plugin WordPress SEO by Yoast , personally I do not usually recommend it except to learn because the truth is that for newbies it helps that little pill that you add in the WordPress editor where it shows you the Google snippet, SEO tips and those things, but for a normal use not I recommend it, and I always encourage you to use All in one SEO pack or Plat inum SEO.

Why do not I recommend Yoast's WordPress SEO? then for two fundamental reasons ?:

  1. I've seen things that you would not believe, oops, sorry, ] I have seen how it destroyed the SEO of several sites due to poor integration with the WordPress theme used. The plugin wants to do so many things, and puts so much into the code of the page that sometimes it spoils more than fix .
  2. It is a megaplugin, which does many things but none perfectly and many in "automatic" . It is very comfortable " jetpack style " to install a plugin and have almost everything, but carries certain weaknesses, in addition to servitudes. For example, it includes a module to create a sitemap, but it is really a trick, much worse than Google XML Sitemaps, a whole standard; let's not say that utility to modify the system files, which should be prohibited until the age of 50 or have gone through 2 divorces . Of the automatisms, active options by defect, we talked another day in earnest.

In short, that is a plugin " apañao " to have that of " all in one ", but if you want to control what a plugin does, especially in the SEO of your website, it is better to leave automatisms and more with the speciality that Google has lately put with the automations in SEO.

] That's why I do not share the teenage crush with the Yoast plugin and I always recommend this beauty that is All in one SEO pack, beautiful in its simplicity, power and transparency of what it does ]

Now, and we go back to the beginning of what it is today: version 2.0 of All in one SEO pack has come to light, and something had to be done to make it noticeable, and I started shaking there, before agreeing to update it somewhere.

What's new? ? then some, important :

  • New interface (miedito, with the beauty of simplicity combined with power)
     Capture of settings all in one seo pack 2.0
  • New module system (what I told you about the "jetpack system", even more scary)
     capture of modules in aiosp 2
  • New performance module ( still without much chicha, and the little that has EYE)
     Capture of performance settings of aiosp 2
  • New options to control the " rewrite " of titles in the custom input types (an obligation, especially for WordPress 3.6 )
     personalized post settings aiosp 2
  • Advanced settings for controlling titles in custom input types
  • Possibility of showing custom meta fields normally hidden
  • Visual Upload SEO status in posts, pages, etc (without colorines, thank goodness).
     seo indicator in entries aiosp 2
  • The pointer to show you the news (and the mania that I'm taking
  • The preview of the Google snippet has been added in the plugin box in the entry and page editor (come on, like Yoast's)
     view snippet aiosp
  • options to mark for noindex, nofollow in all boxes
  • In the settings has been added field for verification of webmasters from Google, Bing and Pinterest (this is cool)
     webmasters check aiosp 2
  • Field to add the Analytics ID
     google analytics aiosp 2
  • Links to the plugin settings (optional) in the WordPress admin bar (not worth anything, really , do not activate it)
     seo links in menu admin aiosp 2
  • … and the typical solutions to errors and such, the normal in each update.
  • Oh, I forgot, now the options are no longer as Settings submenu but with its own icon below the "casita" ( bad, very bad)

I've put captures of all the news, but what's important …

Has the All in one SEO pack become a crap? Is it a cool thing but a petard like Yoast's?

Well, fortunately it seems that no, at least for the time being because it maintains its main virtues, namely:

  • ] Rewrite of titles PERFECT the most important
  • Code inserted in the subject very clean, without goals that are redundant or redundant all well picked up and doing their job.

The rest are trinkets or toys to entangle, except the inclusion of Webmasters verification in Google, Bing and Pint erest, really useful which added to the verification of Google+ makes your site is connected to the basics.

The performance screen, if you ask, does not work – at least for now – practically for nothing , it informs you of what any PHPinfo would tell you and makes you a list of plugins, come on, a subnormality, in which I hope you do not dare and start to put analyzers and other crap that end up going crazy with the " SEO status " of our publications, when Google does nothing but remind us what has always been law and axiom: content is king, and what you have to worry about is to create good articles and then, that if, move them around so that people know them, but forgetting to do excess accounting positioning (how do I call it), of thinking if you have gone enough keywords or if you title is more SEO than the mother who gave birth to him and those things, is that clear ?, well that, to stop being bullshit .

And what does it do on the screen? " Performance " almost better than you do not touch it or you're sure to screw something! Bets are allowed!

You can modify PHP memory and runtime parameters something that later modify some plugins, or it will not matter what you put if your hosting has it on it, something quite common.

Now, I'm a little concerned that the thing is being dismissed, maybe taken away by the recent Yoast's popularity, to put him useless shit to look like " cool " like the "other", error in which I hope you do not incur, then in version 2.0, All in one SEO pack is still the perfect plugin for SEO .

And if nothing else, make a clean fork of guarre Rías, but for now continues to fulfill its function, and very well, in fact better than before .

NOTICE : this publication is 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 more services oEmbed to WordPress

 wordpress movie WordPress incorporates the ability to display multimedia content through support oEmbed by which you can show videos, images and all kinds of media just by pasting the URL of the content in the editor , and it shows the player of it.

But WordPress only brings assets some services by default, which we can expand .

And, for me, nothing else, if you think of something you mention it.

Permalinks by default without user intervention

 broken wordpress permalinks

If you make installations for others you sure know that you should not give administrator privileges to anyone , because then they break things. You can be for or against doing it but it is reality.

And there are changes of settings that nothing happens if they do, but others can destroy all the work done, or positioning as for example, change permanent links, permalinks .

But you did not know that permanent links can be established by default ?, it can be, and it is also SUPER SINGLE . You just have to decide if you will force them from a function plugin or from the file functions.php of the theme, because to get it you have to add this code in one of them:

You save the changes and that's it, if your permission .htaccess has write permissions will be active permalinks whenever the subject is active with the file functions.php or the plugin that contains this function.

You can, of course, change the structure to which you decide, how alone /% postname% / ol to which you decide from the available ones in the structure of links of WordPress .

If your option is the last one already you know that you can avoid that they touch the plugins also configuring the permissions of the user or that update them or to deactivate and break everything, and if you choose the subject you can also disable modifying the subject or that change the subject or a combination of both tricks.

You can use this function to avoid unwanted modifications of permalinks after installing WordPress, or even to force permalinks by default as soon as you create new installations avoiding repetitive tasks, you decide.

Nice trick of be-studios

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 that we have not warned you.

Loading …

That may also help you:

Add Google Analytics code without modifying the WordPress theme

 google analytics wordpress This question, although it is one of the most demanded, the truth is that I had never addressed it, it is so easy I forgot, or maybe I did not give it the importance it deserves.

Of course, I'm referring to that simple but useful fact of adding the Google Analytics code to WordPress if possible without have to modify the theme.

And it is important that it be without modifying the theme because if you change the subject it is most common to forget to add the Analytics code again, and you would lose the statistics of that / os day / s.


Well there are many, most of them using the enormous number of existing plugins for this question since it does not make sense these days to modify the code of the active theme for add, how Google suggests the script d e Analytics in the header of the web, which for WordPress translates into adding it before the closing of the tag head which we will find in the file header.php of the subject.

] What's more, today many themes offer some configuration in their settings page to insert this code, also without touching the topic, but the problem is the same, since they add it to their own file functions.php ]and again, when changing the subject, it would be lost, so the plugins continue to win which are independent of the change of theme.

And, of course, the other solution is add the code to your own function plugin option that I recommend, because I suppose that by now you have it already in progress, and it would be so simple how to add something like this:

You put your code on the line to replace and that's it.

NOTICE : This post is two years or more ago. 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: