Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello,
    I have a problem with the page titles: option is activated for posts and pages…

    but it doesn’t appear in my theme… When I change the theme, it’s working…

    Then here is a copy of my header.php can you tell me what’s wrong inside for your plugin please? Thanks !

    <?php
    
    /* 	DISCUSSION Theme's Header
    	Copyright: 2012, D5 Creation, www.d5creation.com
    	Based on the Simplest D5 Framework for WordPress
    	Since DISCUSSION 1.0
    */
    
    ?>
    
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title() ?></title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <?php wp_enqueue_style('discussion-style', get_stylesheet_uri(), false, '1.2.01');?>
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php 
    
    wp_head(); ?>
    
    </head>
    
    <body <?php body_class(); ?> >
    
      <div id="container">
    
    	  <div id ="header">
          <h2 ?></h2>
          <div id ="header-content">
    
    		</div><!-- header-content -->
    
          <!-- Site Main Menu Goes Here -->
            <nav id="discussion-main-menu">
    		<?php if ( has_nav_menu( 'main-menu' ) ) : wp_nav_menu( array('menu' => 'Main Menu' )); else : ?>
              <?php wp_page_menu(); ?>
            <?php endif; ?>
            </nav>
    
            <div id="thambslide">
            <ul>
    		<?php
      		$thumbnails = get_posts('numberposts=20');
      		foreach ($thumbnails as $thumbnail) {
        	if ( has_post_thumbnail($thumbnail->ID)) {
          	echo '<a href="' . get_permalink( $thumbnail->ID ) . '" title="' . esc_attr( $thumbnail->post_title ) . '">';
          	echo '<li>' . get_the_post_thumbnail($thumbnail->ID, 'thumbnail'). '</li>';
          	echo '</a>';
        	} }
    		?>
            </ul>
Viewing 1 replies (of 1 total)