Shortcode does not work on posts in the mobile theme

Posted in: Newspaper
Post count: 9

The shortcode [source name = “Kumushka” url = “https://kumushka.com”%5D does not work when displaying posts in a mobile plugin.

Shortcode inserts the text at the end of the article – <p class = ‘source_article’> Source: Kumushka </ p >

It just works on the site, and in the mobile version of the plug-in, the text [source name = “Kumushka” url = “https://kumushka.com”%5D is simply displayed

And one more question. Is it possible to change the design of the main page of the mobile theme? I do not see the Top Grid, but only the latest articles. I don’t have a Featured Category column on my site. How to show other headings?

Post count: 9

Forgot to add that shortcode is done by a child theme.

Post count: 35449

Hi,

If you are using the mobile theme you’ll need to set the code for shortcode from child theme in mobile function too, because the child theme is not working for plugins, only for theme, here is the path -> wp-content/themes/Newspaper/mobile/functions.php
-> https://www.screencast.com/t/IgOtHRBlGaAS

Thank you!

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