Forums

Adding Custom Field 'Screen' to All Existing Posts (2 posts)

  1. frogdogz
    Member
    Posted 2 years ago #

    Hi all --

    I've been using a theme which uses the custom field 'screen' to add a thumbnail image to a scrolling display of random posts on the index page.

    example here: http://bullmarketfrogs.com/blog

    My question -

    Is there a way (possibly using PHP MyAdmin?) to add this custom field attribute to all my older posts, without having to add it to them by hand? I've got six hundred posts and change, and about 90% of them were written before I changed to this theme. I was thinking I'd just choose a default image to set as the screen image for all the older posts.

    I've tried, via examining the source code, to see where the tag is for this custom field, but I'm coming up blank. I've also tried emailing the theme's creators, with no response.

    Any help would be appreciated!

  2. apljdi
    Member
    Posted 2 years ago #

    The custom meta fields are in the wp_postmeta table. Assuming this is what you mean you should be able to do it via PhpMyAdmin if you know how to write a SQL query or two.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.