Insert HTML Code in content
-
I would like to import html code of my wordpress post into the content box. I tried to remove the spaces as advised in a reply to a request similar to mine but the result is that the html is imported as text. Can you help me please?
-
Hi,
WP Ultimate CSV Importer Free plugin lets you import the HTML content into the post_content section in WordPress. If you need a sample csv file for your use-case, install the WP Ultimate Exporter Free plugin. Manually save a post with your post_content data, and export the same with export functionality. Check the sample post_content available in the exported file, and prepare your csv file in the same way before importing. Doing this will help you to import the content with HTML tags in the correct way.
For more help, email to support[at]smackcoders[dot]com. Our technical team will help you.
Hi,
I tried to export my listings data and re-import it as is, but the plugin times out. This is the post_content html code:
[vc_row][vc_column el_class="stm-vc-single-car-content-left" offset="vc_col-lg-9"][stm_single_car_title][stm_single_car_actions][stm_single_car_gallery][vc_column_text css=".vc_custom_1603265562686{margin-bottom: 15px !important;}"] <h4>CARATTERISTICHE</h4> [/vc_column_text][stm_car_listing_details css=".vc_custom_1602578359446{padding-top: 5px !important;padding-right: 5px !important;padding-bottom: 5px !important;padding-left: 5px !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column_text css=".vc_custom_1603268893843{margin-bottom: 15px !important;}"] <h4>ACCESSORI</h4> [/vc_column_text][vc_column_text] <div class="stm-single-listing-car-features"> <div class="lists-inline"> <ul class="list-style-2" style="font-size: 13px;"> <li>ABS</li> <li>Airbag</li> <li>Airbag laterali</li> <li>Airbag Passeggero</li> </ul> <ul class="list-style-2" style="font-size: 13px;"> <li>Alzacristalli elettrici</li> <li>Antifurto</li> <li>Autoradio</li> <li>Cerchi in lega</li> </ul> <ul class="list-style-2" style="font-size: 13px;"> <li>Chiusura centralizzata</li> <li>Climatizzatore</li> <li>Controllo trazione</li> <li>ESP</li> </ul> <ul class="list-style-2" style="font-size: 13px;"> <li>Fari Xenon</li> <li>Immobilizzatore elettronico</li> <li>Regolazione elettrica sedili</li> <li>Servosterzo</li> </ul> </div> </div> [/vc_column_text][vc_tta_tabs active_section="1" no_fill_content_area="true"][vc_tta_section title="Descrizione" tab_id="descrizione" el_class="bgcolor"][vc_column_text] <h4 style="margin-bottom: 21px; font-weight: 400; line-height: 22px;">Quisque imperdiet dignissim enim dictum finibus. Sed consectetutr convallis enim eget laoreet. Aenean vitae nisl mollis, porta risus vel, dapibus lectus. Etiam ac suscipit eros, eget maximus</h4> Etiam sit amet ex pharetra, venenatis ante vehicula, gravida sapien. Fusce eleifend vulputate nibh, non cursus augue placerat pellentesque. Sed venenatis risus nec felis mollis, in pharetra urna euismod. Morbi aliquam ut turpis sit amet ultrices. Vestibulum mattis blandit nisl, et tristique elit scelerisque nec. Fusce eleifend laoreet dui eget aliquet. Ut rutrum risus et nunc pretium scelerisque. Fusce viverra, ligula quis pellentesque interdum, leo felis congue dui, ac accumsan sem nulla id lorem. Praesent ut tristique dui, nec condimentum lacus. Maecenas lobortis ante id egestas placerat. Nullam at ultricies lacus. Nam in nulla consectetur, suscipit mauris eu, fringilla augue. Phasellus gravida, dui quis dignissim tempus, tortor orci tristique leo, ut congue diam ipsum at massa. Pellentesque ut vestibulum erat. Donec a felis eget <blockquote>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.</blockquote> Maecenas lobortis ante id egestas placerat. Nullam at ultricies lacus. Nam in nulla consectetur, suscipit mauris eu, fringilla augue. Phasellus gravida, dui quis dignissim tempus, tortor orci tristique leo, ut congue diam ipsum at massa. Pellentesque ut vestibulum erat. Donec a felis eget tellus laoreet ultrices.[/vc_column_text][/vc_tta_section][vc_tta_section title="Info Tecniche" tab_id="info_tecniche"][stm_tech_infos icon="stm-icon-engine" title="Motore"][stm_tech_info name="Numero di cilindri" value="6"][stm_tech_info name="Displacement" value="2015"][stm_tech_info name="Drive layout" value="RWD"][stm_tech_info name="Horespower" value="156 HP"][stm_tech_info name="@ rpm" value="266 lb.-ft."][stm_tech_info name="Torque" value="12.5 : 1"][stm_tech_info name="Compression ratio" value="Gasoline"][stm_tech_info][/stm_tech_infos][stm_tech_infos icon="stm-icon-speedometr3" title="Prestazioni"][stm_tech_info name="Top Track Speed" value="173 mph"][stm_tech_info name="0 - 60 mph" value="4.8 s"][/stm_tech_infos][stm_tech_infos icon="stm-icon-transmission" title="Cambio"][stm_tech_info name="Type" value="Automatic"][stm_tech_info name="Displacement" value="6 Speed"][/stm_tech_infos][/vc_tta_section][vc_tta_section title="Richiesta informazioni" tab_id="richiesta_info"][vc_row_inner el_class="single-car-form"][vc_column_inner el_class="stm-border-right" width="1/3"][stm_icon_box title_holder="h4" icon="fas fa-envelope" title="Contatti" icon_color="#e41515" icon_size="27" box_bg_color="#ffffff" css=".vc_custom_1603264428708{margin-bottom: 18px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}" css_icon=".vc_custom_1603264428705{margin-top: -4px !important;margin-right: 12px !important;}"][/stm_icon_box][vc_column_text css=".vc_custom_1603263083757{margin-bottom: 33px !important;}"][/vc_column_text][stm_icon_box title_holder="h4" icon="stm-icon-pin" box_bg_color="rgba(255,255,255,0.01)" icon_size="30" css=".vc_custom_1603264479519{margin-bottom: 4px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}" icon_color="#e41515" css_icon=".vc_custom_1603264479517{margin-top: 2px !important;margin-right: 15px !important;}"] <h5>strada Martinella, 22/A - 43124 PARMA (PR)</h5> [/stm_icon_box][stm_icon_box title_holder="h4" icon="stm-icon-phone" box_bg_color="rgba(255,255,255,0.01)" icon_size="30" css=".vc_custom_1603264490419{margin-bottom: 5px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}" icon_color="#e41515" css_icon=".vc_custom_1603264490416{margin-top: 4px !important;margin-right: 15px !important;}"] <h6 style="margin-bottom: 0; font-weight: 400;"><span style="color: #888888; font-size: 13px;">TELEFONO:</span></h6> <h5>345 0387674</h5> [/stm_icon_box][stm_icon_box title_holder="h4" icon="stm-icon-mail" box_bg_color="rgba(255,255,255,0.01)" icon_size="30" css=".vc_custom_1603264504260{margin-bottom: -11px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}" icon_color="#e41515" css_icon=".vc_custom_1603264504257{margin-top: 4px !important;margin-right: 15px !important;}"] <h6 style="margin-bottom: 0; font-weight: 400;"><span style="color: #888888; font-size: 13px;">EMAIL:</span></h6> <h5><a href="mailto:[email protected]">[email protected]</a></h5> [/stm_icon_box][/vc_column_inner][vc_column_inner el_class="stm-col-pad-left" width="2/3"][stm_icon_box title_holder="h4" icon="fas fa-paper-plane" title="Invia messaggio" icon_color="#e41515" icon_size="27" box_bg_color="#ffffff" css=".vc_custom_1603264532611{margin-bottom: 18px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}" css_icon=".vc_custom_1603264532610{margin-top: -4px !important;margin-right: 15px !important;}"][/stm_icon_box][contact-form-7 id="500" title="Message to Vender"][/vc_column_inner][/vc_row_inner][/vc_tta_section][/vc_tta_tabs][/vc_column][vc_column el_class="stm-vc-single-car-sidebar-right" offset="vc_col-lg-3"][stm_single_car_price][stm_single_car_data][stm_single_car_mpg][stm_single_car_calculator][/vc_column][/vc_row]
Hi,
We have tried to import the shared content in the post-content field in WordPress. The content data got imported without any problem.
You can try with the below csv file
https://www.dropbox.com/s/bzkc6bca5dz99ik/ml.csv?dl=1If the issue persists, write an email to support[at]smackcoders[dot]com, our technical team will help you.
Thanks.
Hi,
yes, importing the content as post_content field works. But I need to create the post content in html and insert the imported variables into it. The ideal would be if the Ultimate CSV Importer Free drag & drop content box could handle the html code, but I understand that it doesn’t. Right?Hi,
The requested feature is currently not available in the product. We will check the possibility and add it to our product features if possible.
Thanks.
Hi,
ok. I hope you can add it because you have a really good product.
Thanks
- The topic ‘Insert HTML Code in content’ is closed to new replies.