Duplicate with custom fields
-
I create new posts in the forum, duplicating the wordpress entry correctly.
But how can I collect a custom field, so that my modules load correctly?
In my input the function picks it up like this:
$idcamp = get_post_meta(get_the_ID(), ‘id_campeonato’, true);
Of course, when I duplicate creating a post, it doesn’t exist. Any glorious ideas?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Duplicate with custom fields’ is closed to new replies.