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. Developer Reference
  3. Website Skins/Themes
  4. Creating evoSkins
  5. Wordpress to b2evolution tags

Wordpress to b2evolution tags

This table lists wordpress tags and their equivalent b2evolution TemplateTags.

Because these tags evolve frequently, please feel free to edit or report any discrepancies.

Wordpress tag

b2evolution tag

Example/Description

Compatibility function available

get_header();

skin_init( $disp );
skin_include('_html_header.inc.php');
skin_include('_body_header.inc.php');
See details.

Initialize the template and display headers. Note that there are 2 kinds of headers: the HEAD section of the HTML page as well as the visible page header.

get_footer();

skin_include('_body_footer.inc.php');
skin_include('_html_footer.inc.php');
See details.

Display the page footer and close the HTML page.

wp_login_url();

user_login_link(); See details

Display the URL that allows the user to log in to the site.

wp_logout_url();

user_logout_link(); See details

Display the URL that allows the user to log out of the site

wp_register();

user_register_link(); See details

Display the registration or admin link.

wp_title();

request_title() See details

Display or retrieve page title for all areas of blog.

wp_list_bookmarks();

$plugins->call_by_code(); See details

Retrieve or display all of the bookmarks.

wp_get_attachment_url();
wp_get_attachment_image();

$Item->images(); See details
$Item->files(); See details

Retrieve the URL for an attachment and get an HTML img element representing an image attachment.

wp_list_comments();

skin_include( '_item_feedback.inc.php'... See details

Display comments.

wp_link_pages();

$Mainlist->page_links(); See details

The formatted output of a list of pages.

wp_get_archives();

$plugins->call_by_code(); See details

Display archive links based on type and format.

the_title();
the_title_attribute();

$Item->title(); See details

Display the title of current item.

Yes

the_ID();

$Item->ID

Display the ID of the current item.

the_permalink();

$Item->permanent_link(); See details
$Item->permanent_url(); See deatils

Display the permalink for the current item.

the_author();
get_query_var('author_name');

$Item->author(); See details

Display the name of the author of the current item.

the_date();
the_time();
the_weekday();
the_weekday_date();

$Item->issue_date(); See details
$Item->issue_time(); See details

Display the date, time and weekday at which the item was written.

Yes

the_modified_date();
the_modified_time();

$Item->mod_date(); See details
$Item->mod_time(); See details

Display the date and time at which the item was last modified.

the_tags();

$Item->tags(); See details

Display the tags for an item.

Yes

the_category();

$Item->main_category(); See details
$Item->categories(); See details

Display the category list for the item.

Yes

the_content();

skin_include( '_item_content.inc.php'... See details

Display the item content.

Yes

the_taxonomies();

$Item->categories(); See details
$Item->tags(); See details

Display the taxonomies of an item with available options.

edit_post_link();

$Item->edit_link(); See details

Display edit item link for item.

Yes

post_comments_feed_link();
get_post_comments_feed_link();

$Item->feedback_feed_link(); See details

Get the permalink for the item comments feed.

previous_posts_link();
next_posts_link();

$Mainlist->page_links(); See details

Display the previous and next items pages link.

Yes

previous_image_link();
next_image_link();

no equivalent

Display previous and next image link for the current item.

pings_open();

$Item->can_receive_pings(); See details

Whether the current item is open for pings.

have_posts();

display_if_empty(); See details

Whether current blog has posts.

is_singular();

$Item->type(); See details

Whether is single post, is a page, or is an attachment.

trackback_url();

$Item->trackback_rdf(); See details
$Item->trackback_url(); See details

Displays the current item’s trackback URL.

Yes

post_class();

no equivalent

Display the CSS classes for the post div.

get_calendar();

$plugins->call_by_code(); See details

Display calendar with days that have posts as links.

Yes

comments_popup_link();
comment_form_title();

$Item->feedback_link(); See details
$Item->feedback_moderation(); See details

Displays the link to the comments popup window for the current post ID.

Yes

previous_comments_link();
next_comments_link();

no equivalent

Display the previous and next comments page link.

comments_number();

$Item->feedback_link(); See details
$Item->feedback_moderation(); See details

Display the phrase for the number of comments the current item has.

comments_open();

$Item->can_comment(); See details

Whether the current item is open for comments.

cancel_comment_reply_link();

no equivalent

Display HTML content for cancel comment reply link.

have_comments();

$Item->has_feedback(); See details

Whether there are comments or not. This tag return boolean value.

allowed_tags();

comment_allowed_tags(); See details

Display all of the allowed tags in HTML format with attributes. This is useful for displaying in the comment area, which elements and attributes are supported. As well as any plugins which want to display it.

get_sidebar();

skin_container(); See details

Display sidebar.

is_user_logged_in();

is_logged_in(); See details

Checks if the current visitor is a logged in user.

Wordpress to b2evolution parameters

Wordpress parameter

b2evolution parameter

bloginfo('name');
bloginfo('blogname');

$Blog->disp('name'); See details
$Blog->name(); See details

bloginfo('url');
bloginfo('home');
bloginfo('siteurl');

$Blog->disp('url'); See details
blog_home_link(); See details

bloginfo('description');

$Blog->disp('shortdesc'); See details
$Blog->disp('longdesc'); See details
$Blog->longdesc(); See details

bloginfo('rdf_url');

$Blog->disp('rdf_url'); See details

bloginfo('rss_url');

$Blog->disp('rss_url'); See details

bloginfo('rss2_url');

$Blog->disp('rss2_url'); See details

bloginfo('atom_url');

$Blog->disp('atom_url'); See details

bloginfo('comments_atom_url');

$Blog->disp('comments_atom_url'); See details

bloginfo('comments_rss2_url');

$Blog->disp('comments_rss2_url'); See details

bloginfo('pingback_url');

no equivalent

bloginfo('stylesheet_url');
bloginfo('stylesheet_directory');

$Blog->disp('blog_css'); See details
$Blog->disp('user_css'); See details

bloginfo('template_directory');
bloginfo('template_url');

$Skin->get_path(); See details
$Skin->get_url(); See details

bloginfo('admin_email');

$Blog->contact_link(); See details

bloginfo('charset');

locale_charset(); See details

bloginfo('html_type');

no equivalent

bloginfo('version');

app_version(); See details

bloginfo('language');

locale_lang(); See details

bloginfo('text_direction');

no equivalent

Created by fatimahnasra • Last edit by fplanque on 2020-06-09 00:25 • •

No feedback yet

On this page

  • Wordpress to b2evolution parameters

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
    • Website Skins/Themes
      • Skin Development Primer
      • Loading additional resources into a skin
      • Where are the skin files?
      • CSS Guidelines
      • Targeted CSS Selectors
      • Introducing evoSkins
      • Modifying evoSkins
      • Creating evoSkins
        • How to upgrade a b2evo blog template to an evoSkin
        • Skin Checklist
        • Validate as XHTML
        • Wordpress to b2evolution tags
      • Skin Tags / API
      • Styling widgets
      • Skin Quality Control
      • Using HTML 5 tags
      • Using Custom Item Templates
      • Using bootstrap classes in footers
      • Using Grunt
      • Dev Menu
      • How to add a Google Font (WebFont) ?
      • Custom Fields in a Template
      • Site Skins
    • Email Skins/Themes
    • b2evolution Files
    • Website Integration
    • Plugins
    • Debugging
    • Technical Reference
    • Hacks
    • Credits
    • Development
    • How to... (Customize)
    • Scheduled Tasks Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
CCMS

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