Hi,
thank you for fixing my issue with the activation.
You can close it as resolved đ
Cheers
Hi,
I don’t get it. I tested it after I have added that snippet to my function.php and I saw that the newly added images are already pointing to the file URL but when I clicked at the image from the front-end, it just opened it in new tab but this time I tested it again and it just works as intended.
Thanks for showing me the right path to take in order to fix the issue which was in the image default link type.
You can close this thread now.
Thank you very much again
Hi Bogdan,
I just sent the email with all the requested details.
I appreciate it.
Thank you
Hi Bogdan,
unfortunately it’s still not working.
I have made some changes thanks to your hint above. However, that option didn’t work well so I used
one of the methods found here https://core.trac.wordpress.org/ticket/35101
So I pasted this php code below to my child-theme function.php file and it seems to make my newly images point to the media link as you can see on the screenshot here https://1drv.ms/i/s!AkIZ0iKtBNnXmdlLTUt0Wu5r-E3hdg
add_action( 'after_setup_theme', 'default_attachment_display_settings' );
function default_attachment_display_settings() {
update_option( 'image_default_align', 'none' );
update_option( 'image_default_link_type', 'file' );
}
So I think there is a deeper issue I am having with Newspaper light box when enabled globally as I thought of in the first place.
Please have a look and let me know what else to try in order to get this working
Thank you
hello Bogdan,
I don’t think that this is a good solution if the “Global settings” is enabled and I still have to do it manually when creating new posts from scratch by hand… maybe I misunderstand what is down below.
The modal can be enabled globally from Theme Panel -> Post Settings. The modal will apply to all post images, so you wonât have to go on each post to set them individually. If this feature is disabled, the individual imaged settings are applied.
I understand what you have explained to me earlier above about imported posts with images which are BTW stored on my server. I kinda assume that when the Global settings is applied, it should at least work with manually created posts with images or am I really missing something?
How do I actually make the images to be linked to the media file automatically? Is it some sort of WordPress bug or I have miss-configured my media library somehow?
I am working on a modification from other Plugin to actually allow authors to publish their articles from the front-end with images. At this moment, they are only able to upload a Featured Image. I am just wondering if this is considered as a similar situation with importing posts with images from external sources and basically the lightbox won’t work as well.
I like Newspaper’s lightbox and I’d like to get it working at least with manually created posts either from front-end or back-end.
Any kind of suggestion or hint will be appreciated. I have tried other amazing lightbox plugin I purchased long time ago, however, I decided to use Newspaper’s light box as it has the lightbox built-in, light weight and good looking too. I would prefer to get it working somehow. It’s not that priority as it’s not possible to get it working with imported posts but I’d like to see it at least working with manually created posts, if you know what I mean.
Thanks again for your time reading my looooong messages đ
Take it easy
Hello,
thank you Catalln. I will give it a try and let you know if something.
Cheers
Hello,
I’ve just sent you the credentials to the email above as you required.
If you’d need FTP access, let me know please.
Thanks
Hi,
so if I understand this correctly the Global modal settings is there for nothing, because if I make the post from scratch and I actually upload images manually like I did in this example/test
https://marketonchart.com/uncategorized/test-post/27/02/2017/
the modal image is still off and I have to do it all manually anyway.
Check this screenshot I made after adding the image to the test post above and publishing it.
Then I checked if the global modal image settings was applied by going to see the post from the front end and then I went back in order to see the settings of that image from within the post. See the attachment.
https://1drv.ms/f/s!AkIZ0iKtBNnXl5Roh6G7lXVwfRYTEw
Maybe I am missing something or don’t just understand what it’s said down here below.
GENERAL MODAL IMAGE
Enable or disable general modal image viewer over all post images, so you won’t have to go on each post to set them individually.
Consider that disabling this feature, the individual settings of an image post are applied.
Thank you
Hi,
not sure why the link isn’t there if I included in my previous message
So here your are : https://1drv.ms/f/s!AkIZ0iKtBNnXl5RlJ83w8BnElQLEnA
Just to point you to the right direction. I know how that the child theme won’t work with no activated main theme and I know how to upload files/folders via FTP. I also knew that it has to do something with my current code of my child theme because if I uploaded the default child-theme along with the new version of the Newspaper theme it looks like it works. I was just disappointed that I have to modify my child-theme after the theme update.
I haven’t had time to figure out what piece of code is causing it but I wanted to get the activation issue sorted in order to get the auto update working. I am curious if it will cause the same issue regarding the child-theme.
Can you please fix the activation issue in order for me to try to update your theme the automated way and if it will stop my child-theme from working I will try to figure out what piece of code is causing as I don’t remember exactly if it was the style sheet or the function.php where I don’t have much of the code anyway.
Thank you
Hi,
I understand what you mean regrading my second query.
However, I still don’t understand how I can achieve the lightbox to work on my site if I have it enabled in global settings and when I upload an image to my post manually I still have to edit the image and turn the Modal Image On and select the media link manually đ
I am not sure if I understand what it’s said here
Global settings
The modal can be enabled globally from Theme Panel -> Post Settings. The modal will apply to all post images, so you wonât have to go on each post to set them individually. If this feature is disabled, the individual imaged settings are applied.
Please explain
Thank you Bogdan
Hi,
unfortunately updating Newspaper via FTP is pretty simple and straight forward, however, I am using child theme which stops working as soon as I remove the newspaper folder from the server and upload the new one.
Second of all, please check these two screenshots here
in order to see the System Info and that I am missing the Activation Tab for some reason.
Thank you
Hello,
thank you very much for this kind of solution. I have tried also the other option I found in the mentioned article as I prefer to make such changes via function.php as I use child theme but I am still unable to get rid off the roboto font for some reason.
https://fonts.googleapis.com/css?family=Play%3A%2C300%2C400%2C700
https://fonts.googleapis.com/css?family=Play%3A400%2C700
https://fonts.googleapis.com/css?family=Roboto:300&lang=en
At the moment I have uncommented only the default fonts used by the theme in td_config.php file but I am not sure why Roboto is still being loaded.
Thank you
Hello,
well, every single image is being downloaded to my server while importing posts to my site and it’s definitely present in the media library. If I manually switch on the Modal Image and just change from “link to – none” to “link to – Image URL” it works just fine. I think it’s not working even if I upload an image to the media library and attach it to a post manually anyway.
I was thinking if I should create a separated topic or just to ask you here. It’s something what’s actually related to the post feeding on my website so I’ll ask you here anyway as we already started this discussion.
Please let me know if it’s better to compose new separate topic in such case.
It’s about the post source name and the post source URL. I currently use these available fields in post settings to display the article’s source name including the URL but I have to do it manually each time I am editing the post which can be kind of time consuming. I am trying to get those fields filled in automatically with correct data because what I am trying to achieve here is to auto publish imported posts as soon as they are being downloaded to my site.
At the moment, all the posts that are being imported to my site must have the pending review or draft status in order to edit them before I can actually publish them with the correct source name and URL, however, that way I am loosing the date and time from the feed which is being imported and also my precious time which could be used elsewhere.
I know this is not the Newspaper’s Theme issue but I would appreciate any kind of hint or suggestion from you.
Thank you in advance
Hello Bogdan,
I am sorry for such a dely. I was on long vacation and it took me couple of weeks to get back on truck.
I kinda thought that this is the reason why it’s not working, however, I would like to ask for your opinion if there is anything what could be done from your side in order to automatically add the class to any imported image what comes with the feed.
Thank you in advance
Hello Catalin,
That’s right. I am using only Google Play font and that’s what I would only have loaded but I don’t know why it’s loading Open Sans and Roboto if I don’t use those two fonts at all as in my whole theme font setting I only have Google Play font set instead of default. Also I am just wondering why Google Play is being loaded 3 times instead of just once. I believe that you now understand what I mean.
Thank you
Hi Catalln,
I am sorry for such huge delay in answering your messages. I was on a long vacation and back then I have actually replied to the email which are no-reply email address I have noticed later.
Here is what I was trying to send you long time ago:
Hi,
I kinda understand that there is no such option and that you won’t customise it according to my need but can you explain why it has such negative effect on loading for mobile phones?
Would you be that kind and have a look at it what you’ll have time. I just enabled the lazy loading for you to have a look at it what I mean. I am still trying to make my pages as small as possible in order to load faster on mobile devices. I already tried your mobile plugin and it’s awesome regarding the page speed loading time but I kinda use different menu plugins and I haven’t managed to implement it for the mobile version yet. However, I am about to make my pages load fast on mobile devices with no use of you mobile plugin and that brings me to the lazy page loading and also I wanted to ask you how to minify newspaper JavaScript as I have tried to either combine it or even minify it but it always break my site. I have managed to combine and minify most of the js except the jQuery and newspaper js files. Any kind of help or hint would be very much appreciated. I use W3 Total Cache plugin in order to speed up my web site but as I mentioned I am having troubles to manage to minify or combine newspaper js file along with others. I tried most of the variations but none of them worked for the newspaper js file.
Thanks