Performance

Posted in: Newsmag
Post count: 137

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

Post count: 35449

Hi,
Until now, we didn’t try that, but I think that it should work, but you need to know the right code that need to be use. Unfortunately I do not have the right skills to can help you with this, sorry!
Thank you for your understating!

Post count: 137

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

Post count: 35449

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!

Post count: 137

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

Post count: 35449

Hi,
Please provide some screens with the implementation of the shortcode. I will as a developer if that implementation is correctly.
Thank you!

Post count: 137

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

Post count: 35449

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!

Post count: 137

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/

Post count: 35449

Hi,
I’ve made a notice to our developers about using this plugin and the problems that appears. Unfortunately, I can not say if I will get some answers since the plugin was not tested with our theme.
Thank you for your understanding!

Post count: 137

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.

Post count: 35449

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!

Post count: 137

Ok is it possible to have an estimation when you will fix this? Otherwise i have to plan to coding by myself.
Thanks

Post count: 35449

Hi,
Unfortunately, I do not know and estimate time, sorry! Now our developers are working for Newsmag theme to implement some fix, normal after those will be done will implement the fixes for Newsmag too.
Thank you!

Post count: 137

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

Post count: 35449

Hi,
Unfortunately, for the moment, the option for the author image in that element is not available, sorry! At this moment it can be achieved only with custom work.
Thank you for your understating!

Post count: 137

Ok no problem. Is it possible always in AMP to display number of article views?

Post count: 137

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

Post count: 35449

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!

Post count: 137

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

Post count: 35449

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!

Post count: 137

Great thanks it works correctly https://ibb.co/BcjZVhm
Ccan i have also the shortcode for rendere Only social author icons?

Post count: 35449

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.

Post count: 137

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

Post count: 35449

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!

Viewing 25 posts - 26 through 50 (of 52 total)
The forum ‘Newsmag’ is closed to new topics and replies.