Title: PHP Post problem
Last modified: August 20, 2016

---

# PHP Post problem

 *  [danny_getextra](https://wordpress.org/support/users/danny_getextra/)
 * (@danny_getextra)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-post-problem/)
 * Right so my problem is that I can’t get the quote in the footer to just appear
   there when i place the content in the correct category named quote.
 * “Getextra Customer Comments
    “Thank you Paul, I love my new website it is exactly
   what I had in mind.” Rick, [http://www.rickabbottdesigns.co.uk&#8221](http://www.rickabbottdesigns.co.uk&#8221);
 * [http://pastebin.com/yh5SQavP](http://pastebin.com/yh5SQavP)
 * This is a link to the php code I’m using, I’ve copied it directly from a clone
   theme.
 * Here is the link to mine
 * [http://79.170.44.141/dannycouncil.co.uk/](http://79.170.44.141/dannycouncil.co.uk/)
 * Here is a link to the one i want it to be like. Need to make it so it doesn’t
   pull the post in the bit just above the footer aswell as you can see in the one
   below.
 * [http://willerby.org.uk/](http://willerby.org.uk/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-post-problem/#post-3067627)
 * I see the quote in the footer, is it the wrong quote?
    [http://awesomescreenshot.com/0f9h0x9d5](http://awesomescreenshot.com/0f9h0x9d5)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-post-problem/#post-3067628)
 * Don’t use query_posts() in a secondary query/loop. That’s for amending the MAIN
   query only. Use get_posts or WP_Query instead.
    [http://codex.wordpress.org/Function_Reference/get_posts](http://codex.wordpress.org/Function_Reference/get_posts)
   [http://codex.wordpress.org/Function_Reference/WP_Query](http://codex.wordpress.org/Function_Reference/WP_Query)
 *  Thread Starter [danny_getextra](https://wordpress.org/support/users/danny_getextra/)
 * (@danny_getextra)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-post-problem/#post-3067631)
 * No, you are perfectly right sir.
 * My apologies didn’t sleep well last night so my English is abit slow today.
 * Basically I need it to just appear in the footer and not the one above.
 *  Thread Starter [danny_getextra](https://wordpress.org/support/users/danny_getextra/)
 * (@danny_getextra)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-post-problem/#post-3067633)
 * I’m not very experienced with PHP. Only just started directly editing it.
 * What would be the next action for me to take to overide the current wp query?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/php-post-problem/#post-3067656)
 * See the links I posted above.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Post problem’ is closed to new replies.

 * 5 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/php-post-problem/#post-3067656)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
