function theme_shortcode_post_title($atts, $content = null)
 {
     extract(shortcode_atts(array('container' => 'h1', 'class' => 'page-title'), $atts));
     $title = generate_title();
     if ($container && $container != '0' && $container != 'false') {
         $title = '<' . $container . ' class="' . $class . '" title="' . $title . '">' . $title . '</' . $container . '>';
     }
     return $title;
 }
Esempio n. 2
0
function plogger_head()
{
    global $config;
    $title = generate_title($GLOBALS['plogger_level'], $GLOBALS['plogger_id']);
    if ($config["embedded"] == 0) {
        print "<title>" . SmartStripSlashes($config["gallery_name"]) . ": {$title} </title>\n";
    }
    print generate_slideshow_js($GLOBALS["plogger_id"], "album");
    print "\n";
    // Embed URL to RSS feed for proper level.
    print '<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="' . plogger_rss_link() . '" />' . "\n";
    print '<meta http-equiv="Content-Type" content="text/html;charset=' . $config['charset'] . '"/>' . "\n";
}
Esempio n. 3
0
function get_head_title()
{
    global $config;
    $title = generate_title($GLOBALS['plogger_level'], $GLOBALS['plogger_id']);
    return SmartStripSlashes($config['gallery_name']) . ': ' . $title;
}