Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Great Question – I’m looking to also have a back end calculation with scaled discounts as customers increase overall value – easily done in Excel, but not sure whether there’s a plug in that does that in WordPress.

    I was getting a blank page when I clicked on New Post. I deactivated “Ozh’ Admin Drop Down Menu” and that resolved it for me. I LOVE that plugin and have reported the issue to them directly as well.

    I’m not sure if this is the solution guys, but I was getting annoyed with having to insert images, and each time change them to full size, then having to change the link URL to none.

    I found the solution in another thread on here for the image size default, but for the link to be blank by default (for individual images), I just need to change some code in my wp-admin/includes/media.php file starting line 263 (in wordpress 2.6)

    'url'          => array(
    			'label'      => __('Link URL'),
    			'input'      => 'html',
    			'html'       => "
    				<input type='text' name='attachments[$post->ID][url]' value='" . __('') . "' /><br />
    				<button type='button' class='button url-$post->ID' value=''>" . __('None') . "</button>
    				<button type='button' class='button url-$post->ID' value='" . attribute_escape($file) . "'>" . __('File URL') . "</button>
    				<button type='button' class='button url-$post->ID' value='" . attribute_escape($link) . "'>" . __('Post URL') . "</button>
    				<script type='text/javascript'>
    				jQuery('button.url-$post->ID').bind('click', function(){jQuery(this).siblings('input').val(this.value);});
    				</script>\n",
    			'helps'      => __('Enter a link URL or click above for presets.'),

    If you don’t read code easily like me, all I did was remove a bit of text in the input type line to leave it looking like what I’ve posted above.

    Sweet. Editing the media.php worked a charm for me too. What about removing the automatic link? Suggestions there?

    Thread Starter Dave

    (@davebiesse)

    I have just figured out how to edit the style.css sheet to allow slightly wide margins… All set. Thanks asfodel!

    Thread Starter Dave

    (@davebiesse)

    Ah man, you totally nailed it! Is there a simple way to allow the 500 pix wide images to not be forced below like that? Making them all 495 is a bit of a hassle!

Viewing 6 replies - 1 through 6 (of 6 total)