Evoskin and A Template
The following refers to b2evolution version: 0.8.2-RC2 and is obsolete. See 2.0.
What’s the difference between an evoskin and a template?
- An evoskin is actually a collection of templates and subtemplates which control the layout of your blog. Skins are the easiest way to customize your blog because they are already packaged for use.
- A template is the page b2evolution uses to include the various aspects of your weblog (posts, comments, category lists, calendar, etc.). You can add or subtract template elements from your blog as you see fit. See below for further information about the various parts of a template.
Generally speaking, b2evo users don’t refer to templates very often. Most customizations are done on the skin level. Please view the Page#Customize & Extend your blog | "Customize & Extend your blog" section on the Main Page? for more information about changing skins and templates.
- Introducing Templates?
If you are using evoSkins, the main template is the _main.php file of your skin.
If you are not using skins, the main template is your blog template as you have always known it ;-)
Below are some "tags" you can include in your main template. You can copy/paste from this page.
Creating links to archives
Creating links to categories
Including a form to select specific categories
Including another blog to act as a blogroll
Including a skin switcher
Creating links to RSS feeds
Please add a link to the b2evolution home page
If you are not using skins, you may have to adapt the path to the b2evolution button: http://b2evolution.net/img/b2evolution_button.png (/blogs/img/b2evolution_button.png)
Warning: If you have enabled pings to b2evolution.net, and you do not link to http://b2evolution.net in your blog, you will be banned from further pings.
Including a list of available blogs
Logging A Hit
Add this, near the end (or at the end) of your template:
You will NEED to log a hit to the page for your stats to work.
Most skins include this in the end of the page.
Recent referrers, search referrers and other stats will not work without this.
Created by • Last edit by on Nov 15, 2013
No feedback yet
Form is loading...