WordPress is an open source content management system running on PHP and MySQL, and often used as a blog engine. WordPress questions not about programming are best asked on http://wordpress.stackexchange.com/

learn more… | top users | synonyms

4
votes
8answers
2k views

Absolutely basic PHP question about the “-> ” syntax

I'm having an impossible time trying to figure out what -> means/refers to in PHP. I know its a completely simple question, but I can't figure it out, and given that I'm finding it everywhere, ...
16
votes
4answers
37k views

Cross-browser bookmark/add to favorites javascript [duplicate]

Is there any Cross-browser bookmark/add to favorites javascript. Searched for some list but none is working. Can you please suggest any ?
7
votes
4answers
27k views

PHP curl post to login to Wordpress

i am working on a project for a client which needs an automatic login from a link click. I'm using a handshake page to do this with the following code: $username="admin"; $password="blog"; ...
3
votes
9answers
698 views

If i use captcha will i be able to stop the spam completely in my blog?

I have a Wordpress blog and the only user input is the commenting system. I want to totally avoid spam comments. Wordpress comes with Akismet but I can also use Captcha. Which plugin/method should I ...
20
votes
8answers
14k views

MySQL Order before Group by

I need to find the latest post for each author and then group the results so I only a single latest post for each author. SELECT wp_posts.* FROM wp_posts WHERE wp_posts.post_status='publish' ...
9
votes
3answers
58k views

TypeError: 'undefined' is not a function (evaluating '$(document)')

I'm using a WordPress site. I'm including this script in the header. When the script loads, I get this error: TypeError: 'undefined' is not a function (evaluating '$(document)') I have no idea ...
8
votes
4answers
21k views

Wordpress root directory

How can retrieve the path to the root directory in Wordpress?
10
votes
5answers
13k views

PHP - override existing function

Can I redeclare a existing function, with the same name, but different code? Or somehow "disable" the old function? I want to redefince a core WordPress function, but since plugins and theme call ...
6
votes
9answers
23k views

FancyBox iframe returns parent.$ as undefined (using WordPress)

I'm trying to close FancyBox from within the iframe, but parent.$ is always undefined. This is my iframe JavaScript: <script type='text/javascript' ...
22
votes
4answers
9k views

How to integrate Wordpress template with CodeIgniter

How can CodeIgniter and Wordpress be integrated such that the look and feel/template of the Wordpress blog is carried over to the CodeIgniter-created pages?
14
votes
8answers
18k views

What's the best way to set cursor/caret position?

If I'm inserting content into a textarea that TinyMCE has co-opted, what's the best way to set the position of the cursor/caret? I'm using tinyMCE.execCommand("mceInsertRawHTML", false, content); to ...
15
votes
6answers
27k views

Get WordPress Post ID from Post title

I have an issue with a custom WordPress theme I'm developing. It's a bit convoluted, but essentially, what I need to do is get a Post Id by it's Post Title. In pseudo-code it would ideally be ...
11
votes
10answers
18k views

Wordpress session management

I'm putting up a site using Wordpress and I'd like to piggyback on its sessions. But I'm not finding any plugins, or even documentation. Any suggestions or references before I start hacking it? Note: ...
24
votes
16answers
4k views

Wordpress.. Is it a CMS? [closed]

I recently was contacted by a client who simply wanted to increase their organic rankings in Google. My approach was to do the following: A) Take them off of their overpriced host and move them to a ...
20
votes
6answers
4k views

jQuery Ajax returning 404 Error, but correct Response

I'm posting some data to a PHP script via jQuery AJAX, and everything executes correctly, but it returns a 404 error. In my Firebug console the response from the PHP script is correct. I don't ...

1 2 3 4 5 82
15 30 50 per page