I updated the Newspaper from version 7.4 to 8.5.1.
After updating, “GENERAL MODAL IMAGE” is enabled but does not work.
Only works when images are in gallery.
WordPress version: 4.9.1
—
TRADUZIDO DE:
Atualizei o Newspaper da versão 7.4 para 8.5.1.
Após a atualização, o “GENERAL MODAL IMAGE” está habilitado mas não funciona.
Só funciona quando as imagens estão em galeria.
Versão do WordPress: 4.9.1
Hi,
If the feature is enabled in the theme panel or per image, then it should work
– https://forum.tagdiv.com/modal-window/
Please provide a link to your website so we can inspect the issue.
Thanks
Hello,
I was preparing a template site to show you. And then I was able to detect where the problem was.
I use this plugin https://wordpress.org/plugins/wp-original-media-path/
To change the uploads folder of the images and save in a subdomain.
Everything was well set up and working normally until this update.
After I updated NewsPaper, “GENERAL MODAL IMAGE” stopped working, as I said before.
When I returned these settings to upload to the default WP folder (mysite.com/wp-content/uploads), this NewsPaper function returned to work.
Now, I would like to know the following:
How does “modal” work, using my previous upload settings (using a subdomain)?
—
TRADUZIDO DE:
Olá,
Tava preparando um site modelo para mostrar pra vocês. E então, consegui detectar onde estava o problema.
Uso este plugin https://wordpress.org/plugins/wp-original-media-path/
Para mudar a pasta de uploads das imagens e salvar em um subdominio.
Tudo estava bem configurado e funcionando normalmente até esta atualização.
Depois que atualizei o NewsPaper, o “GENERAL MODAL IMAGE” parou de funcionar, como já havia dito antes.
Quando voltei essas configurações para fazer uploads na pasta padrão WP (mysite.com/wp-content/uploads), essa função do NewsPaper voltou a funcionar.
Agora, gostaria de saber o seguinte:
Tem como o “modal” funcionar, usando minhas configurações de uploads anteriores (usando um subdominio)?
-
This reply was modified 8 years by
gilvancn.
DETAIL: Until version 7.4 of the Newspaper this my custom configuration related to where the images are saved (subdomain), did not interfere in anything in the operation of the “GENERAL MODAL IMAGE”.
—
TRADUZIDO DE:
DETALHE: Até a versão 7.4 do Newspaper esta minha configuração personalizada relacionada a onde as imagens são salvas (subdominio), não interferia em nada no funcionamento do “GENERAL MODAL IMAGE”.
Hi,
The theme modal simply opens the post image in a window (lightbox), the settings mentioned in the guide have to be selected in order for it to work
– https://www.screencast.com/t/cf2AC4CWJ9
If the plugin is modifying the file path to the media file, this will probably not work, as you already mention. From the theme version you had before there may have been changes in the theme in this matter, or the plugin itself may have been modified.
Thanks
Good morning mate.
So you’re not helping me. 🙁
All those basic settings, I already did.
By my tests, this does not work exclusively because the image is from a link in a different url (subdomain).
That is, when the image url is set to a media file other than the default WordPress folder, “Modal” does not follow the global setting that is enabled to show on all images.
One option is to change the “Modal” manually in each image, but this is out of the question, since we have more than 10,000 images on the site.
Follow the sample sites with the proper settings of the original site:
http://futuromelhor.tk -> Site using media hosting in the default WordPress folder.
http://site2.futuromelhor.tk -> Site identical to the previous one, with a single change. The media hosting of this site is in a custom url.
Compare it then, please, to see that there is nothing wrong with the settings and everything works perfectly. The only problem is that “Modal” does not work on site2.
—
TRADUZIDO DE:
Bom dia amigo.
Assim você não está me ajudando. 🙁
Todas essas configurações básicas, eu já fiz.
Pelos meus testes, isso não funciona exclusivamente porque a imagem é de um link em uma url diferente (subdominio).
Ou seja, quando a url da imagem está definida para um arquivo de midia diferente da pasta padrão do WordPress, o “Modal” não segue a configuração global que está ativada para mostrar em todas as imagens.
Uma opção é mudar o “Modal” manualmente em cada imagem, mas isso está fora de cogitação, já que temos mais de 10 mil imagens no site.
Segue os sites de exemplo com as devidas configurações do site original:
futuromelhor_com -> Site usando a hospedagem de midia na pasta padrão do WordPress.
site2_futuromelhor_com -> Site identico ao anterior, com uma unica mudança. A hospedagem de midia deste site é em url personalizada.
Compare ai por gentileza, pra você ver que não tem nada de errado nas configurações e tudo funciona perfeitamente. O único problema mesmo é que o “Modal” não funciona no site2.
A plugin is just a function; same as adding a function to your theme functions.php file to achieve customization. A well constructed plugin has zero negative impact on running a site.
If you don’t want to use a plugin, you can often find many tutorials online for achieving similar effects without plugin, by adding a custom function.
Food for thought anyway.
Thanks for the suggestion, but I’ll repeat again what I said earlier.
Suggest a plugin does not help at all.
I’ve been working with WP for years and all that theory I already know.
If it was to search for a solution via plugin I would look in the WP forum and not here.
I paid for the theme. I know the theme has this functionality and so I’m showing the problem here to try a solution with the support here, since I paid for it.
Hi,
Please try and understand that if I could give you a viable solution in this matter, I would happily give it to you. We do not have a theme customization service at the moment to make and test different modifications in the theme. That is the current capability of the theme modal feature and it works for what it is intended. Sorry for this inconvenience.
Thanks
Hi,
I don’t know what more I could add in this matter. This theme feature works properly in the intended circumstances. If it does not work with the setup you have then most likely you will have to modify theme files.
As I mentioned we cannot provide such theme modifications, these have to be first recreated then fixed and tested. You could consider hiring a freelancer to help you with theme modifications.
A possible starting point in the theme js file – https://www.screencast.com/t/KTRr1IvyC68
Note that the theme uses the minified version of the js
– https://www.screencast.com/t/K0lQVJGr9kIm
There are online tools to unminify it, make modifications and minify it back.
Thanks