Questions tagged [code]
The code tag has no usage guidance.
305
questions
-1
votes
1
answer
134
views
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, ...
1
vote
2
answers
416
views
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, ...
129
votes
4
answers
238k
views
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?
6
votes
5
answers
12k
views
What theme is good for posting code? [closed]
I have my blog hosted at www.alphaot.com 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 ...
1
vote
1
answer
221
views
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 ...