wordpress

Wordpress - failed to write to disk MOV file

Hi, My wordpress blog can upload image files fine. However, when trying to upload an MOV file, after 100%, it says "failed to write to disk". What caused that and how can I fix that? Thanks, Tee ...

How to redirect wordpress post links that are using post_id to new url struture of postname

Hey guys, I have a slight problem... we made a change to our url structure the other day and have broken links all over. What I did was change links from: http://blog.mydomain.com/articles/123 To: http://blog.mydomain.com/articles/this-is-a-smaple Is there anyway to direct any links linking to the pages ID number to the postname???...

Get single Wordpress gallery image with given title

I am having users of a Wordpress blog upload a single image to different post's galleries with the name "banner". Basically, every post will have an image named "banner" uploaded to its gallery and this image needs to be displayed on the post's page outside of the article content. So, how can I get the URL to display an image in a post...

WP Function to retrieve database connection

Is there a function or command that pulls the db connection info from the WP blog? I am writing a Plugin which would have to connect to the db to retrieve the info, wondering if there was one single command/function i could call which could connect. this would make the plugin portable and would work on any WP blog. is this possible? ...

Wordpress Demo Pages for Tutorials

I have a few tutorials that I would like to write up. Many web-based tutorials have a demo page and a zip download of the demo. I can easily upload a zip file to my post, but the for the demo i'm not quite sure. The demo page would need to be different from the theme I'm currently using. One example of this style would be http://css-tric...

What this Url ending means .....&123 ?

Hey I am having some issues while using Nggalley plugin for wordpress the plugin makes use of a JW player and JW player needs an XML - so it requests link like this http://nextgen-gallery.com/index.php?callback=imagerotator&gid=1&149 The lay &xxx really creaps me out couse I am using it for joomla and joomla doesn't like this I...

setting write permissions on theme subdirectory?

I've a theme which supports multiple templates, each with a header background image whose color can be set by the site owner via a colorpicker widget in my theme's options panel. This has the effect of opening the background image, recoloring it and resaving it back to the server. I've had zero issues with this routine until recently wh...

Wordpress display featured posts outside of loop

Im new to WP and Im not real sure how to work with the loop. I am trying to display featured posts in the sidebar with this code: <?php query_posts('cat=5'); $url = get_permalink(); while(have_posts()){ the_post(); $image_tag = wp_get_post_image('return_html=true'); $resized_img = getphpthumburl($image_tag,'h=168&w=168&zc=1'); $title ...

Wordpress, WP_Query with custom taxonomy and custom post type

This code gets 10 posts of all types that are linked to the term_name; global $wp_query; query_posts( array( "taxonomy_name" => "term_name", 'showposts' => 10 ) ); This code gets 10 posts of custom post type "message"; global $wp_query; query_posts( array( 'post_type' => 'message' 'showposts' => 10 ) ); This...

Can a WordPress blog pull content from Django pages?

Say you have a WordPress theme you like, but want to make use of a bunch of Django code that's already written. Is there a good and easy, and performant way, of sucking in HTML that is output from Django and displaying it inline in a WordPress posting, or page without using browser frames? Any good examples of this? ...

Getting plain HTML/CSS versions of Wordpress themes, no PHP?

where can I find elegant looking Wordpress (or not Wordpress, but similar style) themes in plain HTML/CSS format, without all the php? thanks. ...

WordPress > using wp_insert_category() to separate "category_nicename" from category slug or "cat_name"

I'd like to use wp_insert_category() to create a category that's displayed as "My Category" but has a category slug of "test-my-category". Can I do this with wp_insert_category? Anyone have an example? ...

Which CMS do I need? Needs to be easy to post a certain kind of post

Hi, I'm creating a site for a video store and it needs to be CMS. I'm doing this for free so I need to use a free CMS like Wordpress, Drupal or Joomla. Do I need a new CMS, a plugin or some PHP of my own? What I need: User accounts Categories Custom post Here's the site as it stands with WP: http://sundancevideo.ca. Right now an expe...

WordPress > Custom Category Listing by excluding Category Slug matches

I have a group of categories where the slug of each has a prefix "mycat-" and I would like to insert code into my sidebar.php file to create a custom sidebar widget that lists all categories except those preceeded by "mycat-". Any help much appreciated. Example Categories (by slug)... mycat-hidden, mycat-favorites, mycat-nofollow, myc...

Looking for a RESTful or SOAP pipeline between WordPress and InterWoven TeamSite

I've been Googling my brains out trying see if there's a simple way to bridge content to and from WordPress to and from TeamSite. I'm coming at this from the perspective of a WordPress developer. I see in the book "The Definitive Guide to Interwoven TeamSite" (http://bit.ly/d3z4wI) mention of objects for the Interwoven LiveSite product:...

Does anyone have experience simultaneously running a Drupal and Wordpress site and redirecting some links from Drupal to Wordpress

This is a really weird question and I apologize: I've been asked if it's possible not to import our blog from Wordpress to Drupal but just keep it in Wordpress as an archive and re-direct our users say from hostname/blog/... to hostname/wordpress/... when a URL matches the Wordpress URL pattern. I've never heard of anyone trying this a...

Wordpress XML-RPC call from Objective C: wp.newComment

I'm using Eric Czarny's Cocoa XML-RPC framework to make a call to the Wordpress API's. I've downloaded the sample app from Wordpress which gives some good examples. Unfortunately the good examples are for every call EXCEPT wp.newComment. I'm trying to post a comment using the code below and I keep getting an error with a localized des...

Wordpress thumbnail creation question

I'm trying to use Wordpress' built-in thumbnailing and image re-sizing in my Wordpress 2.9.2 installation. I'm trying to get various sizes (post listing/results 160x160 & "single.php" 618x150) and for some reason the single.php one works, but only half way. Not sure if I'm doing something wrong here. I have it working…sorta. I’m totally...

Overwriting a core Wordpress function - should work but it doesn't

I'm trying to overwrite a core Wordpress function (found in media.php) using add_filter() in my theme's functions.php file. This should work accord to the blogs that I've come across, but for some reason I see no change whatsoever. #override what WP is trying to do to scaling images by default function my_image_hwstring($width, $height)...

What the difference between zend framework and Wordpress as framework ?

i only know wordpress and start to seek another alternative framework, zend. i heard hearsay that zend's better from others framework. if you're "a serous coder", or try to act like one, you need to use it on building your web app. some said zend is better. But it's subjective. It's fast ans secure. But nobody tell me the reason or at ...