Support threads created in the last 30 days: 2
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
|relatonship form questions||2||4||1 month, 1 week ago|
shortcode not showing inside html in elementor text widget
In Elementor page builder text widget, use shortcode as HTML tag attribute.
You can try with content template, for example:
|2||3||3 months, 1 week ago|
|Creating a community site||2||3||3 months, 2 weeks ago|
Changing one post type to another
That's what the "Post Type Switcher" plugin does, it changes the value of the column for each post in the source post type to the destination post type.
WPML uses the default WordPress databases for storing content and translations but uses some new tables to for storing relations/links between original and translated content. Shekhar has shared a link to WPML database documentation https://wpml.org/documentation/support/wpml-tables/
When you have changed the post types for your posts, WPML was not able to build an inconsistent state between the updated records in default WordPress table(wp_posts) and the translation links in WPML table(icl_translations, column element_type)
As there is no plugin that can switch the post type in WPML tables, you will have to change that in database level using SQL queries. This is an advanced level of technical skills, so If you are not comfortable with coding, consider hiring a developer one of our partners too, check here https://toolset.com/contractors/
I can also imagine another way, which will involve using a paid plugin(WP All Import/WP All Export). We can export all Activities and then import them as if they were Destinations. Check the following tutorials from WPML that explains how to export/import WPML translated contents.
The user fixed the issue in database level with the following SQL queries:
UPDATE `wp_posts` SET `post_type` = 'newcpt' WHERE `post_type` = 'oldcpt'; UPDATE `wp_icl_translations` SET `element_type` = 'post_newcpt' WHERE `element_type` = 'post_oldcpt'
|2||5||3 months, 3 weeks ago|
|user registration problem||1||2||10 months, 2 weeks ago|
|Custom post not shown in view||2||2||10 months, 4 weeks ago|
|View that relates to the post where is shown through many-to many relationship.||2||16||12 months ago|
Simple booking form
2. I need to email the booking to either the admin email if no agent is assigned to that accommodation, or to the agent if there is assigned one. For Agents I have another CPT (Ugynokok) which is connected to the accommodation.
<div style="display:none;"> <div class="form-group"> <label>Accommodation Bookings</label> [cred_field email@example.com' class='form-control' output='bootstrap' select_text='--- not set ---' value='[wpv-post-id item="$current_page"]'] </div> </div>
2. This type of conditional logic isn't built in to the email notification system, but you can set up something like this using the PHP APIs. We have cred_notification_recipients to modify the notification recipients on-the-fly and the Post Relationships API toolset_get_related_posts to help you determine if there is an associated Agent.
|2||6||1 year ago|
|image slider with thumbnail carousel||2||5||1 year ago|
|displaying related posts based on current posts field value||2||9||1 year, 4 months ago|
|show user (author) profile with published posts 1 2 3||4||35||1 year, 5 months ago|
|query filter for user role||2||10||1 year, 6 months ago|
|cannot output first and last name in notofication mail||2||7||1 year, 6 months ago|
|setting notification email problem||2||7||1 year, 6 months ago|
|I cannot change the woocommerce product archive.||2||11||1 year, 6 months ago|