Create a free email newsletter service using wordpress

Disponível somente no TrabalhosFeitos
  • Páginas : 6 (1444 palavras )
  • Download(s) : 0
  • Publicado : 29 de novembro de 2012
Ler documento completo
Amostra do texto
Create a Free Email Newsletter Service using WordPress
By Editorial Staff in Tutorials

As you see now, more and more bloggers are adding weekly email newsletter service on their blog. A lot of their audience subscribe to the weekly newsletter because it summarizes the week worth of activities on the blog, and it has exclusive tips just for the subscribers. There are many email newslettersolutions like Aweber, one of the most recommended one, but they all charge money. The solution we are going to mention in here by no means can compare to the features provided by the premium service like Aweber, and it must not be considered as the better system. Our solution is rather to give bloggers an affordable and functional method to create newsletter by using the open source software that weall love, WordPress.
In this tutorial, we will be using WordPress and Feedburner with a few plugins to create a simple Email Newsletter Service for your WordPress blog. You can track the performance of your newsletter by checking how many subscribers you have, how many clicks each link gets and much more.
Note: The codes referenced in this article will vary across themes because each designerhas their own style of coding. So look for something similar or along the line of that code. This is by no means an advanced tutorial, but HTML and CSS Knowledge is recommended.
Step 1 – Add a New Category
In the first step of this tutorial, you will need to create a new category for your posts in WordPress. You can create a new category by visiting Posts > Categories Tab in your WordPressadmin panel. You can name the category anything you like. For the sake of example, we will call it Email Newsletter.

One of the things that you need to make sure that you do is to note the category ID of this new category that you created. It will be very crucial that you know this ID. Through out this tutorial, we will be using the parameter [Replace with your Category Id] and where ever you seethis tag, you must replace it with the category ID of this new category.
Here is you can find the category ID. Simply go to Posts > Categories. Bring your mouse over the category that you created and look at the status bar.

So for example, the category ID of the category we created will be 10. Make sure that you replace each code that looks like this [Replace with your Category Id] withyour category ID.
Step 2 – Excluding Category From the List
Usually blogs have a list of categories in their sidebar, header, archive pages, footer and other places depending on the design. What our goal is in step 2 is to exclude our Email Newsletter category from all these category lists. In other words, we are hiding our category, so it is not shown to normal viewers of the site because thematerial in this category is only for Newsletter Subscribers. You will need to look in your template and see where the category list is located most commonly sidebar.php. Locate the similar code:
<?php wp_list_categories('&title_li=<h2>Categories</h2>'); ?>
and Replace it with the one below:
<?php wp_list_categories('exclude=[Replace with your CategoryId]&title_li=<h2>Categories</h2>'); ?>
Make sure you insert your category ID in this code. Some themes have the above code in other files as mentioned, so you must check where your categories are being displayed and replace it to the above one.
Now no user can see your category from the list, but there is a lot more that we have to do.
Step 3 – Exclude the Posts from Our Email NewsletterCategory
All of the posts from Email Newsletter category is still visible to all site users. They can see it in RSS, Search pages, Homepage, and Archives. Instead of individually adding the code to each file, we will use the plugin called Advanced Category Excluder (ACE) which will make the job a lot faster and a lot easier for new WordPress users.

When you are in the settings of ACE plugin, make...
tracking img