Hi Imran,
you imported a theme’s demo data and it didn’t import the categories and the posts did not get assigned to the categories?
Which theme are you using?
If you are not using the predefined theme demo imports, could you then show me the XML file that you used to import?
Take care!
Hi @capuderg
I created post categories and also got selected from customize setting but after importing the data it is not select from the post category.
Thanks
Imran Ali
-
This reply was modified 9 years ago by
Imran Ali.
Hi,
so, if I understand correctly, you have a customizer setting, that should have a selected post category set after the demo import? So this is a cusotmizer setting, that is not set correctly?
Could you please show me the customizer import file (.dat file)?
Take care!
HI,
I am using the appointment theme and you can see the .dat file with the help given below LINK.
https://pastebin.com/kheqx2Hr
Thanks
Imran Ali
-
This reply was modified 9 years ago by
Imran Ali.
Hi,
is the category option that is causing you issues maybe this one: blog_selected_category_id?
The issue with the category import might be, that when importing the content, the category gets assigned a different category ID, then in the original export site (the .dat file). And then, when the customizer settings are getting imported, the ID does not match to a category and that’s why it’s not set correctly.
WP assignes ID from the same pool of IDs (incrementing number : 1,2,3,4,5…), that’s what is causing the issues.
Take care!