Need to get rid of "[divide]" after image galleries

Posted in: Newspaper
Post count: 11

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?

Post count: 22421

Hello,

Unfortunately you will have to remove the shortcode as our theme does not recognize it. You will have to go in manually and remove it from where it was added.

Thank you!

Post count: 11

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.

Post count: 22421

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!

Post count: 11

Here’s a sample of an old post with [divide] after the image gallery

http://homesoftherich.net/2015/06/22500-square-foot-newly-built-mountaintop-stone-mansion-in-provo-ut/

Post count: 20688

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

Post count: 11

That worked. Thanks!!

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