nununo
Sophomore
Just Getting Started
Member Likes (0)
Hello,
I have successfully created a fresh wordpress site with Q&A. Since I will only use the site for Q&A I want the homepage to have the list of questions. How can I achieve this:
- without a simple redirect
- having homepage completely replace the normal /questions page (to avoid having two pages (/ and /questions)
Thanks in advance,
Nuno
Responses (14)
WPMUDEV-ian (joined November 2011) Likes (0)
Heya,
I think the solution i posted before has bugs.
Please do not try that, I am doing some research on this. Will revert soon
Cheers
PC
WPMUDEV-ian (joined November 2011) Likes (0)
Heya !
This issue as already been resolved here
http://premium.wpmudev.org/forums/topic/putting-qa-on-homepage
Please check and advise if you were able to fix it and please mark the topic as resolved if it works.
Cheers,
PC
Support Chimp (joined March 2010) Likes (0)
Hey Nuno.
Currently the Q&A is not a physical page and the WordPress system don't allow you assign slugs as the main page from within the reading settings.
The link PC kindly offered should help there.
@PC thanks for jumping in on this one!
Thanks.
Member (joined March 2012) Likes (0)
Hello all,
@PC thanks for the link. I tried to follow those instructions but it didn't work. I posted there what happened:
http://premium.wpmudev.org/forums/topic/putting-qa-on-homepage?replies=8#post-209163
Thanks,
Nuno
WPMUDEV-ian (joined November 2011) Likes (0)
@Tim : We need some expert advise on this one Tim. I am trying to replicate the situation on one of my test sites, till then I hope you have some solution ready
Cheers
PC
Support Chimp (joined March 2010) Likes (0)
Hey guys.
By default the plugin simply cannot do that.
So I looked at what Arun did there, he included the QA template.
Try the version attached - Follow the instructions on the other thread but with this file instead. (CSS things remain the same.
Screen attached, keep in mind I have not done any of the CSS stuff there, so it will look plain and unformatted.
Thanks.
Support Chimp (joined March 2010) Likes (0)
Hey Nuno, PC.
Did you try the file I included?
Just interested to see how it went.
Thanks.
WPMUDEV-ian (joined November 2011) Likes (0)
heya Tim !
i m yet to try that. will update soon.
nuno, by any chance did u check it?
cheers
PC
Support Chimp (joined March 2010) Likes (0)
Hey guys.
I'm just marking this one as resolved for now, but if you need any further help then please let me know and open this back up again.
Thanks.
Member (joined March 2012) Likes (0)
Hi Timothy and PC,
(I was out of the country that's why it took me so long to reply)
Thanks for your updated solution. It worked very well and now the home page has the list of questions.
One (small) problem remains: when I search, the form was still submitting to page /questions. I tried to change it to / but although it outputs the correct results, they are using the standard template and not the Q&A template. You can try it yourself:
http://f1.abapinho.com/questions?s=that (ok)
http://f1.abapinho.com/?s=that (not ok)
Do you know of a way to solve this?
Still, I'm already quite happy ;)
Thanks!
Nuno
Support Chimp (joined March 2010) Likes (0)
Hey again.
I kinda feel I would like to be at the moment, its rained for days here not as bad as some places I know, just would like a little sun :)
Excellent, thanks for letting me know :-)
Well the second link is the normal search I believe? So you would need to style that accordingly.
Whereas the question one is using the Questions CSS to handle the design.
I couldn't see where you use the default search on your site? I could only see the Question one?
Thanks.
Take care.
Member (joined March 2012) Likes (0)
Timothy,
You're right. I won't use the normal search at all so I can simply adapt it to the Q&A search template. Of course!
(I'm not an expert in WP so these apparently simple solutions are not always obvious to me)
About being out of the country... I live in Portugal which has nice weather and I had to go to Belgium which is coooold. So I'm happy to be back in Lisboa :)
Thanks,
Nuno
Support Chimp (joined March 2010) Likes (0)
No worries, that is what we are here for :)
Well I'm personally over in the UK and its cold and wet at the moment. I'm wanting to get the BBQ out so hoping it will get better real soon! :-)
Take care.
Member (joined March 2012) Likes (0)
Thanks!
Good luck with the weather there :)
WordPress Questions?
We've got answers!
Find out more »