Template Issues: v 6.65

Posted in: Newspaper
Post count: 109

Having issues with the following version of 6.6.5 Newspaper:

1. [22-Feb-2016 20:18:02 UTC] PHP Fatal error: Call to undefined function get_header() in /home/paradise/public_html/wp-content/themes/Newspaper/index.php on line 6

referring to the code on line 6 of index
get_header();

2. Structured Data > hentry (markup: microformats.org) Missing Updated.
http://www.screencast.com/t/PsexqVjwG

Is this a Google issue, because when I validate it all looks good?

3. Response Code 500

wp-content/themes/Newspaper/

http://www.screencast.com/t/lFXEK566I

4. H1, H2 proper tags?

Post count: 22421

Hi,
1)https://forum.tagdiv.com/topic/fatal-error-in-wp-contentthemesnewspaper/
2) Please enable your post date and author (if you do not want to show them you can hide them with css, not disable from the theme panel).
3)This is tied to your first issue. Follow the topic provided and add the code to redirect it to your homepage for example.
4) I’m not sure exactly what you mean but I assume you mean h1 or h2 tags on your homepage. If you do not add any titles to your page inside a h1 or h2 tag there won;t be any. You are the one that needs to set these titles in a text box and add the title in a h1 or h2. tyou can hide it with css if you do not want to show it.
I hope this helps.
Thanks.

Post count: 109

Hi Bogdan

So the fix with issue one is

Replace in index.php line 6 code:

get_header();

with this exact code?

if (function_exists('get_header')) {
get_header();
}else{
/* Redirect browser */
header("Location: https://mydomain.com ");
/* Make sure that code below does not get executed when we redirect. */
exit;
};

This is the only file that needs to be replaced, is that right?

I sure hope this doesn’t put me out of business. I’ll be honest my business is down 75% since switching to your template. =(

Post count: 22421

Hi,
You do not need to do anything about it because the error you see in webmastres will not affect your website at all. It simply does not recognize a part of our code that we use to get the header. Either you add the function instead of the get_header(); or not, the result will just be seen in the webmasters tools. It’s not something that affects your site in any way. The error can simply be ignored.
If you want however to see it gone from webmasters then you need to replace the get_header() from every file it is specified: http://screencast.com/t/XQUnvQvviIU (31 places to be exact)
I hope this helps.
Thank you!

Post count: 3

I’m gonna be the dumb one here, apologises – how does one enable your post date and author?

Post count: 3

I’ve found the enable date and author page within the theme settings and they’re enabled – I keep getting hentry (markup: microformats.org) issues on 138 items.

With the Structured Data Testing Tool i get a number of errors – mainContentOfPage says Blog is not a known valid target type

Articles have 890 errors missing author, date published, headline, image, publisher, date modified, main entity of page missing. Bascically no micro data bar the author.

The website address is http://www.onthescenemag.co.uk – I’ve been using the theme for a while unaware of the errors. Love this theme

Post count: 23312

Hello tomfowler,

If you want to activate these option you can do that only from Theme panel, like this -> http://screencast.com/t/TMgO4Qyjr First of all, please try to read all our documentation because there you can see all the information about our theme. -> https://forum.tagdiv.com/wordpress-information/

Thank you for the message!

Post count: 3

Hi Catalin,

Thanks for getting back to me buddy, I found it and realised I was having a dumb moment!

However, I keep getting hentry (markup: microformats.org) issues on 138 items.

With the Structured Data Testing Tool i get a number of errors – mainContentOfPage says Blog is not a known valid target type

Articles have 890 errors missing author, date published, headline, image, publisher, date modified, main entity of page missing. Bascically no micro data bar the author.

The website address is http://www.onthescenemag.co.uk – I’ve been using the theme for a while unaware of the errors. Love the theme though!

Post count: 23312

Hello tomfowler,

I have checked your website and I saw that you use an old version of the Newsmag. (1.6) Please try to make an update to the latest version of the theme (2.3.5) because these kinds of problems were resolved in our updates. Also, in the future, if you are using Newsmag theme, please write your messages in the correct section of the forum (Newsmag -> Newsmag section and Newspaper ->Newspaper section).

Thank you for your understanding!

Post count: 112

Bogdan, you said for the home page to add a text box and set the title to H1. I’m using custom headers set to H1. I’m assuming this will achieve the same thing. Am I right?

I love this theme!

Post count: 23312

Hello travisnw,

Yes, you can use the Custom Heading from Visual Composer and set it to be H1 because is the same thing.

Thank you for the message!

Viewing 11 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic.