wordpress

How to use wordpress to make a commerical/non blog website

Hi, I have managed to setup a blog on localhost quickly using wordpress. But what is ivolved in setting up a commercial website that is not a blog? Also, should learning to use wordpress be more diffcult than learning Asp.Net or php? I can use these languages to create a website more quickly than using wordpress it seems. I'm guessing ...

How to add a new header menu in wordpress?

How to add a new header menu in wordpress? ...

swfupload wordpress

Hi. I am using the SWFUpload from http://www.anedix.com/data/file/news/realname/swfupload-php-example-v1_4.zip and want to integrate this into my wordpress plugin. In the example file there are JS files that need to be referenced. I have enqueued these files in my plugin and they seems to be picked up in the header. function add_...

New feed items not showing in Google Reader

There is a blog, powered by Wordpress, which has valid RSS feed (opens up fine in Safari), but doesn't show new posts in Google Reader. In fact, the latest article from Google Reader is from Jul 21, 2010, while the latest article on the blog dates to Aug 19, 2010. What should I do about the RSS feed (escape characters? modify XML or wha...

How can I code Wordpress page in Drop Down List?

How can I do code the wordpress page into dropdown list something like this Page 1 Page 2 Page 3 and then when I click submit it goes to the selected page.. .thank you so much guys in advance.. . -idontknowhow ...

Wordpress post image customization

Hello, I just started creating my first WP theme after doing the HTML/CSS. All good so far! Almost done in fact. One problem though: I want each post image to have a surround around them. I could include it in the image, but I'd rather that when I post an image, it sits inside the surround. I thought of offsetting a BG image on each po...

Wordpress SQL query: get random child page

I want my site to have a random "welcome" page. I've found a plugin that redirects to a random page. I want to specify a parent page that random child pages are selected from. This is the query that the plug-in uses: $query = "SELECT ID FROM $wpdb->posts WHERE post_type = 'page' AND post_password = '' AND post_status = 'publish' ORDE...

Passing variables between category.php to single.php?

What I can't figure out is a method to have the current category id passed to the header.php when a post is clicked. So let's say I'm on category 2 and I click on a post that belongs to multiple categories. I want the single.php to maintain the appearance of being on category 2. In order to do this I would need a variable to tell the h...

Adding Wordpress blog to an existing website

I have a website which is built on ASP.NET MVC and hosted on Windows server. Now I wanted to add a blog specifically wordpress blog. I wanted to add this blog at this particular address http://thedomain.com/blog (not like subdomain http://blog.thedomain.com) I have heard from someone it is good for search engines to host under http://th...

Wordpress question – Why am I getting this username/passwd prompt?

Hi all, Having a bit of config trouble in Wordpress and wonder if anyone can help. This has been bugging me for a while, but it could be a simple issue that I've sorely overlooked. I am trying to work locally on a Wordpress site (through MAMP) that was built by a colleague, but after downloading the files, importing the database, and t...

Custom CSS per page in Wordpress

Good Morning All, I have created a different background and a few other images for certain pages within our site. Currently the below code is working well with the "kids" page on our site. <body<?php if ( is_page(array('kids'))) { echo ' class="kids" '; } ?>> I am trying to figure out how to go about adding that same CSS to other pag...

Custom field Search From - Wordpress

Hi there, does any one know how to create a search form with custom fields in combobox ? I have searched and tried to do this for weeks... and nothing... i have done so much thing with no results... last code i´v done ( I am not a expert ) ( cicle to get all the costum fields names ) <?php global $post; ...

How to get number of users and blogs from Wordpress MU

I am currently maintaining some Wordpress MU installations ( v2.9.x ) I want to create a report ( outside of wordpress ) to count the number of users that I have, and the number of blogs that I have. Each blog gets it's own tables. I have 4 questions: First question, do you know of a plugin that does this already? I couldn't find o...

SVN for the custom parts of a complex Wordpress/bbPress installation: what do you think of this approach?

I have a fairly complex WordPress + bbPress installation and I would like to handle version control for all the custom code in subversion. What follows is the approach I have settled on and I would appreciate input/critique. Is there a better way to do this? Although my situation involves WordPress I am describing things in general term...

WordPress list categories for each author function + call to a member function on a non-object error

Hi, I'm writing a custom wordpress list authors function and am trying to add a function to list the categories that the author has posted in (this is not native to wordpress)... I found the following code in a WordPress forum (http://wordpress.org/support/topic/how-do-ilist-categories-an-author-has-wrote-in-on-authorphp)that supposedly...

Moving the Wordpress Publish Module

On the Wordpress dashborad page for writing a new/editing an existing post, is it possible to have the 'Publish' module appear at the bottom right (be the last module on the right) as a default, without having to drag and drop it there? I'm okay with changing the code in the core files, I just need to know how to do it ? ...

wordpress java xml rpc library and/or client

Can anyone recommend an xml rpc library or client for wordpress using java? I've run into migration hell moving a joomla install to wordpress. Main reason for wanting to use rpc now is because i will be using it as my primary way of posting to the blog so i'm putting a simple client together and it needs to be configurable enough to all...

Links with WWW in Wordpress redirect to home page

I've recently updated a website I work on to Wordpress 3.0. Something strange has started happening, where now the www. has dissapeared from the URLs, and if you add the www. to the URL (a good portion of the existing hardcoded links have it) then it redirects you to the home page URL. Any ideas what could be causing this? My .htaccess...

Functions php, make drop down list work.

In functions php, this works like a charm: <textarea name="menu1anchor" id="menu1anchor" cols="40" rows="1"><?php echo get_option('menu1anchor'); ?></textarea> How can i make this drop down list work? I want to be able to input my values and select a desired one later on. Right now, it does not matter which value I select, after i pr...

Header issue, wordpress

Tried to make a change to the address in the header.php, and for some reason it changed only in the index file and not in any of the other pages. Can anyone tell me why this is? In the index page and both other page template options the header is called the same... <?php ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> ...