Check out a great book by Jono Bacon, a Community Manager at Ubuntu, called The Art Of Community. Jono is regular co-host on FLOSS Weekly and is also well known from LugRadio.
Hi Guys I recently purchased the Cell C HSDPA USB dongle with 24Gb of data for R1499. Here is how you get it to work on Ubuntu 10.04 LTS Plug in your USB dongle. Install "usb_modeswitch" (sudo apt-get install usb_modeswitch). Run "sudo updatedb" Locate "usb_modeswitch.conf" the file should be in /etc/usb_modeswitch.conf and add code below to the end of the file ######################################################## # Huawei E1752 # # Contributor: DefaultVendor= 0x12d1 DefaultProduct= 0x1446 TargetVendor= 0x12d1 TargetProduct= 0x1001 MessageEndpoint= 0x01 MessageContent= "55534243000000000000000000000011060000000000000000000000000000" ######################################################## Run "sudo usb_modeswitch" This should say found one(1) device in the terminal Then go System->Preferences->Network Connections and click on the "Mobile Broadband" tab. Click "Add". Check under "Create a connection fo...
To enqueue a css stylesheet or external javascript file on just one page use the following function with a conditional if statement in your child theme functions.php script. function register_online_form_style() { if ( is_page( '104' ) ) { wp_enqueue_style( 'contactForm', get_stylesheet_directory_uri() . '/site/css/form.min.css' ); } } add_action( 'wp_enqueue_scripts', 'register_online_form_style' ); 104 is the page or post's ID contactForm is the name of the script Pretty starightforward
If you're trying to add a Wordpress Shortcode to your custom theme page template you will find that outputting the shortcode in HTML won't work like this: <p>[shortcode here]</p> You will need to use the Wordpress function do_shortcode. This will work <?php echo do_shortcode('[shortcode_here]'); ?>
Comments
Post a Comment