Newspaper 11 – child theme issues

Posted in: Newspaper
Post count: 8

Hello there,

We’re making the radical move from Newspaper 9-ish to Newspaper 11.
We ran a child theme modifying the loop-single.php to put in our video player…

Currently I’m working on a local test site.
https://drive.google.com/file/d/133ApypF8UXlVfM7IbnssPXfFIxIXKCce/view?usp=sharing

We used custom fields to enter files etc, and had an if-else statement to hide the player when there was no video and placing the code just under the get_content.

In 11 I can’t get this to work.
1) I’ve tried a child theme not using the Standard Pack Plugin
2) I’ve tried a child theme using the Standard Pack Plugin
https://drive.google.com/file/d/1r2lrF_MWuDoWa9I-7A7HspesG0BXZash/view?usp=sharing
3) I’ve tried hacking loop-singe.php in the main theme just to see if it would display.
4) I’ve tried using the video player without the php code, and just hard coded it.

SO these are the things are probably wrong.
1) template.php in the child theme is not correct
2) the php used in my code is not longer correct
3) I’m not using the right template.
4) Probably a bunch of other things

Any insight would be greatly appreciated.

  • This topic was modified 4 years by NDDdude.
  • This topic was modified 4 years by NDDdude.
Post count: 35449

Hi NDDdude,
The structure of the child theme seems to be correct, but please use the child them from the Newspaper v11 package.
Also, why not try a single post template form the cloud and then the video icon will be displayed automatically on the featured image (there are to featured image elements, one that is set as background only for images and a normal one that can be used for images, video, audio).
-> https://i.imgur.com/EqtMcZ7.png -> https://i.imgur.com/t9f7xIB.png the results -> https://i.imgur.com/clZqwi8.png
Thank you!

Post count: 8

Hi Calin,
I’ve been digging around and I can’t find previous versions of Newspaper. I’m assuming that v111 is version 11.1.

Just want to flag what we’re trying to achieve. This workflow worked perfectly with Newspaper 9 and it’s locked in.

It’s a news site.
Our journalists aren’t that tech savvy, so we’ve come up with a solution that has the code for the video player (JW Player) in the loop-single template.
We’ve created a custom field that is the filename name for the video. The video is stored on S3. We’ve got the path to S3 in the theme, and the custom field is the video name.

This workflow can’t change. It’s set in stone. Our infrastructure and journalists (we’ve got about 20) only allows it to work this way.

Will this workflow work with your suggestion? Is it for an occasional video? I’ll have a play with v111 when I can install it.

Thanks for your time and help.

Matt

Post count: 35449

Hi,
You can use the forum menu to see the theme versions -> https://i.imgur.com/lmVA747.png or you can check them on the themeforest -> https://i.imgur.com/DJLRPaM.png I usually recommend the themeforest because there are always set the changes when the theme is updated.

Normally my suggestion it is for YouTube videos and you can also use local videos (with the post format as video), I do not know if this is quite the same thing like you did, but if you can provide an example (screenshot with backend settings of posts) and a link to see the post, I can confirm if is or not.

Now, if that changed worked in Newspaper 9, then should also work in the last version, we need only to figurate out the elements that were used in Newspaper v9 and to use the same elements in v11, also a small changed was made for the child theme, but this should not be a problem, it should still work (the only changed was that some functions were moved in theme plugins, in standard pack and in composer).

Thank you!

Post count: 8

Thank you Calin,
I’m sorry to take up your time.
I’ve followed your screenshots and link, and for the life of me I can’t see previous versions to download. I can see the changelog and “what’s new”, but I can’t see a link. Is there a link you can share?

Post count: 21065

Hello!

Choose a preferred theme version to install: Newspaper (wordpress menu) -> Updates -> Newspaper Time Machine.

Thank you!

Post count: 8

Hi Bettina,

Sorry it has taken a few days to get back to you.
I’v had a look in the Time-Machine section under Updates, and I can’t see the version that Calin had suggested, which is “Newspaper v111 package”.
Is there anyway I can get a link to download this version. I’m doing a lot of running around to find it with no success.

Thank you.
Cheers, Matt

https://drive.google.com/file/d/17RAvmR01PHTxf5hohrW1LM7oAfcLKO7L/view?usp=sharing
Link to screenshot

  • This reply was modified 4 years by NDDdude. Reason: Adding image
  • This reply was modified 4 years by NDDdude. Reason: removed img tag
  • This reply was modified 4 years by NDDdude. Reason: forgot to ask the question
Post count: 27744

Hello,

You can download the version 11.1 from this link -> http://cdn.tagdiv.com/wp-content/uploads/2021/08/Newspaper-11-1.zip

Thank you!

Post count: 8

Hi Anamaria,

Thank you for sending that through ?
I test it out to see if it solves my problem.
Cheers, Matt

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.