• Resolved swyx

    (@swyx)


    hey guys simple question. i was working on some unrelated stuff and then suddenly my content stopped showing. where is the_content hosted? on my end of things? I don’t think i touched any of that stuff at all, i was just messing around with basic CSS and HTML. if this has come up in the past i would dearly appreciate links, search shows random unhelpful crap

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter swyx

    (@swyx)

    i hadn’t touched the wordpress core (as i mentioned above) but here is the relevant code anyway

    single.php (i commented out the original code to debug; no avail – there is simply no output from the_content)

    <div class="entry-content">
    <!--		<?php the_content( __('<p>Read the rest of this entry &raquo;</p>', 'arras') ); ?>  -->
    		<?php the_content(); ?>
            <?php wp_link_pages(array('before' => __('<p><strong>Pages:</strong> ', 'arras'),
    			'after' => '</p>', 'next_or_number' => 'number')); ?>
    		</div>

    i use the Arras theme and so this was my home.php which also stopped working.

    <span class="featured-entry">
                        <span class="entry-title"><?php the_title(); ?></span>
                        <span class="entry-summary"><?php echo arras_strip_content(get_the_excerpt(), 20); ?></span>
    					<span class="progress"></span>
                    </span>

    sorry folks i think its pretty clear that the_content is supposed to run from my server, but i didnt touch any of it so i really cant figure out why its not outputting a single thing.

    You didn’t take that piece of code inside “<div class=”entry-content”>
    ” out of the Loop by chance?

    Thread Starter swyx

    (@swyx)

    no, no, i didnt touch this thing before it stopped working.. i’m not even sure why i put up the code since its clearly not the problem but everyone else seems to do it on the forums.

    btw i also did the whole deactivate plugin business – zilch.

    Thread Starter swyx

    (@swyx)

    i feel like an idiot. after i typed the above i went back to check and found i missed out one plugin – fotobook. who woulda guessed?

    resolved. cheers EjMana

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘is the_content() working?’ is closed to new replies.