Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.8 version error microdata upvoteCount #433

Closed
yerbol89 opened this issue Jul 16, 2016 · 6 comments
Closed

1.8 version error microdata upvoteCount #433

yerbol89 opened this issue Jul 16, 2016 · 6 comments

Comments

@svivian
Copy link
Collaborator

svivian commented Jul 18, 2016

You are missing the attributes on the qa-main div. It's probably an issue with your theme. Check the functions in your qa-theme.php and compare to those in qa-theme-base.php.

You probably need these two lines in the main() function:

$extratags = isset($this->content['main_tags']) ? $this->content['main_tags'] : '';
$this->output('<div class="qa-main'.$hidden.'"'.$extratags.'>');

@yerbol89
Copy link
Author

I use Amiya Sahu theme Donut.

https://github.com/amiyasahu/Donut/blob/master/qa-theme/Donut-theme/qa-donut-layer.php

@svivian how line i edit. Please help.

p.s. My site i use 1.8 version. Site work cool. Cache work nice.

@svivian
Copy link
Collaborator

svivian commented Jul 18, 2016

It would be line 358. Replace that line with

$extratags = isset($this->content['main_tags']) ? $this->content['main_tags'] : '';
$this->output( '<div class="' . $width_class . ( @$this->content['hidden'] ? ' qa-main-hidden' : '' ) . '"'.$extratags.'>' );

@yerbol89
Copy link
Author

Thanks @svivian Its nice work.
@amiyasahu please add this code Donut theme.

@yerbol89
Copy link
Author

@amiyasahu please add Donut next version.

@amiyasahu
Copy link
Contributor

I added to the issue list and will be fixing soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants