wordpress

Filter query_posts by two custom fields?

I'm trying to filter my posts to only show the ones with that have a custom value for the field "Model" while sorting the posts by another custom field called "Price." Here's the function I'm using (not working): <?php global $query_string; query_posts( $query_string . "&meta_value=Model&orderby=meta_value&meta_key=Price&order=ASC");...

How do I set up a custom URL shortener for my posts?

I have several different sites running off WordPress, and the URLs tend to get fairly long and cumbersome (particularly when I try to publish them via Twitter). I recently purchased a very short domain name, and I'd like to use it as the root of a personal URL shortening service. So ... http://www.eamann.com/portfolio would become ht...

In WordPress how do you create a custom post type with the author's name in the slug?

I am building a new WordPress theme using register_post_type to create a custom post type called Listings. I would like each listing to have the following permalink structure: http://www.mysite.com/post-author/listing-title I'm not quite sure how to achieve this with the CPT controls listed in the Codex. Any help or links would be gre...

mod_rewriting fun with two .htaccess files...one for wordpress and one for CI in a subdirectory

I have a weird situation that's come up, so I'm hoping some one can help me out. I have a wordpress installation in the root directory and a codeigniter installation in a subdirectory (I know, I know...). Both are working fine on their own. The codeigniter installation has its own .htaccess file for rewriting to index.php. But what if ...

Sizing images to thumbnail size in WordPress

Hi. I'm building my first WordPress Theme and I'm stuck on something. I have a function in my functions.php called get_first_photo() which grabs the first image uploaded on each post and puts it on the blog archive page. It's working fine, but it loads the full-sized image and resizes it using CSS. I would rather it load the image at i...

Where do I edit output code to mark-up an image url?

Hello, I have a wordpress site with these two image gallery plugins: http://wordpress.org/extend/plugins/nextgen-gallery/ http://wordpress.org/extend/plugins/nextgen-smooth-gallery/ I want to add some extra markup(for a resizer php) to the image urls, but can't find where in the plugin code to do it. What should I be looking for? Yo...

Wordpress and Drupal on the same domain cause htaccess conflicts?

Have a client who wants to move their Wordpress.com blog over to their main domain that has a Drupal installation. If I add Wordpress to a "/blog/" directory on the server, will there be any conflicts with the htaccess ie Mod Rewrites etc? Thanks. ...

starting blog, please recomment me a free blog

I want to start blogging on computer programming and technologies. Please recommend me a free blog to use considering: 1. most search engine friendly 2. free 3. allows ads/ google ads thanks ...

Nivo slider - jquery - Not sliding evenly

Hi all, I was wondering if someone could shed some light on why my Nivo-Slider is so laggy?? It skips from 2nd to 3rd image quicker than normal, then takes a while to get back to the first image. There are only 3 images in this slider. www.some-things.net is the address, and the slider is on the homepage. It's particularly bad in ...

Use a Taxonomy ID as permalink structure in Wordpress

Hi there! It is common to use %post_id% and %postname% in our permalink structure. My question is: Is there a way to use a structure based on the ID of Tags, Taxonomies and Categories?? Example: mysite.com/my-taxonomy/ -> mysite/2/ Thanks ...

Wordpress - Same images attached to multiple posts

Is this possible? I have my images which are attached to different posts. I translated my site in 2 languages and just want to attach the same image to three different posts (english and 2 other languages). ...

Upload or delete WP plugins without a FTP account?

Is there a way to upload or delete plugins in WordPress without having a ftp account or credentials? I would like to manage them through the WordPress interface. ...

Wordpress implementation for multiple site in single Linux Server on DMZ

Hi All, I'm planning to install Wordpress on Linux system for my company website, does this scenario works with Wordpress ? Single Wordpress install but can have multiple domain eg: www.team1.com www.team1.com/product2 www.team1.com/product3 www.team2.com www.team2.com/product2 . . .etc do i need to perform multiple install of Wordpr...

Remove the filename in a youtube video in a wordpress blog?

Hi, i have a blog http://activateintuition.com/blog/ I need to remove the file name which comes after the video is played? Thanks Prady ...

Template Dropdown not showing up within Wordpress administrator page

Hello guys, I am working on a Wordpress-based project, and I just added a new template to the installation by uploading a template file. I was creating a new page that will use my new template, when suddenly, the "Template" dropdown in the "Page Attributes" box is gone. I am using Wordpress 3.0.1. Update: I saw a site which told me ...

How can I secure my plugin so only paying users can use it?

I'm developing some (wordpress) plugins and I'm planning to have a license fee for whoever want's to use it. Therefor I need a way to make sure that this plugin is not uploaded to a server where anyone can download it and use it for free. So I was thinking of using an API key. Valid API key = user can use the plugin. Invalid = plugin d...

Wordpress Plugin: Strange Browser specific issue with NextGen Gallery

This is really strange. I use the Latest versions of "NextGen Gallery" and "Effects for NextGEN Gallery" plugins on WP 3.0.1. Without "Effects for NextGEN Gallery", Lightbox won't work on NGG. I enabled Lightbox in Effects for NGG, and it works... But strangely, it works fine only in Opera and IE browsers. When opened in Chrome, Safari o...

Need help to add custom rewrite rules to wordpress rewrite rules

I want to combine RewriteEngine on RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteRule ^tags/(.).html$ videos.php?search=$1 RewriteRule ^videos/(.)-(.*).html$ watch-video.php?id=$2 RewriteRule ^video-tags.html$ video-tags.php RewriteRule ^most-watched-videos-([0-9]+).html$ most_watched.php?page=$1 RewriteRul...

Wordpress create a new post status?

In Wordpress you get the default post statuses: Published, Draft and Pending Review. Is it possible to add some more post types via registering them via the function.php file of the active theme? Also is it possible to edit the lables of the Publish Meta Box? What I'm submitting really isnt Publishing... Also like to add I only want th...

WP help need help with loops and custom fields

Basically in the left block (the one w/ red boxes) is a product gallery block where it should spit thumbnails of products (the red boxes). the thumbnail is a "custom field" of a product page, the name of the custom field is "gal_thumb" and is link to it's page. At the right side (the one w/ blue box and some text) is a Services Block....