wordpress

Securing Wordpress on Apache

Hello, I've just set up a Wordpress blog on Slicehost using Ubuntu Jaunty and Apache. I would like to have a clear overview how to fully secure it. I've read plenty articles on the net but none answers my questions: do I need to create a special user/user group for running wordpress? if yes how I configure Apache, sftp and wordpre...

How would I set a checkbox to activate a link in a wordpress blog?

I want to be able to let people download stuff from the blog, like code for people to use. But I want to make sure people read the "License/Copyright" stuff before hand. It would say something like, "Check to agree to terms and conditions" and when they click it the download link is activated. Bonus: records their IP address from wher...

MetaWeblog or AtomPub: Publishing to CMSs

I've got a service that interacts with plugins for different CMSs (Wordpress, Drupal, Blogger, Joomla, etc) I need my service to be able to publish a post to these various CMSs. I could either create a URL endpoint in each of the plugins and have my service call that, then have the plugins create the post using internal CMS APIs...or......

Wordpress loginform

Hello, I have created a loginform that is displayed on the front page. Everything works fine except one thing, if you log in with bad information you get redirected to wp-login.php and the error message pans out there. What i want is so the error message displays at the form on my front page. Is there way of doing this? ...

Best tutorial for learning Wordpress plugin development?

I'm new to wordpress. Can any one suggest me a best tutorial for learning wordpress plugin development and some simple examples? I've done some searches in google and got some informations. ...

Wordpress 3 insert image to Custom Post Type item

I have a Custom Post Type and I am going to customize it to show a list of some products with images. I have all text fields working fine but I need also an image to be attached to each item. How can I do this? ...

Click on a marker to redirect user to a blog post

I'm using the following Wordpress and plugins combo. Wordpress 2.9.2 Geo Mashup 1.3.3 Geo Mashup Custom 1.0 What I want to achieve is when the user clicks on a marker it gets redirected to the blog post associated to it. I added the following code in my custom.js. GeoMashup.addAction('loadedMap', function( properties, marker ) { ...

Wordpress problem

Just recently, my client's blog http://robertnogueira.com/ encountered a bug. If you look at the site the footer has been displaced. It's been running fine until I tried to populate the posts for the 6th time with caff content. It got broke and I don't know how to fix it. I chose to ask help here because the folks here usually responds...

RewriteRule to RewriteRule?

I want to write a RewriteRule to another RewriteRule, but I can't seem to get things to work. I'm having troubel with the line RewriteRule ^(eTool/)?(RENDER/\d+/\d+/\d+/\d+\.html)$ render-product?url=$2 [L,NC] in this file: RewriteEngine On RewriteBase / RewriteRule ^(eTool/)?(RENDER/\d+/\d+/\d+/\d+\.html)$ render-product?url=$2 [L...

Help with Several Facebook like buttons on one page

I have created a page where there are various items on a page and people need to vote on them by clicking "recommend" (like how they have it on levi.store.com). The items are sorted based on the number of "recommends" they receive. The problem I am having is that there are 100 of these items, and when I try to display them it becomes way...

What is a good way to set up a dev, staging and production workflow with wordpress

Wordpress presents some challenges since it tends to keep too much in the database, making it hard to move from server to server. What are some other issues to look out for? What was your workflow like? ...

Cannot upload media via Wordpress uploader

This has to do with media uploading in Wordpress. Every time WP creates a folder for new uploads (it organizes uploads by year and month: yyyy/mm), it creates it with the "apache:apache' user and group, with full access to all (777 or drwxrwxrwx). However, after that, WP cannot create a folder within that folder (e.g.: mkdir 2011 suc...

Jquery and Google Maps in Wordpress not showing up

Hi All, I'm working with a theme for wordpress and for some reason the map will not show up. I'm not sure what's happening. I'm also getting a 602 error when i'm double clicking on it in the backend. But doesn't seem to be erros here. Thanks so much in advance for any help ...

How can I get a list of the most recent tags in a wordpress database?

I am not familiar with the wordpress schema at all and I need to get back a list, or array of the most recent tags from any post in the wordpress database. I just need the data available on the home page so I can then manipulate it. All the functions seem to be designed to work on a per-post basis. (Wordpress really makes me feel sorr...

Heavy Wordpress MySQL query, please help me find it and optimise it

I have a wordpress website up and running that is reasonably popular but over the last couple of days my performance has degraded terribly. I have installed Jet Profiler and have been monitoring the MySQL database to see if I can find something wrong and this one query is consistently the worst offender. SELECT SQL_CALC_FOUND_ROWS wp_...

Displaying a single term of a custom taxonomy in Wordpress

How am I able to show a single term of a custom taxonomy in Wordpress? I have a custom taxonomy, which will always have only one term in it, and I want to display it in a custom loop on my home page. I have tried all possible ways, with one (blargh, can't remember which one) I managed to display the term but as a link, which I don't wan...

What would be the best way to remotely get the Wordpress version number of a website ?

I manage a large number of websites under Wordpress and I'd like to create a sort of control panel on which I would be able to see a list of all sites and the WP version they are running on. How would you do that? I should mention that the websites are hosted on different servers. ...

How to retrieve the ID of the page the user is currently viewing in Wordpress sites?

I am developing a Wordpress plugin in which I am displaying the Archive based on Categories. Categories are my pages in my site and each Page should display post in the Archive belongs to that Category only. So i need to dynamically get the Category ID of the page the user is currently viewing.How can I retrieve it? ...

Host my wordpress site locally using the server database

I have set up my wordpress site on my local machine and I would like it to talk to the live mysql database on the server. I accessed the wp-config.php file on my machine and changed the hostname to use the ip address instead of localhost, but it will not work. What do I need to do? ...

Wordpress sidebar classes

There any way i could add a class for the specific order of widget item? i.e. the class name would be widgetorder-1 (for the first appearing widget), widgetorder-2 (for the widget appearing in the 2nd order), etc. I looked into filters but wasn't sure how that worked. ...