Forums

Change core select query for posts (2 posts)

  1. futuro
    Member
    Posted 2 weeks ago #

    hi, i have question, i insert in to table wp_post column name sur and i need show on web posts where is sur = 1. So i need to know where is function which selecting posts from database and change the SQL query. Thanks and sorry for my very bad english...

  2. SteveAtty
    Member
    Posted 2 weeks ago #

    If you change core files then every time a release comes out you are going to have to remember what you changed and where you changed it.

    I guess what I'm trying to say is why are you altering core WP tables and code? Also as its WPMU then each time a blog is created the column will need adding unless you also modify the script that creates the new tables on blog creation.

Reply

You must log in to post.

About this Topic