Shortening Excerpt or Content
Sometimes, our web will looks bad, because the content that shown at the main page were too long. Even you are change that content into excerpt “the_exceprt()” it will still too long, and still looks bad. The idea is you only need to show 100 Characters only, is this possible?
Actually, WordPress already have built in script to do this trick. To show only certain of character of our content. Lets see this example below :
How to Shortening the_excerpt
<?php echo substr(get_the_excerpt(),0,100); ?>
- 0 : Start
- 100 : Ends
that sample above means, script will only show text from 0 until 100 chars. Its possible to show from 100th chars until 150 chars.
it will be like this
Got the point? Share it for everyone. If you need to know how to cut your title post, you can read it here.
. Reviewed by
best drugstore where you can buy viagra buy viagra online canada No surgery is totally free of possible complications. Complications associated with penile implants include: Women who use the vaginal ring should not smoke. looking for viagra without prescription? canadian pharmacy viagra There are many different ways ED can be treated, including oral medications, sex therapy, penile injections, suppositories, vacuum pumps, and surgery. Each type of treatment has its own advantages and disadvantages. Talk to your doctor to determine the best treatment for you. A. It works for 70 to 80 percent of all men suffering from ED, with highest success rates in men with non-vascular causes of ED (psychogenic, hormonal, neurogenic). After undergoing a radical prostatectomy, some men experience pain and burning when injecting the medicine, (alprostadil). Only 1 to 5 percent of men have this reaction, but it's enough to prevent them from using the drug again. If you need viagra canadian pharmacy viagra The US-based Center for Medicine in the Public Interest estimates that the global sale of counterfeit drugs will reach $75 billion in 2010, a 92 per cent increase in five years. Generic viagra 100mg » Online Drugstore