b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Archives
  3. Pro WordPress Theme Conversion

Pro WordPress Theme Conversion

The contents of this page no longer apply to current versions of b2evolution.

The quick tips on Converting WordPress Themes can be used to get a quick working prototype in b2evolution.

However, for professional skins converted from WordPress themes, you will also want to look at the following:

  • Use the "evopress" skin in b2evolution as a reference point. Use the default theme ("kubrick") in WordPress as a reference point if needed. It is the same design in b2evolution and WordPress, it can show you how to achieve the same things in both environments.
  • Do not use the quick solutions from _wp_compatibility.inc.php ; use the real b2evolution skin tag equivalents. Furthermore, make sure you add the standard comments around those skin tags. Example:

// -------------------------- HTML HEADER INCLUDED HERE --------------------------
skin_include( '_html_header.inc.php' );
// Note: You can customize the default HTML header by copying the generic
// /skins/_html_header.inc.php file into the current skin folder.
// -------------------------------- END OF HEADER --------------------------------
  • Make sure you include all the default widget containers, especially:
    • PageTop
    • Header
    • Menu
    • Footer
    • Sidebar
    • Sidebar 2 if you use 2 or more sidebars
    • Sidebar 3 if you use 2 or more sidebars
  • If you use typical sidebar content above or below the main content, please call those containers "Sidebar", "Sidebar 2", etc. so that they include the default widgets by default.
  • Make sure you include the evo toolbar at the top. This should automatically be included when you include
skin_include( '_html_header.inc.php' );
  • Make sure the evo toolbar looks exactly the same as in the evopress skin (size, color, fonts, etc.)
  • Do not apply any styles globally, nor apply them to body or html. Those will affect the toolbar and you don’t want that.
  • Do not apply any background image to body. Apply it to div.skin_wrapper_loggedin and div.skin_wrapper_anonymous instead. Otherwise, part of your background may be hidden by the toolbar when the user is logged in. (You can also use those 2 classes to have different spacing at the top of the design depending on whether there is a toolbar displayed – aka logged in – or not.)
  • Test the skin at least with the following browsers:
    • FireFox
    • Internet Explorer
    • Safari
  • If you ad a search form outside of a widget container, use the following:
<form action="<?php $Blog->gen_blogurl() ?>" method="get" class="search">
  • Make sure you test the skin in logged-in mode and that edit links are displayed correctly:
    • Posts should have Edit links
    • Comments should have Edit and Delete links
  • In order to display comments differently when they are posted by the author of the original post, use this

if( !empty($Comment->author_user_ID) && $Comment->author_user_ID == $Item->Author->ID )
{ // This comment was posted by the author
Created by fatimahnasra • Last edit by fplanque on 2020-06-09 00:24 • •

No feedback yet

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
    • Documentation Effort
    • How to call a blog from a subdirectory?
    • Converting WordPress Themes
    • Evoskin and A Template
    • Quick Upgrade Procedure
    • International Manuals
    • Known Issues
    • Online Help
    • Pretty URL
    • Pro WordPress Theme Conversion
    • Skin/Plugin XML Descriptions
    • Template Tag: Item Views
    • Version
    • How to Change the Appearance of my Permalinks
    • CVS / SourceForge
Run your own website!

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque