wordpress

What's the difference between "browser posting" and "program posting"?

I've asked one question about this a month ago, it's here: http://stackoverflow.com/questions/3362399/post-method-to-communicate-directly-with-a-server. And I still didn't get the reason why sometimes I get 404 error and sometimes everything works fine, I mean I've tried those codes with several different wordpress blogs. Using firefox...

wordpress category conditional on attachment page

How do I check the category on the image.php theme file in Wordpress? I tried in_category('categoryname') but it did not work. I want to use it outside of the loop. (Btw, the function also did not work inside of the loop...) I need this to show banners according to the categories of the post. I guess the problem is that the attachment i...

How to change text color in Disqus comment textarea?

Hello, I'm using Disqus external comment system with Wordpress (as a WP plugin) and I'm trying to customize it with my custom CSS. Everything works great, but I have problems with replacing the default text color in the form textarea. I tried it with: #dsq-content .dsq-textarea .dsq-textarea-wrapper, #dsq-content .dsq-input-wrapper {...

wordpress title link out

Here is what i do <?php $id=97; $page_data = get_page($id); echo $page_data->post_content; ?> It's fine, all the data in my page got into the div i want.. fine... that get me the page tite : <?php $my_id = 7; $post_id_7 = get_post($my_id); $title = $post_id_7->post_title; ?> But that text is a link that link to the singlepost...

Wordpress installed on subdomain?

I want to add a blogging area to my portfolio site here: www.ryanpays.com I have set up a subdomain of: www.blog.ryanpays.com And mapped this to www.ryanpays.com/wordpress/ When i hit the subdomain i get a 404 error and am not sure why. I installed Wordpress with a CGI script bundled with my hosting which seemed to work as you can ...

Uploadify upload doesn't start - forbidden location?

hey guys, i'm currently trying to implement "UPLOADIFY" to a wordpress template page. I implemented it well, because almost everything is working now, except the Upload doesn't start, but the reason therefore is propably not wordpress. It's propably the folder I set where i want to upload the files to. The folder lies in my root of the ...

How to create new wordpress widgets for my themes

How to create new wordpress widgets for my themes ? ...

how do i make it so someone will fill out a form on my site, and then get redirected with to another form with the values already filled?

I am using a wp blog and I want leads to come in to go to be via email and then get refered to another website with the values already filled in? I want to use php, but i will use anything that works. does anyone know how to do this? ...

inadvertent sql queries?

Wordpress bug. My blog post contains the sentence fragment "...semantics, and selection are embodied processes that emerge naturally from the world itself". Wordpress responds to my attempt to save the draft with a 'post not found' error. If I delete this fragment, the error goes away. I'm thinking that Wordpress is interpreting this as...

Wordpress user registration

Hi, how do I restrict user to first create an account on my blog and then post/comment ? ...

Redirecting static to dynamic URL's

Hi Everyone, I know this has been asked a few times but I can't seem to figure out the correct syntax for our situation. I am trying to permanently redirect links such as example.com/work.aspx to example.com/work in the .htaccess file. Basically converting an ASP.NET site to Wordpress. Any help is much appreciated. Thanks Giles ...

skip the latest wordpress posts in wp_get_archives()

Hi! In my sidebar, I show a list of the latest wordpress posts like this: wp_get_archives('type=postbypost&limit=10'); This will also show links to the posts that are currently visible on the front page of my blog. It makes no sense to include those posts in the list if they are visible on the home page. In the codex, I could not find...

How to By pass WP super cache using python?

Hi guys. I'm trying to collecting data from a frequently updating blog, so I simply use a while loop which includes urllib2.urlopen("http:\example.com") to refresh the page every 5 minutes to collect the data I wanted. But I notice that I'm not getting the most recent content by doing this, it's different from what I see via browser su...

How can I display a single post attachment thumbnail image for each post on the categories archive page?

I'm trying to add thumbnail images (from the first post attachment found for each post) to my categories page (archive.php). I've ensured that my posts all have images attached (confirmed via the Media Manager), however, I can't get the images to appear. I only want to list a single thumbnail image next to each post listing on the cat...

Are there any Worpdress plugins to change the theme editor?

I've been browsing around a bit, but haven't been able to find any plugins for changing the default theme editor. Currently it's a text area with no syntax highlighting. I'd like something that at least gives syntax highlighting. There are all sorts of plugins for the post editor, but I've yet to find one for the theme editor. If all...

How to include all custom post types instead of only Posts

$this->add_meta_box( 'select_post_template', __( 'Post Template', 'custom-post-templates' ), 'select_post_template', 'post', 'side', 'default' ); To make a plugin work with custom post types, I've been told to change "post" to the name of the custom post type. Does anyone know if I can make it work with all custom post types (including...

Problem with PHP sessions in WordPress with non-default permalinks

Hi, I'm experiencing a weird problem that occurs when I change the default permalinks in WordPress. When I place this code in my functions.php file in my theme (or even in the root index.php file in WordPress) and navigate between and updating a few pages (for example the /about page), my counter often runs twice. This problem is repr...

How Does Wordpress Read Comment Title?

I'm working on my own little back end framework for future clients and I'm making a folder named "Forms" to store all of my forms for CMS interaction. Inside the forms folder I'd like to store .php files similar to wordpress style plugins that I can title in the comments code like wp does... ie /* Plugin Name: Name Of The Plugin Descri...

Wordpress 3.0 Menu - faster and easier arranging.

I'm working on a site that I built using wordpress 3.0. The site will be taken over completely by the client once its been completed, so it uses the new menu tool to order/arrange the navigation. I'm now adding all the pages to the navigation currently I have over 180 pages on the site and I'm finding it very time consuming working wit...

Migrating Wordpress Permalinks from postname to post_id/postname.

My blog's been up for a year or so, and 90% of our traffic comes from Google, so I want to make sure that I'm handling this permalink change properly. I recently read on Wordpress' codex that including the numerical %post_id% at the beginning of your permalinks can greatly reduce the stress on your database, when a post or page is being ...