Thanks i fixed. Is it possible to add more widget (https://ibb.co/mhkQ6Cg) in single post? currently i see only related artcile https://ibb.co/JrztTkT
maybe with a shortcode directly in /wp-content/plugins/td-composer/mobile/single.php ?
Thanks
Ok no problem. Let me know if you can provide to me any suggestion
https://ibb.co/c39bcNf
https://ibb.co/z2y1vPD
https://ibb.co/cD2cnjN
I added a custom widget following this tutorial but not works
https://qodeinteractive.com/magazine/add-widget-area-to-wordpress/
Maybe any conflict with AMP or your theme?
Thanks
Hi,
Actually that guide is only for how to add widgets in WordPress, but you must set the shortcode for that widget in theme files, and this is a little complicate.
Unfortunately, I do not know what code and how it should be set, this is a custom request, is usually handle by developers, if you want you can make a request here -> https://tagdiv.com/web-development-services/
Thank you for your understaing!
Ok thanks i have an update so let me know if you can help
Always in single.php i print this shortcode and works fine
https://ibb.co/mhVtb4S
but if i try to add your widget
i have this error: https://ibb.co/NV7jKKN
Can i have help about this?
Thanks
Sure thanks: https://ibb.co/NrsbR4D that is here
/vhosts/sviluppo/wp-content/plugins/td-composer/mobile/single.php
and this plugin for generate shortcode from widget
https://it.wordpress.org/plugins/amr-shortcode-any-widget/
Let me know thanks
Hi,
I’ve made a lot of testes with that plugin, unfortunately there is no way that this to read the theme blocks, it can be use only for default WordPress widgets. You need to find another plugin or implementation for the widgets, sorry!
Thank you for your understanding!
Okay thanks for your feedback
I asked to plugin developer. Let me know if following info can be helpful by your side
Thanks
https://wordpress.org/support/topic/issue-with-amp-3/
Okay thanks. Here i have another updates. Let me know.
https://wordpress.org/support/topic/display-widget-2/#post-13848962
I’ve tested the same plugin and the issue occurs with the TagDiv mobile theme plugin active only.
If you switch themes or deactivate this plugin the widgets appear. Unfortunately you’ll need to contact TagDiv support in relation to this.
Hi fabioweb90, I understand you and what do you report, but since this is an untested plugin we can not provide support for it, also I already made a notice to our developers to take a look and let me know if the problem with the plugin can be solved, but until now I didn’t get an answer.
Using the mobile theme, the mobile plugin has some filters for content and sortcodes, is possible that the shortcode to not pass that filter.
Thank you for your understanding!
Ok is it possible to have an estimation when you will fix this? Otherwise i have to plan to coding by myself.
Thanks
Ok thanks
always in mobile AMP template is it possible to add image author and social?
https://ibb.co/QCT7yn8
currently i have only “By – author name”
Thanks
Ok no problem. Is it possible always in AMP to display number of article views?
In addition to number of article views always in AMP will be possible to display the posts category name under related articles? https://ibb.co/sm6MSWz
As you can see now i’m able to see only title and not category name
Thanks
Hi fabioweb90, for the moment using the amp plugin with the mobile theme plugin, you have only few settings that can beset from theme panel, the options like those that you ask above can be done only with custom changes in theme files. Now some of theme it may be easy to achieve like the name of category on the block (if you want I can help you with this), but those changes will be lost after the theme update.
Thank you for your understanding!
Thanks for feedback. Not important if i will lose custom changes. i’ll keep in mind and i will test after every updates. So if possible i need
1) Display views counter
2) Display author image and social link https://ibb.co/xz6cBPk
currently i have only author name: https://ibb.co/Kmgs5Fm
Thanks
Hi,
To display the amp views you need to comment a line of code wp-content/plugins/td-composer/mobile/single.php -> https://i.imgur.com/BB9YSdk.png -> https://i.imgur.com/5UW52Js.png this will display the count but it will not work as on desktop because the normal JavaScript is not allow.
For author image you need to add this custom code line https://i.imgur.com/TObfuCc.png on this path wp-content/plugins/td-composer/mobile/single.php the code can be get from here , also you’ll need some custom css https://i.imgur.com/dNQaFvC.png
Hope this will work.
Thank you!
Great thanks it works correctly https://ibb.co/BcjZVhm
Ccan i have also the shortcode for rendere Only social author icons?
Hi,
I think that you referring to this https://i.imgur.com/1tJ5ohZ.png
I think it can be done in different ways, unfortunately I know only one that require some more code https://i.imgur.com/1pawtOq.png the code need to be set in the same file and you can get it from here also use this custom css https://i.imgur.com/EypafKu.png
.td-module-meta-info .td-author-social {
display: inline-block;
}
Hope it helps.
Perfect thank you so much
Now i need to understand if it possible to fix a bug i have with jetpack comment system
I ask to you to understand if maybe there is conflict with theme or something else
I’m sending a video so will be easier for you understand https://we.tl/t-j7jHHGZoeI
Thanks
Hi,
The JavaScript code use to expand the comment is not working on amp. For amp version it must be use a code specific for amp, here are some more details about this https://amp.dev/documentation/guides-and-tutorials/develop/custom-javascript/
Normal the 430px height should apply only after click on the comment field.
I will make some more investigations, maybe I can find something to help.
Thank you!