wordpress

Padding has blue border in IE and Firefox but not in Chrome.

Okay, just to make it quick. 1) Go to www.simplefire.com.au - with Firefox / IE - with Chrome. 2) The image on the right seems to have blue border on Firefox / IE, but Chrome displays the page perfectly. Anyone knows what the problem might be? I'm using wordpress and if it helps my style.css could be found here: http://sho...

wordpress query

How do I query posts from a category using more than 1 custom key/value pair? ...

How do I do this simple 301 redirect from index.htm to root?

I've read various reference sites on redirection, and to be honest I understand very little. I currently have standard WordPress mod_rewrite redirect rules in my .htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /in...

What kind of Plugin is the New Playstation Share Blog using | Wordpress

Love this feature http://share.blog.us.playstation.com/ Users are able to post requested features and then vote them up or down. Is this a plug-in that can be downloaded? Thanks, Tim ...

How to hide Wordpress upgrade message in Admin Panel ?

How do we hide upgrade now message in admin panel for wordpress 2.9.2 ? is there's any ? i use add_action( 'init', create_function( '$a', "remove_action( 'init', 'wp_version_check' );" ), 2 ); add_filter( 'pre_option_update_core', create_function( '$a', "return null;" ) ); but it seem it's not working. ...

Is wordpress a good platform for webapp development?

I am planning a webapp to control bank paying orders. In a quick review, the user goes online and creates a payment order. This order goes to other people that pays it and register the payment on the system. The system keeps track of all the payments, keeping the account balance up-to-date. The system needs a login system, bank integrat...

Wordpress: How do I convert a generated URL (permalink) to a pretty URL?

In a plugin, I am generating a paginated link to a category, i.e. http://localhost/?cat=17&amp;paged=5. The category is known by slug and id. Is there a way to have this URL converted to the user defined "nice permalink" format, i.e. http://localhost/category/foo/page/5? (Assuming we're running Wordpress 2.8/2.9+) Edit: Since there ar...

Thumbnailing and then Saving as a Blob with PHP in Wordpress

The below code seems like it should work; however, the blob in the database only contains 0 after the function is run. Does the below code look accurate? If not how can I fix it? $tmpName = $_FILES['picture']['tmp_name']; $fp = fopen($tmpName, 'r'); $binary = fread($fp, filesize($tmpName)); fclose($fp); $originalImage = imagecre...

How do I show the number of images attached to a post on the image attachment page?

I use the image attachment page to show images attached to a post one by one, in a slideshow sort of affect. I'd like to be able to display the total number of images attached to the parent post and the number of the particular image that's being shown on any given attachment page so you see the picture and the words "Image 3 of 15" for...

Wordpress: How should I keep an xml-file updated with the images attached to a page?

If I want to keep an xml file updated with all the images that a user has attched to a page, I shouldn't write create and generate an xml-file everytime someone visits that page (because it would cause too much overhead) - should I create and fill the file when the user attaches new content to the page in the admin console instead? ...

Manage widgets from page edit screen

Hi there. I'm looking to find a way to integrate the widget control area into the page edit screen. For the site I'm making it would be perfect with the same drag and drop functionality. I want a list of the available widgets that I can drag and drop into the page widget area. The widgets will then only be shown on that particular page...

What is the proper way to wrap this php loop around the javascript

Hi, I am mashing together the Google Maps 2 script with a Wordpress loop so there is a CMS platform for the map data. I have this working fine : var point = new GLatLng(48.5139,-123.150531); var marker = createMarker(point,"Lime Kiln State Park", '<?php $post_id = 182; $my_post = get_post($post_id); $mapTitle = $my_post->post_title; ...

Link to first image attachment in a wordpress post

How would I create a text link to the first image attachment page in a wordpress post without trying to figure out what the slug will be after it is published. I realize that I can link the images to their attachment page but I wan't to be able to create a text link. Is this possible? ...

How can i display avatar at wordpress single post page ?

I tried to get avatar at single (post) page by these codes <?php echo get_avatar( $id_or_email, $size = '96' ); ?> <?php echo get_avatar( $comment, 32 ); ?> <?php echo get_avatar( $id_or_email, $size, $default, $alt ); ?> <?php echo get_avatar( get_the_author_email(), '60' ); ?> But no success, nothing get working...

WordPress custom permalink /%postname%.html only applies to posts, not pages?

When I change my permalinks to custom: /%postname%.html My posts are all redrawn correctly to post-title.html, however, my pages do not get the .html extension (they just appear as if I had used /%postname%/. Anyone know why and what I can do as a workaround? ...

need to rate with stars different things in one Wordpress post/page

Hi, I´m using Wordpress to develop a blog, and I need to rate things using a 5 star rate. I saw many different plugins that rate pages and posts. But, besides posts and pages, what I need is to rate several things in the same post/page. I have a list of links, where users cane rate each one of them. Any ideas? Thanks! ...

Wordpress: How to be redirected to the page when inserting it's page ID into numeric form input with click button SEND?

I would like to know if there's exists some simple code to get to the page i know its ID , I would like to create small input (no matter where in templates)from where the people can easily get to the page if they know it's page ID (4numeric ID is better to remember - permalink name you can mistake . I have the girls portfolio in wordpres...

Validation problem with a 'JotForm' template

A client sent me a form template they had created using jotform.com to implement on their wordpress site. The form template is supposed to hide part of the form until the user clicks the 'next' button. At which point a script is supposed to validate all of the input fields the user has presumably filled out and then display the rest of t...

Error while validating HTML "document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag"

Hey! So I'm trying to code something on wordpress for the first time but the validator doesn't seem to like me. Look at the error I got while validating: Line 87, Column 33: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag I've searched everywhere, I'm not aware of any missing or mispla...

Wordpress > microsites share sitemenu from main site? All separate WP installs on same server

I have a main WordPress site and 5 "micro" sites which share the same look and feel, are hosted on the same server and are each a separate WordPress installation with a subdomain address. Example: main site is mainsite.com Each microsite is microsite1.mainsite.com etc... So I have 6 total WP sites. I'm sure in hindsight, I ...