• .
  • .
  • .
  • .

Display First WordPress Full Entry and then Following as Excerpts

Posted in WordPress | Posted on Date 12-30-2011 | Comments 46 Comments
Tags: , , , ,

wordpress-tricks

I like to use this code to display the first full entry and then the rest of my entries as excerpts from my main page. This is not hard to do and only requires that you replace a few code snippets. You can apply this to your theme’s index template file (most commonly index.php), or whatever your blog template file may be called.

Look for the following code in the loop in your:


<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

Replace with the following.

<?php if (have_posts()) : ?>
<?php $postcount = 0; // Initialize the post counter ?>
<?php while (have_posts()) : the_post(); //start the loop ?>
<?php $postcount++; //add 1 to the post counter ?>

This code allows your blog to see how many posts you have.

2. Look for the following code. You are going to be replacing the_content


<?php the_content('Read the rest of this entry &raquo;'); ?>

with:


<?php if ($postcount == 1) : // if this is the first post ?>
<?php the_content('Read the rest of this article ->'); //Show the full post ?>
<?php else : //if this is NOT the first post ?>
<?php the_excerpt(); ?>
<?php endif; //end of the check for first post - other posts?>

The code basically tells your blog to show the first as the full entry and the following posts as excerpts.

Determining How Frequent You Should Blog In Order to Be A Success

Posted in Blogging | Posted on Date 12-30-2011 | Comments 50 Comments
Tags: , ,

blog
You may have read a few times that you have to blog frequently. The problem is… how frequently should you blog? And why should you blog frequently? Who should be blogging frequently? One specific answer for all bloggers does not cut it. There are so many different niche and even more so, different types of blogs, and individuals. Not everyone can attest to being a professional blogger who has quit their day job and have all the time in the world to do what they want, including blogging. Even professional bloggers are not pumping out content in mass amounts all Read More →

Impact of Google+ Brand Pages

Posted in SEO | Posted on Date 12-29-2011 | Comments 34 Comments
Tags: , ,

googleplus-thumbnail
Google+ quite recently launched a new feature called Google+ brand pages. This was quite similar to the Facebook pages. The feature also provided certain other perks to the companies as their profile could be searched directly from the Google search bar by adding a ‘+’ before the brand name. Also, the brands can use the Google+ brand badge, which can be put up at the main site to directly connect to the brand page. Though these are still early days, these brand pages have already had some impact on the search engine’s result pages. Here is quick look at how Read More →

Community Blogging Versus Guest Blogging

Posted in Blogging | Posted on Date 12-29-2011 | Comments 13 Comments
Tags: , ,

socialmedia
Are you a blogger that accepts guest bloggers quite frequently? You might want to think about how you label your site, especially if you are wanting to strengthen your own brand. Guest blogging can be really great for blog owners as it is a means to supplement content when it cannot be published as frequently. It is a way for fresh faces to be heard with topics that echo that of the blog owner’s views. However, it is a supplement- not to be used frequently. In allowing frequent guest bloggers, it becomes a permanent crutch, leaving you unable to break Read More →

WordPress Moon Wallpaper

Posted in WordPress | Posted on Date 12-24-2011 | Comments 15 Comments
Tags: ,

freebies
I hope you enjoy this simple computer desktop wallpaper. It is another WordPress related one for those who are fans. Why do I make these? Because I like WordPress enough as a fan and have met many like myself who share the enthusiasm. When I attend and speak at WordCamps (WordPress conferences), I always see people have WordPress stickers on their laptop. So, I thought maybe a desktop wallpaper would be a nice addition too. The wallpapers are in 3 different sizes. If a bigger size is needed, leave a comment and I will make it so. I am working Read More →

Taking That First Step To Starting A Blog

Posted in Blogging | Posted on Date 12-23-2011 | Comments 18 Comments
Tags: ,

building_blocks
Starting your own blog does take courage. You are starting it with the obvious intent to reach out to others, whether it to provide information, provide inspiration, make money, for therapeutic reasons, or other reasons. Before you start a blog, you really have no need to be monetizing it yet. Of course, you can implement Adsense, but without traffic and clicks, you make nothing and appear to be all in for the money. Get your priorities in order before you start a blog. Planning your blog is the best place to start. What do you want to do with your Read More →

WordPress Plugin Review: StatPress

Posted in WordPress | Posted on Date 12-22-2011 | Comments 9 Comments
Tags: , ,

wordpress-plugins
I really enjoy using StatPress. Let me re-phrase that – I really enjoyed using StatPress for a time. I would review StatPress Reloaded, but it is only compatible to 2.9.2 and seems to not have any updates since WordPress is on version 3.3 (December 2011.) StatPress is a real-time statistics plugin for users to install on their WordPress blog and be able to check through their administration panel. Stats includes are visitors per day, feeds per day, what browsers people are using when visiting, referring sites, and IPs. The plugin was created by Daniele Lippi. Note: Recently Daniele introduced StatPress.org, Read More →

Watch Out! Some Premium WP Plugin Companies On the Prowl

Posted in News | Posted on Date 12-22-2011 | Comments 3 Comments
Tags: , ,

wordpress-cat-thumb
I have been tagging quite a few commenters for spam and noting at other WordPress related sites, that there have been a lot of people leaving comments for their premium plugins. The message has nothing to do with the original post and in my case, it was on a post of a plugin that had nothing to do with the premium posts. Rather than go about it this way, perhaps the plugin makes should consider releasing the plugin to notable people in the WordPress community to try out and write their feedback. Commenting and leaving a spammy link does nothing Read More →