WordPress.org

Ready to get started?Download WordPress

Forums

Adding fixed fields (3 posts)

  1. amory
    Member
    Posted 9 years ago #

    does anyone have any experience in adding more fixed fields?? I have currently modded post.php and the edit-form.php files to accept to more fields, which are being published into the database (i've checked). The only problem is i'm missing something in order to keep the data. when i go to edit the post, the title, content etc.. remain intact, but the two new fields' data does not. If anyone is interested in helping, i can upload the edited files for viewing.

    I would just use custom fields, but i haven't figured out how they can remain fixed, as the users posting won't add fields each time.

    Thanks,
    Amory

  2. amory
    Member
    Posted 9 years ago #

    Per this post it appears that custom meta fields can become fixed with some modifications. Does anyone know where in the post.php file (in WP 1.5) modifications need to be made, and if anything should be changed from Serendipity's post?

  3. amory
    Member
    Posted 9 years ago #

    EDIT: progress made, with four new inputs posting to database. I just need to figure out how to create new functions for them such as <?php the_content()?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.