WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating a post title from taxonomies (1 post)

  1. iyamdman
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic