Importing / Bulk changing Category Archive Title and Subtitle

Hey,

I want to bulk edit my Archive Titles and Subtitles. Specifically these two fields from the WP backend:

In practice, they look like this:

To do so, I’m using a plugin called WP All Import to import a CSV file containing the new Archive Titles and Archive Subtitles.

The problem is I don’t know where to put the new Titles and Subtitles in, when importing. I know it’s a third-party plugin, but it gives me this option called “Term Meta”:

Do you know what the Term Meta Name is for respectively Archive Titles and Archive Subtitles in X theme?

Cheers! :smiley:

Hey Frederik ,

They’re archive-title and archive-subtitle.

Additionally, the file that is responsible for outputting that part of the theme is _landmark-header.php located in pro\framework\legacy\cranium\headers\views\STACK

Hope that helps.

Thanks for this. It doesn’t seem to work though.

I’ved put in the fields and matched them with the fields from my document, but the new Titles and Subtitles don’t get applied to the categories when I run the import:

What do you think could be the solution?

Hi Frederik,

Have you clicked the See Detected Fields button? Though, I’m not really sure what’s happening as I’m not sure how the import process works. The code responsible for querying taxonomy term meta is this

function x_get_taxonomy_meta() {

  $object = get_queried_object();
  $id     = $object->term_id;
  $meta   = get_option( 'taxonomy_' . $id );

  return $meta;

}

Hence, it’s only relying on Wordpress default feature for retrieving the saved meta. I recommend contacting the plugin author and get more details why the term meta isn’t saving to 'taxonomy_' . $id.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.