I was offered a plugin that can achieve this for $27, I forgot the name but you might stumble upon it by googling for it.
If you're not familiar with Wordpress coding which is written in PHP, the plugin will be an easy way out for you. But to me, it is a costly way out. Of course, you can always ask a friend who digged PHP and buy him or her a $5 cup of coffee to finish the job in less than a minute. Or, follow my easy step by step tutorial and get it done yourself for free..
This snippet will do exactly as stated in the title. Everytime you hit "Publish" button, it will also publish your post to other blogs which you had defined with link back to your site in it.
Why Would I Want My Posts to be Posted on Other Blogs?
Because each article has link back to your source blog, it will strengthen your external SEO strategy. This snippet will help you automate your backlinks building.
Limitation of This Snippet
- Only support one method of posting; email to blog
- If you load up too many blogs, it will delay publishing process.
- No mailing throttle capability. So, if your source blog hosted on shared hosting, you have to check to the hosting company about your hourly and daily mailing limit. Then adjust the frequent of your daily posting and the number of blogs you'd like to post to.
- Tell me if there are more limitations .. :)
Where Can I Get The List of Blogs That I Can Post to?
You can set them up yourself. Blogger, Tumblr, Wordpress support email to blog feature (please add if you know more platforms with this feature). I'll write tutorial on how to activate this feature later.
I'm thinking about creating a group to accommodate this in Facebook, where member can share their blogs' emails to get content, and use the well categorize directory of those blogs' emails to get backlinks. What do you think?
The Snippet
[syntax type="php"]
// SEND BLOG POST TO BLOGS-NETWORK VIA EMAIL ONCE POST IS PUBLISHED
function post_to_blogs($post_id) {
if( ( $_POST['post_status'] == 'publish' ) && ( $_POST['original_post_status'] != 'publish' ) ) {
$post = get_post($post_id);
$postpermalink = get_permalink($post_id);
$author = get_userdata($post->post_author);
$email_subject = $post->post_title;
$message = $post->post_content;
// This will add a link back to your site
$message .= "<p>Source: <a href='" . $postpermalink . "' target='_blank'>" . $email_subject . "</a></p>";
// Add emails of blogs below. Example: $blogs_email = array("armanto.bejo.senselessness@blogger.com", "anotheremail@tumblr.com", "another.one@blogger.com", "moremail@blog.com" .. and so on ..);
// I've added armanto.bejo.senselessness@blogger.com so you can plant backlinks there and test this snippet, the blog url is senselessweb.blogspot.com
$blogs_email = array("armanto.bejo.senselessness@blogger.com", "armanto.bejo.senselessblurp@blogger.com");
$nomor = 0;
foreach ( $blogs_email as $blog_email ) {
$blog_email = $blogs_email[$nomor];
wp_mail( $blog_email, $email_subject, $message );
$nomor++;
}
}
}
add_action( 'publish_post', 'post_to_blogs' );
[/syntax]
How to Use The Snippet
Copy the snippet and paste it into file functions.php in the themes folder of your current Wordpress blog template.
That's it!
Would You Create a Plugin Base on This Snippet?
Yes.
Source: Simple WordPress Snippet to Automatically Publish Your Post to Unlimited Number of Blogs
Tidak ada komentar:
Posting Komentar