Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




html_type_rss [ WordPress Function ]

html_type_rss ( No parameters )
Defined at:



Display the HTML type based on the blog setting.

The two possible values are either 'xhtml' or 'html'.

Source


<?php
function html_type_rss() {
    
$type get_bloginfo('html_type');
    if (
strpos($type'xhtml') !== false)
        
$type 'xhtml';
    else
        
$type 'html';
    echo 
$type;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics