The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Title to be Changed by Custom Field? (1 post)

  1. acondiff
    Posted 6 years ago #

    Can I change the title by a combination of custom field values with the functions.php file? It would look something like this (I think):

    $title = $number . " " . $first_name . " " . $last_name;
    return title;

    I have a custom post type, players, and I am hiding the title because I want the first and last names of the player separate. So I created a custom meta box. Is this possible to do so that it saves the title according to these three values and also changes the permalink?


Topic Closed

This topic has been closed to new replies.

About this Topic