Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

How to achieve this integration?

0 votes

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
asked Dec 20, 2011 in Q2A Core by testbear
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.
then just do

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

1 Answer

0 votes

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.
answered Jan 12 by shrewdies