Support » Fixing WordPress » TITLES ARE MISSING – HELP PLEASE!!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Try disabling your plugins one at a time until the problem goes away. See which plugin is causing the issue.

    I did it to all plugins step by step. None of them cause the problem.
    I’m using Twenty eleven.
    I’m using child theme as well but I didn’t change anything in child theme. It is the same like before upgrade.
    The only thing that I change after upgrade was this:
    In main theme in footer.php
    I add
    <div style=”clear:both;”></div>
    before this
    </div><!– #main –>
    The reason of it was that the color behind the text was not stretching for whole page and somebody helped me with this.
    I removed it as well but nothing changed. So now I’m agains the wall with this issue…

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Weird. If you switch off the child theme and back to the default theme, do the titles reappear?

    Yes – it changes. When I switch to default theme titles are back.
    But collors behind them and on the top getting switched.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Okay, so look at the child theme. Where it’s calling the_title(), what’s around that? Has to be something there.

    I don’t really have a lot in there:

    Theme Name: MyTheme
    Theme URI:
    Description: Child Theme for Twenty Eleven
    Author: Zlotobrazowa
    Author URI:
    Template: twentyeleven
    Version 0.1.5
    @import url("../twentyeleven/style.css");
    #main {
    	clear: both;
    	padding: 0 0 1.1em;
            background: #E6DEB3;
    #access {
    	background: #E6DEB3; /* Show a solid color for older browsers */
    	background: -moz-linear-gradient(#844C0C, #E6DEB3);
    	background: -o-linear-gradient(#252525,#0a0a0a);
    	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#FFDAB9)); /* older webkit syntax */
    	background: -webkit-linear-gradient(#252525, #0a0a0a);
    	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    	clear: both;
    	display: block;
    	float: left;
    	margin: 0 auto 6px;
    	width: 100%;
    #branding { background: #E6DEB3;} 
    .czytaj-dalej {
    background-color: #555;
    #access a {
    	color: #000000;
    	display: block;
    	line-height: 3.333em;
    	padding: 0 1.2125em;
    	text-decoration: none;
    #site-generator {
    	background: #E6DEB3;
    	border-top: 1px solid #ddd;
    	color: #666;
    	font-size: 12px;
    	line-height: 2.2em;
    	padding: 2.2em 0.5em;
    	text-align: center;
    #site-generator a {
    	color: #555;
    	font-weight: bold;
    _____________________________________________________ */
    @media (max-width: 800px) {      #page {        min-width: 500px;          } /* keep the sidebar - for right sidebar */    .right-sidebar #main #content {         margin: 0 29% 0 1%;         width: 70%;     }     .right-sidebar #main #secondary {         float: right;         margin: 0 1% 0 1%;         width: 24%;     } /* keep the sidebar - for left sidebar */    .left-sidebar #main #content {         margin: 0 1% 0 29%;         width: 70%;     }     .left-sidebar #main #secondary {         float: right;         margin: 0 -1% 0 2%;         width: 24%;     } /* correction for 'showcase' template */    .page-template-showcase-php #main #primary.showcase {         float: right;         margin: 0 2% 0 2%;         width: 96%;     }     .page-template-showcase-php #main #primary.showcase #content {         margin: 0 6% 0 6%;         width: 88%;     }     .page-template-showcase-php section.recent-posts {         float: right;         margin-right: 0pt;         margin-left: 31%;         width: 69%;     }     .page-template-showcase-php #main .widget-area {         float: left;         margin-right: -22.15%;         margin-left: 0pt;         width: 22.15%;     } /* correction for singular posts/pages without sidebar */    .singular #main #content {         margin: 0 8% 0 8%;         width: 84%;     } /* keep floating footer widgets side-by-side at this size */     #colophon #supplementary .widget-area {           float: left;           margin-right: 1%;           width: 32%;      } }   /*to keep image alignment in narrow browsers*/@media (max-width: 650px) {   .alignleft { float: left; }   .alignright { float: right; } } 
    .post p {

    That is all I have in child theme.
    Do you see anything there?



    Forum Moderator

    No – that’s the stylesheet. What other files do you have in the child theme’s folder?.

    Content php:

    <?php if ( is_home() || is_search() ) : // Only display Excerpts for Search ?>
    		<div class="entry-summary">
    			<?php the_excerpt(); ?>
    		</div><!-- .entry-summary -->
    		<?php else : ?>
    		<div class="entry-content">
    			<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    		</div><!-- .entry-content -->
    		<?php endif; ?>

    Showcase.php – empty

    Functions.php – empty

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Well, there’s your problem. Your content.php file doesn’t have a call to display the title in it.

    The content.php basically displays the post, which then gets looped over and over again to display each post in turn.

    If you look at twenty-eleven’s content.php, it has a LOT more in there, including calls to the_title() and such.

    Yes, but I didn’t change anything in content.php and before upgrade it was working.
    I will look into it but since I’m completely green to that kind of stuff it will be not an easy exercise…

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    If you’re going to make a child theme like that, then it’s best to copy files from the parent theme into the child theme and then modify them. If you’re only having a small portion of the parent in the child, then you only get that small portion. Child theme files override parent theme files completely.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘TITLES ARE MISSING – HELP PLEASE!!!’ is closed to new replies.