WordPress.org

Ready to get started?Download WordPress

Forums

WP 3.0 the_ content problem ? (11 posts)

  1. gabriano
    Member
    Posted 4 years ago #

    after updating my WordPress im having a problem with my custom theme im using a Custom page to display various pages on my site after he update it seems that <?php the_content(); ?> is not grabbing any data from wordpress only in my theme and i don`t know why so here is the custom page code maybe someone can help me.

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. Cora L. Foerstner
    Member
    Posted 4 years ago #

    I'm having the same problem. My custom pages are blank, just a white page. I'm new to wordpress and to Thesis theme and I'm very frustrated. Is it possible to go back to the 1.7 version of wordpress--I have no problems what soever with that. I'm a neophyte at this and it took ages for me to get all the custom stuff right. Now, it GONE!! Help.

  3. esmi
    Forum Moderator
    Posted 4 years ago #

    @Cora L. Foerstner: Don't highjack another poster's thread. Please post a new topic.

  4. demetris
    Member
    Posted 4 years ago #

  5. gabriano
    Member
    Posted 4 years ago #

    @demetris i don't think this is the problem cause custom fields are working and everything is working it's just<?php the_content(); ?> that doesn't grab the data from WP

    here is the page code pastebin.com/CnVWJawe

  6. eddai
    Member
    Posted 4 years ago #

    try disabling plugins one by one.. I also had the same problem. when I enter a single post, I was getting the clicked post in archive template.

    the plugin cause this on my site was Query Multiple Taxonomies. and now my site runs smooth.

    you also try the same method.

  7. demetris
    Member
    Posted 4 years ago #

    gabriano:

    http://www.google.com/search?q=the_content

    Open the first result and look at the first sentence.

  8. gabriano
    Member
    Posted 4 years ago #

    @demetris yeah i read it and understand this but why it`s still working in WP 2.9.2 like this while in WP 3 needs to be inside the loop ?

  9. demetris
    Member
    Posted 4 years ago #

    gabriano:

    You are right. the_content in your code did work outside the loop in 2.9, but now it does not work. The best answer I can give to your question is: It was not meant to work outside the loop, and the reason it worked was maybe a bug somewhere. Now it behaves as it is meant to.

    (Thanks to filosofo for his replies when I asked about the issue.)

  10. demetris
    Member
    Posted 4 years ago #

    See also this message to the wp-hackers mailing list:

    http://lists.automattic.com/pipermail/wp-hackers/2010-June/032574.html

  11. gabriano
    Member
    Posted 4 years ago #

    demetris thanks alot

Topic Closed

This topic has been closed to new replies.

About this Topic