If you’d like your blog to feature posts from multiple authors, how to add users in wordpress website, you can add as many administrative accounts to your blog as you like. There are two different ways to add users. There are two different ways to add a new user to your blog, depending on whether or not that person already has an account at WordPress.com.
how to add users in wordpress website
To add someone who already has a WordPress.com account:
Log in to your dashboard.
Click on the Users -> Authors & Users menu option.
In the Add User From Community section at the bottom, enter the author’s email address in the User E-mail box
Select either Contributor, Author or Editor in the Role list
Click the Add User button
Your new user will now see your blog listed in their dashboard when they log in to WordPress.com.
To add someone who does not have a WordPress.com account:
Log in to your dashboard.
Click on the Users -> Invites menu option.
Enter the author’s first name, last name and email address in the appropriate fields.
Check the box labeled Add user to my blog as a contributor.
Click the Send Invite button.
Your new user will receive an email inviting them to sign up for a WordPress.com account (and, optionally, create their own blog if they want). Once they have signed up, you’ll see them listed as a Contributor on your Users tab. You can change them to a different role (Author or Editor) later if you’d like.
The difference between each of the roles is explained in the User Roles documentation.
Warning: Please be very careful when adding a new Administrator user to your blog. Other Administrators are effectively co-owners. They have as much power over your blog as you do, including the ability to permanently delete it.
Transfer Note: For security purposes, there is no way to remove the original creator/owner from their blog. As such, if you wish to transfer your blog to another user/account, please follow the instructions here.
Video
Watch the “Adding users to your blog (or removing them)” video from WordPress.tv.
Adding users to your blog (or removing them)
Adding users to your blog (or removing them)
This movie requires Adobe Flash for playback.
Watch the “Inviting your friends to WordPress.com” video from WordPress.tv.
Filters are hooks that WordPress launched to modify text of various types before saving to database. we explained how to work with wordpress plugin filters. Your plugin can specify that one or more of its PHP functions is executed to modify specific types of text at these times, using the Filter API.
All filters are located in wp-includes/plugin.php file. Following function you can use for using the filters in wordpress plugin.
has filter
Check if any filter has been registered for a hook.
$tag
(string) (required) The name of the filter to hook the $function_to_add to.
Default: None
$function_to_add
(callback) (required) The name of the function to be called when the filter is applied.
Default: None
$priority
(integer) (optional) Used to specify the order in which the functions associated with a particular action are executed. Lower numbers correspond with earlier execution, and functions with the same priority are executed in the order in which they were added to the action.
Default: 10
$accepted_args
(integer) (optional) The number of arguments the function(s) accept(s). In WordPress 1.5.1 and newer. hooked functions can take extra arguments that are set when the matching do_action() or apply_filters() call is run.
Merge the filter functions of a specific filter hook with generic filter functions.
merge_filters($tag);
$tag
(string) (required) The filter hook of which the functions should be merged.
Default: None
remove filter
This function removes a function attached to a specified filter hook. This method can be used to remove default functions attached to a specific filter hook and possibly replace them with a substitute. See also remove_action(), add_filter() and add_action().
Important: Because of long-time unfixed bugs resulting in flaws of the underlying implementation, it is unpredictable which filters this function will remove when called. Usage might/will result in loss of other then the intended filter(s). Plugin authors should prevent the usage of this function if possible.
Important: To remove a hook, the $function_to_remove and $priority arguments must match when the hook was added. This goes for both filters and actions. No warning will be given on removal failure.
$tag
(string) (required) The action hook to which the function to be removed is hooked.
Default: None
$function_to_remove
(string) (required) The name of the function which should be removed.
Default: None
$priority
(int) (optional) The priority of the function (as defined when the function was originally hooked).
Default: 10
$accepted_args
(int) (optional) The number of arguments the function accepts.
Default: 1
remove all filters
Remove all of the hooks from a filter.
remove_all_filters( $tag, $priority );
$tag
(string) (required) The filter to remove hooks from.
Default: None
$priority
(integer) (optional) The priority number to remove.
Default: false
——————————————-x———————————–x—————————–
All List of all WordPress filter hooks you will find on following URL
If you are internet user then you know about what is spam. You know or saw spam emails earlier so many times. prevent spam comments wordpress is big task and important also.
how to prevent spam comments wordpress
Comment Spam Hacks
The following are not recommended for average users. They involve editing WordPress core files. BACKUP your files first.
Delete wp-comments-post.php
The ultimate end-all solution to your comment spam troubles. This will effectively disable comments and is good for stopping comment spam floods. No one will be able to comment on your WordPress site.
Delete wp-trackback.php
The ultimate end-all solution to your trackback spam troubles. This will effectively disable trackbacks and is good for stopping trackback spam floods. This will mean that no one will be able to trackback your posts, so do this after consideration.
Denying access with .htaccess
While drastic, you can make modifications in your .htaccess file if you are using an Apache server. Check the Internet and Apache for more information.
Use nofollow
The nofollow attribute is another method used to strip spammers of their page ranks. According to Google, “when Google sees the attribute (rel=”nofollow”) on hyperlinks, those links won’t get any credit when we rank websites in our search results.” Under WordPress v1.5, the nofollow attribute is automatically added to all links in the comments section.
WordPress comes with a pre installed antispam solution – Akismet.
In order to use Akismet, you should have a WordPress API key. To receive a WordPress API key, you should register at the official WordPress website. The key will be included in your welcome mail.
If you already have a registration at WordPress.org, you can see your API key by visiting the WP dashboard.
To enable Akismet for your blog, follow the steps below:
Step 1. Go to your WordPress admin area > Plugins > Installed.
Step 2. Click Activate.
There are many ways to protect your WordPress.com blogs from unwanted comments:
* WordPress.com blogs are protected by the Akismet comment spam filter.
* You can control whether comments are automatically approved or if they need to be reviewed before they are published.
* You can add rules for comment moderation to control which comments get marked as pending.
* You can add rules to the comment blacklist section to automatically mark some comments as spam.
* If you turn on email notifications, then you can watch those messages for spam and delete them quickly if you find any that get through the comment spam filter.
Akismet learns by those who mark comment spam as comment spam and legitimate spam is despammed. If your comments are being caught by Akismet, remove them from the Akismet Panel. It might take two or three times, but it will learn and automatically not designate your comments as spam.
Commenters on your blog may have their comments caught by Akismet. If you do not regularly check your Akismet Panel, have an easy way of allowing readers to email you if their comment did not appear.
With updates to the database and major changes to the software, this process may have to be repeated.
If you continue to have problems with Akismet catching your comments or too many of your readers’ comments, contact Akismet for more assistance.
If you want to use smiley images in wordpress posts then you can use our tricks. Here in this article, we given sample and trick for using smiley in posts.
Follow our steps.
Find your smiley image files in the /wp-includes/images/smilies directory and back them up to another directory
Note the names of each smiley file. Your files must match these names and should be in the same ‘gif’ image format.
For predictable behavior, the image sizes should be similar.
Upload your new files to the /wp-includes/images/smilies directory with an FTP program.
How to use smiley images in wordpress posts
If you want to changes the names of smiley and you need to edit wp-includes/functions.php file.
In that file you will find the “smilies_init” function.
By default, WordPress automatically converts text smileys to graphic images. In this post I showed how to Use smilies/smileys in wordpress posts
Use smilies/smileys in wordpress posts
Smileys, also known as “emoticons,” are glyphs used to convey emotions in your writing. They are a great way to brighten up posts.
By default, WordPress automatically converts text smileys to graphic images. When you type 😉 in your post you see when you preview or publish your post.
If you turn off graphic smileys, whatever you type in plain text will remain, and be displayed, as plain text.
Go to your Admin Panel
Select Settings -> Writing
In the Formatting section, uncheck the box for “Convert emoticons like 🙂 and 😛 to graphics on display“
Turning off emoticons means that when you type 😉 in a post you will see 😉 when you preview or publish your post. So it doesn’t stop you from using emoticons as plain text.
What Text Do I Type to Make Smileys?
Smiley images and the text used to produce them*:
icon
text
text
full text
icon
full text
🙂
🙂
🙂
😆
😀
😀
😀
😳
🙁
🙁
🙁
😥
😮
😮
😮
👿
😯
😯
😯
😈
😕
😕
😕
🙄
8)
😎
😎
❗
😡
😡
😡
❓
😛
😛
😛
💡
😐
😐
😐
➡
😉
😉
😉
* In some instances, multiple text options are available to display the same smiley.
Note: The smiley or emoticon image graphics are found in the /wp-includes/images/smilies directory.
Most of wordpress plugin writer choose the new table for saving data for plugin setting and any setting in wordpress plugin. In this article we will show, how to use update option in wordpress plugin. I recommend to use the update option for saving data in wordpress database.
how to use update option in wordpress plugin
There is ready made option is provided by wordpress to save custom data in there table.
Here with very simple code I will show how use save the data in wordpress database.
< ?php
$variable = array(‘var1′ => $_POST['var1'], ‘var2′ => $_POST['var2']);
update_option(‘myPlugin_var1′, serialize($variable));
get_option(‘myPlugin_var1′) == “” ? “” : $new = unserialize(get_option(‘myPlugin_var1′));
?>
You should save data in simple variable format or I suggest always save data in array format.
For more reference you can check the following URL
http://phpxref.com/xref/wordpress/wp-admin/options.php.source.html
In article, I explained you the 5 best tips about how to keep your wordpress blog or website impressive and 5 tips to increase wordPress traffic and look. It is very important to increase wordPress traffic by doing some tricks. There are many ways for increase wordPress traffic. But here in this article, I found some very unique increase wordPress traffic tips which are very useful for every web master.
I also did many tricks for my client to increase wordPress traffic. So think deeply about, how to increase wordPress traffic.
increase wordPress traffic
WordPress is becoming most popular CMS these days. It is very easy to use and great search engine support. Following are simple steps which I used to increase wordPress traffic.
Last year wordpress left behind all the cms. Many people are thinking about how to keep the there wordpress site impressive.
In this article I am going tell you the 5 best tips about how to keep your wordpress blog or website impressive.
1. Create a widget controlled footer that keeps visitors busy on site
Widget controlled footer is not new thing in wordpress website but still having footer with multiple information is good.
You should keep the following footer widget in website.
1. Recent posts
2. Popular Post
3. Recent Comments
For recent comments you can use following code in footer without plugin
<?php
$my_query = new WP_Query('showposts=15');
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
?>
For popular post We can use the wp-popular-post plugin. Using that plugin use can use following code in your website
You can increase wordPress traffic and website will look cool with best custom made images.
You can use following code for showing the images on homepage.
First you need to open the functions.php file from your wordpress theme folder and copy paste following code in that file.
In your index.php file you need to copy paste the following code for showing the image.
<?php get_first_image($post->ID); ?>
3. Add social media links to the bottom of post
Visitors always want to bookmark the website or your posts.
So keeping that very simple adding the social media links to your posts is very nice.
Finding the good social media icons as per your website is very easy with google.
There are some nice wordpress plugins available for adding the social media icons but recommend not to use any wordpress plugin.
Or you can use following code.
4. Install the Tweetmeme style Twitter button to your posts
Twitter is very popular these days. Twitter is micro blogging website.
So many people want to share there articles with twitter and Many visitors want to share article with there friends and follower by tweeting the article.
I recommend to use the tweetmeme wordpress plugin for putting the Twitter button to your posts.
You can download the tweetmeme wordpress plugin from following URL
http://tweetmeme.com
5. Always show the Author information with photo
Many visitors want to know about author. Keeping Author’s information on wordpress website is really good idea.
That will become your website more interesting the user friendly to visitors.
Some people like the specific writing style of author and They want know more information about Author.
In wordpress keeping the users photo and information I will suggest to use the user-photo wordpress plugin.
http://wordpress.org/extend/plugins/user-photo/
After adding following plugin you can use following code in your wordpress posts.
You can add the easily add reply comment link in wordpress comments template. WordPress api will give you very easy and better options to get reply comment link in wordpress.
.
how to get reply comment link in wordpress
Open your comments.php file from your wordpress theme folder and use following code.
<?php
// for Text
comment_reply_link( array ( 'reply_text' => '<img src="..." alt="Reply Comments">' ) );
// for Image</code>
comment_reply_link( array ( 'reply_text' => '<img src="..." alt="Reply Comments">' ) );
?>
For More detail you can use the following article…
You can add your text before footer area. Using our code you can easily achieve this. In this article I will show you how to add text in footer wordpress. In this article I will show you how to add the text before footer area in wordpress.
how to add text in footer wordpress
First Open your functions.php file from your wordpress theme and use following code in the functions.php
function custom_footer() {
$content = '</pre>
<div id="custom_footer">this is your custom function or text</div>
<pre>';
echo $content;
}
add_action('wp_footer', 'custom_footer');
Then open your footer.php file from wordpress theme folder and put following code in footer where you want to show your custom text or function.
When we need to re-arrange my recent post in wordpress. they go Ascending/Descending order category wise. Code for change wordpress post order category wise. We can easily achieve this using wordpress api.