How to add custom code in header file?

Posted in: Newspaper
Post count: 29

I want to connect my site with facebook instant articles so I need to add code in heder.php.please check this screen shot I want to enter this code in a header file as per facebook requirement . where I have to add this code which place?

Post count: 22421

Hello,

You can place the code here: https://www.screencast.com/t/wFcCo0itt as it will get added to the header section.

Thank you!

Post count: 1

Hi! I have the same question, and I have NewsPaper 7, which doesn’t look like the screenshot you sent. Where should I place my code in <head>? Inside “Custom Javascript” or inside “Custom HTML”? This last one says that is going to be placed inside footer…

Post count: 35449

Hi rmmbastos@gmail.com,

Unfortunately NewsPaper 7 do not have a place to set the code in order to be set in header of footer, sorry!
I think that you’ll need to edit the theme files, I should be somewhere in wp-content/themes/Newspaper/header.php

Thank you for your understanding!

Post count: 29

the_content filter hook was called twice in my treadtopic.com website
How to make it one?

Post count: 35449

Hi,

I’ve checked your website and I do not find any were the “the_content” to be call twice, please provide some more details about this case.

Thank you!

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