Trying to add images and content prior to where the Q&A content begins

Hello. The URL I'm speaking of is http://www.shortwayout.com/questions. I'm trying to find the correct PHP file to edit so that I can add static content (such as an image and video) to the top of the home page. Also some help on the code that would need to be implemented. I am also trying to the ask a question box on the home page so they can ask a question right away and put this above where the Q&A starts now. As well as try to edit the dimensions of the form. http://s18.postimage.org/tzx27pl6h/3757_001.jpg that is the idea of what I am talking about. Add an image, then the form to ask a question. Also when the questions are displayed on the home page, how would I add an answer (the top voted one) directly below the question that is asked. Thanks so much guys!!!

  • digitsoft

    Q. I'm trying to find the correct PHP file to edit so that I can add static content (such as an image and video) to the top of the home page. Also some help on the code that would need to be implemented.
    A. /wp-content/plugins/qa/default-templates/single-question.php
    - start by trying to put it right after <div id="qa-content-wrapper"> (this may or may not be where you want)
    - no code needed - just html is fine here

    Q. I am also trying to the ask a question box on the home page so they can ask a question right away and put this above where the Q&A starts now.
    A. Since it's not a static page you can't do it easily, but I'd use a redirection plugin to auto route people from the root of your domain to the QA page.
    - example redir: http://wordpress.org/extend/plugins/redirection/

    I'll look at your last question in a few...

  • Shortwayout

    Thanks very much @DigitSoft!!!! +6! I think I was a bit vague on my description of "home page." What I mean is the "home page" of the Q&A i'd like to add the form. So above the Q&A there would be a form where users can ask the question directly without clicking "ask a question."

    Also, what I meant by adding the best answer below the question is when all of the questions are displayed, below each question is the best answer. For example..

    Question: How do I eat food?
    Answer: You put food in mouth, then chew.
    Question: Can I eat food?
    Answer: Yes, you will die if you dont!!!

    Hope this gives you better guidance.

  • aecnu

    Greetings Shortwayout,

    All the available templates that make up the Q&A rendered screens are located in the default-templates folder which is a sub folder of the Q&A plugin main folder.

    You should go through them to first identify which ones you want to edit and then do what you intend to do and as Rob mentioned above regular html will work in these templates.

    Thank you for being a WPMU Dev Member!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.