background preloader

Wp

Facebook Twitter

Disable Admin Bar and Hide Preferences | | Developer's MindDeveloper's Mind. Before you consider removing the admin bar, you should read this. WordPress 3.1 was released earlier today and one of the key features is the admin bar, which allows you to get to your most-used dashboard pages with a single click. However, the admin bar is not for everyone and you can easily hide it by visiting your profile page. You can also disable the admin bar for all users on your site by adding the following code to a plugin or the functions file of your theme: This will disable the admin bar for all users on your site but they will still see the admin bar preferences in their profile.

You can hide the admin bar preferences using: Note: If you are using this code to only hide the preferences without disabling the admin bar, your users can still change the values by manually editing the hidden variables before the page is submitted. Experiments: Admin Tour with WordPress Pointers [Video] We wrote about feature pointers in WordPress earlier this week and one of the usage scenarios that came into my mind (except introducing new core features after WordPress upgrades) is tours, which is why we created this yet another experiment.

First we thought of theme options panel tours (for those complex premium themes), then we thought of plugin tours upon plugin activation and finally we thought of a more general WordPress tour. WordPress has evolved a lot throughout the years and saying that WordPress is incredibly easy to use is not fair. Things like custom post types, custom taxonomies, permalinks structures, child themes, shortcodes, page templates, custom fields and other things could be quite confusing, especially to newcomers. We thought it would be nice to create an admin tour, so we did! We created a simple plugin that uses the new Admin Pointers feature, currently in the roadmap for WordPress 3.3. @kovshenin that looks unreal, wow! Awesome! Register_post_status | A HitchHackers guide through WordPress. Wordpress Permalinks on IIS6 | ben lowery. Not even permalinks Recently, I had to set up WordPress on an IIS6 machine.

Yes, WordPress does work on IIS6, believe it not. The only really tricky bit is getting fancy permalinks to work, so that urls looks like www.foo.com/2011/06/my-awesome-post instead of www.foo.com/index.php? P=6. I used IIRF to get mod_rewrite like functionality, as the supported IIS Rewrite isn’t available until IIS7.

It’ll take the same .htaccess configuration as mod_rewrite on Apache, with one very important difference; you have to add a U to the [L] in the final redirect. This passes along a HTTP_X_REWRITE_URL header to PHP, which WordPress uses internally to decide what to show. RewriteEngine On RewriteBase / #whatever your virtual root is RewriteCond %{REQUEST_FILENAME} ! (image found on tattoodesigns-design.com) Like this: Like Loading... Changing the wp_mail from address in WordPress without a plugin | ButlerBlog.

One common question I often hear regarding WordPress email configuration is, “How do I change the email address from wordpress@mydomain.com?” I suspect that most people are unaware that WordPress has its own function for sending email and that it has a default address that it sends from. If they are aware, most users opt for changing this with a plugin. WordPress has no ability to manage email settings via its admin panel, but that is not to say that you cannot manage the email configuration at all. It actually is pretty flexible. You can even change your WordPress email configuration to send via an SMTP server; a method much more reliable than the generic email script.

But I’m getting ahead of myself. If your sole aim is to change the email “from” address to something that is not the default value, this is far to simple for using a plugin (unless you have complicated needs and want more control over email configuration in the WordPress admin panel). Don’t get me wrong. Learn WordPress.com. Call a Widget with a Shortcode. Support » Detach & Re-Attach Media Attachment Images from Posts. Is there a way to 1. detach and 2. reattach attachment-images from one post to another post?

There are two very common ways of uploading an image to WordPress to place it into the Media Gallery. Via "add New" under the Media Tab in the admin.Inserting an image when writing a post and uploading the image from the overlay Media window/layer. On upload alone, the first method does NOT attach the uploaded image to any particular post, but one manually attaches it later. The second method attaches the uploaded image to the post it was uploaded through. When I use the first method, there is a way to sort the listing for "unattached images" which you can select and then attach to a particular post.

In the meantime, does anyone know of a plugin, php script or coding approach to attach, detach and reattach/re-assign images within the Media gallery that WordPress already has built into it? Embeds. Languages: English • Français • Hrvatski • Italiano • 日本語 • Nederlands • Português do Brasil • Русский • 中文(简体) • (Add your language) It's super easy to embed videos, images, tweets, audio, and other content into your WordPress site. Usage To embed a video or another object into a post or page, place its URL into the content area. Make sure the URL is on its own line and not hyperlinked (clickable when viewing the post). For example: Check out this cool video: That was a cool video. WordPress will automatically turn the URL into a YouTube embed and provide a live preview in the visual editor.

Another option is to wrap the URL in the [embed] Shortcode. [embed width="123" height="456"] If WordPress fails to embed the URL, the post will contain a hyperlink to the URL. oEmbed oEmbed was designed to avoid the need to copy and paste HTML from the site hosting the media you wish to embed. Does This Work With Any URL? Notes Changelog.