Questions tagged [code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer

echo or return? [duplicate]

Possible Duplicate: append_content help i have a code which is use to display twitter tweets but the problem is, it is displaying before the content of post, i know the problem is with echo, ...
Niraj Chauhan's user avatar
1 vote
2 answers

write in functions.php

i just want this code to be added in my functions.php, so that it will directly display after my post ends currently i am adding this code to my single.php, but i want to add this is in functions.php, ...
Niraj Chauhan's user avatar
129 votes
4 answers

How to display SQL query that ran in query?

I have come across a function before that displayed the exact SQL code that was used. In a loop for example, but can't remember. Can anybody tell me that function?
Keith's user avatar
  • 1,536
6 votes
5 answers

What theme is good for posting code? [closed]

I have my blog hosted at and I guess it's good enough. But problems arise when the lines of code get longer than 30 characters. The lines just wrap and get icky or something they even ...
user avatar
1 vote
1 answer

Why does this snippet in a blog post make WordPress crash?

Ok, this is seriously weird and I have no clue what's going on here. I am using WordPress 3.0.1, I create a new blog post, give it a title, paste the following code into the blog post and hits Save ...
Svish's user avatar
  • 229

3 4 5 6