Useful little checklist if you are having problems uploading sample data
Allow any file upload WordPress
26 AprSo today I built a profile management server which is basically wordpress running on the excellent turnkey appliance, to get the .mobileconfig profile payloads uploaded I needed to edit my wp-config php file.
To do this connect via webmin or ftp, browse to your config file and add the following line below π
Allow All File Types
There are two ways to override this. The easy way is adding the following line into your wp-config.php
define('ALLOW_UNFILTERED_UPLOADS', true);
Allow Specific File Types
The other way is to add custom WordPress hook in your themes functions.php file
add_filter('upload_mimes', 'custom_upload_mimes'); function custom_upload_mimes ( $existing_mimes=array() ) { // add your extension to the array $existing_mimes['deb'] = 'application/x-deb'; // add as many as you like // removing existing file types unset( $existing_mimes['exe'] ); // add as many as you like // and return the new full result return $existing_mimes; }
The second method is better because you can restrict only the file types you want, but if you have site where your publishers upload may types of document you can disable the restriction from wp-config.php
Link Page or Post to URL in WordPress
23 SepWordPress Plugin to Link Post and Page Titles To External URL
If you donβt want to play with the code to implement the functionality to link post titles to external url in WordPress, you can use this great plugin called Page Links To. This plugin adds a custom meta box to each of your WordPress posts and pages which lets you link it to any external URL.
Embed Google Maps into WordPress Site
27 FebMay sure you switch to text editing as opposed to visual, you can then copy and paste the embed code from Google π
Repair Database – WordPress
13 FebTo allow use of this page to automatically repair database problems, please add the following line to yourwp-config.php
file. Once this line is added to your config, reload this page.
define('WP_ALLOW_REPAIR', true);
Another way of linking a page in wordpress
12 FebPlugin that works on both wordpress and buddypress platforms
Page links to can be downloaded from here
Make Page a link in WordPress
24 DecA page tab can work as a link to another webpage. The way to do that is publish a blank page with a link to that webpage in its title box. Html code model:
<a href=”URL OF WEBPAGE HERE”>NAME HERE</a>
ldap for wordpress
3 Decif you ever get this message when trying to bind to ad
run from console;
apt-get install php5-ldap