The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Posts show up but cannot see the whole articles -- custom 'add post' form (2 posts)

  1. michuk
    Posted 9 years ago #

    I created a sample form for adding new posts available for everyone as a wordpress page. It's simple and specialized -- it's not important why I need it for the question.

    So, the thing is -- when I add new posts using this form, everything works, tha post is added to a category, it shows up on my main page, etc, but when I click on the title, the whole content does not appear! I checked the generated stub -- it looks reasonable. I checked in the wp_posts table -- the post data looks exactly as other posts' data (which show up normally).

    Now, what can be the reason for that? I suspect the rewrite rules in some way, but no idea where to go with that...

  2. michuk
    Posted 9 years ago #

    Sorry guys, this was my stupid error in applying a filter for posts_where -- it was filtering out the post that was about to show up and this was the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic