Project

General

Profile

Actions

Support #17450

closed

Widget Importer & Exporter plugin

Added by Marilyn Weber almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2023-01-05
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Jason Tougaw would like to "export the links that appear on a sidebar on a site like this: https://lifewritng.commons.gc.cuny.edu/"

I see there's a tool called the Widget Importer & Exporter plugin, but we don't have it yet. Cam it be installed? Here's the plugin page: https://wordpress.org/plugins/widget-importer-exporter/

Thanks! Happy New Year, everyone!


Files

export-import-links.php (792 Bytes) export-import-links.php Boone Gorges, 2023-01-09 12:30 PM
Actions #1

Updated by Boone Gorges almost 2 years ago

I don't believe that a widget exporter would help if the user wanted the structured links, ie those items that are at https://lifewritng.commons.gc.cuny.edu/wp-admin/link-manager.php

Could you ask Jason what he wants the links for? Is it for import into another WP site? I don't see an obvious tool, either on the Commons or elsewhere, for easily exporting, but I could probably rig something up if I knew the final purpose.

Actions #2

Updated by Marilyn Weber almost 2 years ago

"I want to import links from one course site to a similar one, both on the Commons. "

Actions #3

Updated by Boone Gorges almost 2 years ago

Thanks, Marilyn. In this case, the easiest thing is for me to do the export/import myself. Could you ask Jason for the destination site URL? (In the future, we could explore a self-service tool, since WP doesn't provide one.)

Actions #4

Updated by Marilyn Weber almost 2 years ago

The fabulous reply:

This is the destination:

https://culturewriting.commons.gc.cuny.edu/

I actually have two source sites:

https://lifewritng.commons.gc.cuny.edu/

https://nonfiction.commons.gc.cuny.edu/

Do I detect Boone’s voice here? If so: Hi Boone!

Actions #5

Updated by Boone Gorges almost 2 years ago

Boone's voice has been correctly detected. Hi, Jason!

Could you please confirm that all items from https://lifewritng.commons.gc.cuny.edu/wp-admin/link-manager.php and https://nonfiction.commons.gc.cuny.edu/wp-admin/link-manager.php should be copied to https://culturewriting.commons.gc.cuny.edu/? Jason can of course remove or edit unwanted items after the import.

Actions #6

Updated by Marilyn Weber almost 2 years ago

Yes, he confirms. Thanks!

Actions #7

Updated by Boone Gorges almost 2 years ago

Thanks, Marilyn. Let Jason know that links from both source sites have been imported to https://culturewriting.commons.gc.cuny.edu/wp-admin/link-manager.php.

I've attached a copy of the script I wrote to perform this task, in case we have to do it again in the future.

Actions

Also available in: Atom PDF