Support » Fixing WordPress » Creating a post title from taxonomies

  • Resolved iyamdman


    I have a Custom Post type called “Cars”

    For “Cars”, I have the following Taxonomies:

    “Series Name” – Example: First Series, Collectors, Fast Ones
    “Series Year” – Example: 1967, 1990, 2005
    “Body Color” – Example: Blue, Red, Green

    When I add a Car Post, I put in the description a photo of the cars, and some text content, then I will check the appropriate Taxonomy boxes in the Admin panel.

    All this works fine.

    What I would like to do, is to add a button/function to the Add/Edit Cars admin page, that will replace the title of the post with a string generated from the taxonomies.

    Example: (Series Year + Series Name + Body Color) = 1967 First Series – Blue

    So, I have added functions to the functions.php file by making the post types and taxonomies.

    For adding this function of creating the title from the taxonomy string – do I basically write a plug-in, or can I do it out of fuctions.php?

    Is there already a plug-in that will do this?

  • The topic ‘Creating a post title from taxonomies’ is closed to new replies.