Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
962 views
in Q2A Core by

How do I do this twenty eleven integration of q2a theme with twenty eleven theme with wordpress?

Pardon me for being complete novice, but I made a copy of copy of default theme and named it as tete.

then I made a php file, named it as qa-theme.php and uploaded to the tete folder on my web server. 

 

I am getting this error when I go to my qa site

 

Fatal error: Call to undefined function bloginfo() in /home/********/public_html/******/qa-theme/tete/qa-theme.php on line 26

 

I dont know what I have done.Pardon my ignorance, but I really want q2a to be integrated in my wordpress theme of twentyeleven.

 

If some one can just tell what should i do to make it happen...

 

I have installed q2a on a diferent database and have not used wordpress integration.

but I want my q2a website to look like it is blened in  twentyeleven theme of wordpress. so I did this what I have mentioned above. I did'nt installed q2a with wordpress integration because I wanted q2a to handle registrations process and not wordpress.

if some one can just look at tell what I need to do, it would be very helpful

 

 

 

related to an answer for: wordpress theme integration
by
some one please look into it.
I really need to do it.
by
some one look into this
by
Is your q2a install already wordpress integrated?
by
no, I have not made q2a install wordpress integrated.
I wanted q2a to handle the user registrations, and not wordpress.


I want my q2a website to look like it is blened in  twentyeleven theme of wordpress. so I did this what I have mentioned above. I did'nt installed q2a with wordpress integration because I wanted q2a to handle registrations process and not wordpress.
by
then just do

include '/path/to/wordpress/wp-load.php;'

1 Answer

0 votes
by

In your qa-theme.php add the following:

 

function head_custom() // add WordPress Header
{
$this->output(get_header());
}
function body_suffix() // add WordPress Footer
{
$this->output(get_footer());
}
 
In WordPress you can edit the header and footer if necessary. In my example, I do not call the WordPress sidebar because I use the Q2A sidebar. I also usually change some of the qa-styles.css colors to match my WordPress theme.
...