When I was using another WordPress theme I added [divide] after every post gallery to divide it from the post text. However now that I switched to NewsPaper theme the “[divide]” doesn’t work and just shows up as [divide]. How can I get rid of this?
Why doesn’t it recognize it??? It’s on over 2,000 of my posts….Is there something I can add in CSS that removes it from all posts?
Thanks.
Hello,
In most cases a theme will not recognize another theme’s custom shortcodes. Each theme has it’s own shortcodes. If you add shortcodes to your posts from our theme, then another theme will most likely not recognize them as well. Each theme has it’s own rules and it’s own custom code. I can’t say for sure about a css solution. please provide a link to your site so i can inspect it.
Thank you!
Here’s a sample of an old post with [divide] after the image gallery
Hi,
It seems the code displays right after the inline ad, so you could use that and create a code like this – https://www.screencast.com/t/91CEUMPZUQ that removes the paragraph immediately after that class. I have tested this with some of your other posts containing galleries and it seems to work properly
– https://www.screencast.com/t/e4twHjCuPa
– https://www.screencast.com/t/EIOObSIby
– https://www.screencast.com/t/jAiBHstS
Maybe there is another way of achieving this, but you should try this quick fix for the moment. The code must be entered in Theme panel->Custom Css
.td-post-content
.td-g-rec-id-content_inline + p {
display: none;
}
Thanks