Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
Login
Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Wiki
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
Related questions
Is there a way to output the total number of questions in wordpress theme
embedding in to wordpress theme - no login merge, only visual
what is the best way to make a theme??
Wordpress Theme Integration or Plugin Development
how can I to add placeholder to SearchBox input (my new theme+IMAGE)?
anyone can design a theme? i can pay
Who is interested in a mobile theme?
Somebody succesfully converted HTML template to Q2A theme ?
wordpress theme integration
Is there any plugins for Q2A like wordpress has?
All categories
Q2A Core
(3,252)
Plugins
(356)
How to integrate Question2Answer into a WordPress theme?
+1
vote
How can I integrate Question2Answer into a WordPress theme?
Basically, for consitency; I want the sidebar, header and footer from my WordPress theme to be present within the Q&A sub-domain.
Please tell me how this can be done.
Thanks
wordpress
theme
themes
wordpress-theme
wordpress-themes
asked
Jan 30, 2011
in
Q2A Core
by
A.T.
iframe can only do so much, layout becomes a problem very quickly...
:S
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Any luck with this?
Have you tried my solution in
http://www.question2answer.org/qa/428/how-can-i-integrate-it-with-wordpress#c1623
answered
Feb 25, 2011
by
shrewdies
I have, but since SSO to work, get_sidebar() doesn't work properly from a default install.
When I follow your tutorial exactly, then turn off getExternalUsers I receive mySQL warnings on Chrome...
See here for exact msgs:
http://www.question2answer.org/qa/4850/errors-appear-chrome-mysql_real_escape_string-mysql_error
Integrating the Q2A theme with your WordPress theme is separate from SSO, but it uses a similar construct in that you have to be able to see the WP libraries from Q2A, hence the include statements at the top of the qa-theme.php. This means you can integrate the WP theme, and still use the Q2A user table. I can't see why you would want this in practice, but it is useful for testing, as you can focus on the theme, without worrying about problems from the user integration.
If this is on BlueHost, then they configure their servers in a strange way. There *might* be a way round this, but you would need some help from their tech support, and in my case, I got more help from the cat (similar help actually "Me? 'ow!").
The only thing I can suggest is to install your own WampServer, and configure it locally to remove the BlueHost issue. Or DreamHost do a weeks free trial (I'm not touting for DreamHost business, but so far, in about 4 months, they have been reliable, and faster for me - most of my traffic is US based, but in the UK, my NativeSpace sites also perform well with no integration problems).
Please
log in
or
register
to add a comment.