I need help with some items with the newspaper theme. 1 – how do I make a shortcode work in the mobile plugin? my home has the status of the trains. It’s a box with a green, red or yellow ball.
2 – on the first page of the mobile home, it shows my posts ok. but I have a cpt for traffic, how do I make the traffic post appear on the mobile plugin home in the first highlighted rectangle?
3 – I am creating a cpt for events and I know that the flex build does not search for custom fields, any tips on what I should do to achieve this?
4 – where do I have a documentation of the theme styles? for example I want to create an alert box in the post, how do I do it? type tip, warning or suggestion… within the article.
5 – google always complains about big dom, how to fix it?
My website is: https://www.abctudo.com.br/
-
This topic was modified 2 years by
danilloleite.
Hello!
We have 3 options available for mobile versions that you can use:
1. Responsive version: A responsive version of your website looks similar to the desktop version. TagDiv Composer is used to edit the page. Click on the mobile viewport: https://www.screencast.com/t/XDQJedlggSB. There, you can see your mobile version and edit or adjust the elements to look better.
2. Mobile pages: https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages
3. Mobile theme plugin: The Mobile Theme is a performance-optimized theme included in the main Newspaper theme that only loads on mobile devices. It comes with its own templates and designs for pages, posts, categories, etc., so your current templates from the desktop theme will get converted to the mobile theme layout. Please see https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/ for more information.
A full explanation is here: https://www.youtube.com/watch?v=SpGkOnJeNZY
If you need to use mobile version 1 or 2, then you need to uninstall the Mobile Theme plugin and AMP.
1. I can see that you use the Mobile theme right now and you can try to add the shortcode in the mobile editor(check documentation) if this is from an external plugin.
2. Unfortunately, there are no options to display the CPTs as in the cloud templates. You can do that only with custom code. For customization and other services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/.
3. If you will use cloud templates, then there are some settings of the “Header live search” to specify the taxonomies, create some results sections and exclude posts/pages.
4. Unfortunately, we have no design idea for an alert box. But you can use a modal popup to build the one you like: https://forum.tagdiv.com/modal-popup/ You can trigger it as a button or page and it can open automatically or by clicking the button.
5. Check this thread: https://forum.tagdiv.com/topic/excessive-dom-size/
I hope that helps you!
Thank you!