Horje
Rewrite code efficiently and add a function. - Wordpress Solution
[Solved] - Rewrite code efficiently and add a function. - Wordpress Solution
Try following codes
I am creating this football website that needs to be done in a short amount of time for the project size. I am dealing with three custom post types and a custom taxonomy. I poked around on the web and pieced together code that makes it work. Although, I am missing some functionality in the code. Let me explain. The functionality I am missing is in the "Players" post type. Players, has a meta box that the everything including the title field is hidden. (not included in array). This is because I want each player's first and last name separate. In fact, it only supports the custom meta box that I created for it. These are the fields: first name, last name, height, weight, number, position, and grade. I need the permalink and title (which is hidden) to reflect three custom field values. So it would look like this: Title: $title = $number . " " . $first_name . " " . $last_name //03 John Smith Slug: $slug = $number . "-" . $first_name . "-" . $last_name // http://mydomain.com/varsity/roster/03-John-Smith/ Lastly, I would like to have more control over my meta boxes. Right now they are in arrays and they are hard to format how I would like them. For example, for the players meta box I want the number, first_name, and last_name fields on the same line. If anyone could help me out that would be wonderful! Thanks!

Solution - 1

20 $ is a bit less for solution on this question. i se at least 3 hours of work here.


Solution - 2

[email protected] I might have another solution. But as Oleg Butuzov said its on Filters.


Solution - 3

I know about custom post types and taxonomies very well. Contact me directly for help with this. [email protected]

Date: 2022-10-21 05:21:49
Category: Wordpress
More for You