Skip Navigation

[Resolved] import with all import pro not working because of toolset template

This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 18 replies, has 3 voices.

Last updated by HenrykI1899 7 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#477310

Hi Nigel,
any news from the second tier support? there has to be an solution?
thanks for your kind work.
kind regards Henryk

#477446

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Henryk

Mohammed in second tier has identified the issue and has come up with a solution for you to try.

The issue has also been raised with our developers to see if they are able to fix it from our side, but in the meantime, please try the following.

The solution takes advantage of a feature provided by wp all import which enables the user to execute custom php code during the import.

You'll need to add the following to your theme's functions.php file or using a plugin such as Code Snippets.

function remove_wp_page_template($id) {
    global $post;
    delete_post_meta($id,'_wp_page_template');
}

Now in your imports (either a new import, or edit an existing import) add this custom code to your title field:

[remove_wp_page_template({id})]

Let me know how you get on with that.

#477469

Hi Nigel,
thanks for that.
so I have to do two imports?
the first to remove the
wp_page_templateID
with that code
but the syntax in wp all import is not
[remove_wp_page_template({id})]

it is something like {title[1]}
but I will try
thanks Henryk

#477501

Hi Nigel,
thats fine, it works!
thanks for all
Henryk

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.