Hi. So I was trying to make some changes to the mobile plugin but I still cannot figure how to show related posts in the theme files. I can see there is a code in the files to show the posts, but I wonder if they are hidden with CSS? How do I show the related posts? Second, I would suggest you make the mobile plugin folder inside the theme to be compatible with the child theme (for those who want to make style the appearance of their mobile sites).
Hi,
There already is a related articles section displayed in the post page when using the mobile theme plugin
– https://www.screencast.com/t/bd6hg2DjW
The settings from theme panel will apply to this section on mobile as well
– https://www.screencast.com/t/XHIrAmk24
Indeed the mobile theme files cannot be customized in a child theme, at the moment. If you want to customize files from it, you will have to modify the main files.
Thanks
I don’t know why the same option is not appearing when I activate the mobile theme. I had to deactivate it and go back to the responsive theme. I am using the crypto news demo. See this screenshot http://prntscr.com/ihbcm3 (I selected related posts to show by category in Theme Panel)
Maybe you removed it previously with custom code or modification in the child theme. Check the mobile theme custom code section, check the mobile theme files
– https://www.screencast.com/t/R7N3rwfGL
No, I did not remove the code and it is still there. See this http://prntscr.com/ihrvkh (I only added some code to show my custom previous and next post and a telegram subscription box).
It seems there is a code which also hides the related articles on mobile, without using the mobile theme
– https://www.screencast.com/t/2Yyn6MjhlbC
I couldn’t say exactly where that code is coming from, check again the custom CSS code sections, and advanced CSS section in the phones field.