Hello tagDiv team,
There are several problems I’ve encounter with the theme that require your help.
website: https://staging3.canopi.tw
Post
1. Error: I cannot edit the post template due to the error “Errors at columns elements: 2(models) : 1(dom). The model does not match the content Current state has involved an issue. You could try an UNDO operation (CTRL+Z / CTRL+SHIFT+Z)”.
2. Social share “line” icon doesn’t show
3. Can I add authors who are not WordPress users?
4. Is it possible to add different types of creators, such as photographer, designer etc.?
Search
1. How can I customize “no posts to display” page?
2. How can I hide pages from search result page?
Mobile
1. The tagDiv mobile plugin has been uninstalled. I only set RWD to fit mobile screen. But when I check on mobile device, sometimes it appear with weird layout, with the button ‘exit mobile version’ on the bottom. When I click it, it led me to the RWD version. Is it possible to not show the mobile version option at all?
Thank you in advance!
Yen
Hello Yen,
Post
1. For this error, please check this topic: https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/
2. This social sharing icon appears only on the mobile version. If you want it to be displayed on the desktop version, you need to use a custom CSS => https://www.screencast.com/t/slYFHBpS8tr
.td-social-line{
display: inline-block;
}
The code needs to be set in Theme panel -> Custom code -> Custom CSS => https://www.screencast.com/t/fxetQe24ZHf
3. The authors need to be WordPress users.
4. To add a new role, you need to use a plugin -> https://www.namecheap.com/wordpress/wordpress-user-accounts/
Search
1. Please let me know if you want to change the text or design.
2. You can exclude the pages from search https://i.imgur.com/TFQ2IGH.png but you can use a plugin that can exclude only the selected page/post -> https://wordpress.org/plugins/search-exclude/
Mobile
1. Could you please elaborate on what you mean by RWD? The AMP works better only with the Mobile Theme plugin. From my point of view, if you don’t use the Mobile Theme plugin, then there is no reason or benefit to AMP. Please read all about AMP here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
It comes with its own templates/design for page, post, category, etc so your current templates from the desktop theme will get converted to the mobile theme layout. Documentation here:
– https://forum.tagdiv.com/the-mobile-theme/
– https://forum.tagdiv.com/mobile-theme-introduction/
Please read all about AMP here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
Note that you can not customize AMP so much, because it comes with its own design.
There are some settings in the Theme panel -> Mobile Theme and Dashboard -> AMP only.
You can not add a shortcode as in the TagDiv Composer. Please note that you can’t customize the AMP pages with the TagDiv Composer.
Make sure the redirect mobile visitors to the amp option is disabled.
Thank you!
Hi Anamaria,
Thank you for the reply!
I’ve followed your guide and fixed some mistakes. Really big help!
Post
1. Error: I’ve asked for help by email, and received support from your college Bettina. So far the post template is still not editable.
2. (solved) I’ve followed your guide, but somehow the code doesn’t work. However, it’s logical that the line icon doesn’t have to be shown on desktop. So I withdraw this question.
3. (solved) I found a plugin that can add users without email.
4. I would like to show other creators on post template, same as what “author box” does. Is it possible?
Search
1. I’d like to change the text as well as the design.
2. The first solution you’ve provided only exclude pages from live search box: https://imgur.com/x25K8WH. Pages are still shown on search page: https://imgur.com/yvaDiLc
I‘d like to exclude pages from search page. Is it possible?
Mobile
1. (solved) The problem was fixed after I uninstalled AMP plugin
Best,
Yen
-
This reply was modified 4 years by
canopi_life.
Hello Yen,
Post
1. Bettina will investigate the problem and help you solve it.
2. Please set the code like this and see if it works https://i.imgur.com/N1XCqQ3.png
body .td-social-line
{
display: inline-block;
}
4. Only if you found a plugin, to add other creators.
Search
1. Unfortunately, you can change only the text, you cannot assign a template when you have nothing to display, so the design cannot be changed.
The text can be changed from Theme Panel -> Translations -> Translations.
2. Please go and edit the search template, and set post type post -> https://i.imgur.com/LaBYWsp.png
Thank you!
Hi Anamaria,
Post
1. Still working on it.
2. (solved) I followed this post: https://forum.tagdiv.com/topic/social-share-networks-shows-only-three-options/. And with the code, it works!
4. I’ve added other creators (user roles) with the plugin “members”. What is the next step?
Search
1. (solved) The text has been changed. Thanks!
2. (solved) Works! Perfect!
Best,
Yen
Hello Anamaria,
Can you be more specific with the reason?
Best,
Yen