- English
- 日本語
Abstract
Hello everybody, It’s candle.
Nowadays, when I used free themes for wordpress at the company, I noticed that.
Many free theme use the_content function which expands all the contents of individual articles in the article list, and it is very irritating.
However, editing a free theme is troublesome.
We use the “Advanced Excerpt” plugin to limit the number of characters displayed in the article list and make it easy to see.
We use the free theme “twentyeleven” as a sample.
Premise
There is a wordpress.
Install “Advanced Excerpt” plugin
From the left menu of the management screen, press “Plugins” → “Add new”.
Enter “Advanced Excerpt” into the top right search field.
Press the “Install Now” button .
After installation, you enable plugin.
It’s ok.
Plugin setting
Click the “Settings” of “Advanced excerpt” in the plugin list.
Setting from here, please use it as reference.
Set “Excerpt Length” to “100” and change “Words” in the pull-down menu to “Characters”.
“Finish” value is ok with “Exact”, but it seems that it counts in bytes, and it gets garbled with 2 byte 1 character like Japanese.
Check “Read More Link” and enter “Read more” in the text box.
This setting make the link named “Read more” in the end of trimmed article text.
Finally, there is an item to delete the tag in the article.
I think that deleting the tag is easier to see, so I will set it up
Check “Remove all tags except the following” of “Strip Tags”.
If you want to display a tag exceptionally, checking only that tag will be displayed.
Basic setting is over.
Let’s save by pressing the “Save Changes” button at the bottom.
Chek it
This is the image that before limited cahracters in the twentyeleven theme.
This is the image that remove some characters.
After
The number of characters has decreased, and it is better than before.
Conclusion
The best solution is to edit with themes, but if you want to change easily way, It is ok in this way.