By default, WordPress creates a URL for each author, following this structure: h
ttp: //tublog.com/ author / user .
There will be those who wish modify that section, because it is ugly and, if we talk about Hispanic blogs, it does not fit quite well. There will also be those who wish to rightly delete that part and leave the URLs as http.//tublog.com/usuario. The solution for both? Very simple :
We just add this line to our
add_filter ('init', create_function ('$ a', 'global $ wp_rewrite; $ wp_rewrite-> author_base = "REPLACE_HERE"; $ wp_rewrite-> flush_rules (); '));
This one tells you what part you should modify the code, but in case the flies, it replaces where it says REPLACE_HERE by the base you want: "profile", "author", "user", the one you want. Just remember not to erase the quotes from the code and do not insert spaces or special characters.
Now, if you want to completely remove that part of the URL, simply delete the REPLACE_HERE and do not put anything (neither even spaces) so that it looks like this:
add_filter ('init', create_function ('$ a', 'global $ wp_rewrite; $ wp_rewrite-> author_base = ""; $ wp_rewrite-> flush_rules (); '));
Obviously, save everything and you'll see how your authors' URLs are now
lees is an original content of WordPress Help – Resources, themes, plugins and tutorials in Spanish and published ejner first here: Modify (or delete) "/ author /" of the URL
With 2 lines of code in the header.php you can compress the WordPress output by up to 75%. Through the use of zlib compression technology. Taking advantage of this feature of PHP can be significantly reduced the loading speed. I've tried it with 6 different sites and the change is remarkable.
First of all you must verify that your server has the "zlib" library activated, because without it the trick does not work. Some Cpanel have the option to activate it.
On page Port80Software.com you can check your site to make sure you're compressing the output.
One of the most interesting possibilities when using WordPress as CMS is the custom entry types or custom post types one of the News from WordPress 3.0 .
It's not really difficult to create this type of custom entries and define parameters for them but what would you think of having a simple administration interface to create them at once? Click [?great right? Well, you can do it.
Custom Post Type UI is a plugin that offers exactly that, creating custom entry types without the need to touch or a line of code in the file
functions.php . You install it, you activate it and you create and configure your types of personalized entries, it's that simple, you just need WordPress 3.0 .
But not only that, but it also allows you to get another click of the important novelties of WordPress 3.0, the personalized taxonomies, just as easily as with the personalized entries.
This video explains how to do it, although it has no complications …