External Shortcode in TD Composer 2 issues

Posted in: Newspaper
Post count: 8

I’ve got my homepage set up with TD Composer and what I wanted to do was to display one full custom post content. No excerpt, no photo and no title. I couldn’t find any of the content blocks that allowed using the_content rather than an excerpt, so I thought I’d try it with a shortcode. I added the shortcode with column_text and it worked, but it wraps the shortcode in <p> tags and unautops the content so the post just displays in a big block. And then when I try editing the page, it gives this error: Error at rows: 2(models) : 0(dom). The model does not match the content.

I’m no longer able to view or edit the page with TD composer until I edit the page in wordpress and remove the shortcode I added.

I’ve used the same shortcode in a sidebar widget and it displays perfectly, but can’t seem to get it to work on my homepage. I thought that before pulling my hair out I’d just ask if there’s a way that I can do this? Are any of the modules able to just pull a random custom post and display the content? Or is there a way I can wpautop the shortcode?

Post count: 35449

Hi,

If you want to set some shortcodes in column text and you have the version 9.1 on theme please make this fix
-> https://www.screencast.com/t/tq7JYQ6XmV -> https://www.screencast.com/t/einHpS3PKc7 -> https://www.screencast.com/t/dE9kgZKp6

Also make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
https://forum.tagdiv.com/requirements-for-newspaper/
https://content.screencast.com/users/ncalex/folders/Jing/media/0647ceb7-6c16-478f-869b-b93e4a95156e/2018-10-11_1629.png

Thank you for your understanding.

Post count: 8

Works perfectly, thank you!

Post count: 1

When you release the fix for this in the update will it also include shortcode support in the elements other than ‘text with title’? It breaks in other elements too like the Icon Boxes.

Post count: 35449

Hi Bozzy,

Unfortunately for the moment I do not know what feature will have the news update.

Thank you for your understanding.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.