Ever need a fixed menu when scrolling down on the website. I have a bit of code that can work with you. Just quick thanks to Ruan Vermeulen*for helping me with the JavaScript.
First create a Javascript file and insert this code:
<em>You can give it a name like menu.js</em>...
Hi All
We are looking for a Wordpress Author on dunhin.co.za. Must know Wordpress and must write min 2 articles a day.
When we get your submission then we can discuss what we going to pay you.
You can apply on our contact form http://dunhin.co.za/contact-me
Thanks
Is there still place to sell Hosting?
The big hosting company's prices are great how do you compete against them. I tried and failed now I am using it to help friends and myself.
I see this kind of hosting more for developers.
Ever wonder hoe to make a child theme from a parent theme? This make theme updating easy. So no more need to worry to mesh up the theme files.
I made a child them from the theme BusyBee.
Step 1:
Create a folder in /wp-content/theme/name for folder
Tip: You can put your own function.php and...
What do you think of the BlackBerry Z10. It look like a solid phone.. Is one half of it build on Android? I know the Samsung S4 is super but I think BlackBerry Z10 is going to put them maybe back in business.
If you have a Wordpress installation on https then you want the http to redirect to https.
In your public_html (not in public_ssl) put this html file:
Create "name.html"
Insert this code and replace domain with website name.
<meta http-equiv="Refresh" content="0;URL=https://domain.com" />...
Hi
I saw that Jetpack is available for all users. That is a no for me so I put a stop to this.
Create a directory "wp-content/mu-plugins". More about "mu-plugins"
Creat a PHP file with any name. But I created no-jetpack.php.
Paste in this code:
add_action( 'jetpack_admin_menu'...
Paste the code in your themes function.php
add_action('init', 'remove_admin_bar');
function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
Or remove it completely for all users
show_admin_bar(false);
Hi, hope this little code help someone. I did not test it on all Wordpress Versions but it works on the latest one.
function goodbye_howdy ( $wp_admin_bar ) {
$avatar = get_avatar( get_current_user_id(), 16 );
if ( ! $wp_admin_bar->get_node( 'my-account' ) )
return...
i build my first Samba server on a Ubuntu machine. Works amazing on my HP Micro Server. My only problem was mounting the harddrives without formatting it.
First make a directory: mkdir /media (make sure you are in the right tree).
Mount: sudo mount /media
Used this help file and helped me...
Show one fields value in another input text field.
HTML:
<input type="text" id="name" >
<input type="text" id="name2" >
Javascript:
<script src="http://code.jquery.com/jquery-1.5.js" type="text/javascript">
<script type="text/javascript">
$(function(){
$("#name").change(function(){...
Want to share some code that I used in my new Wordpress plugin. Maybe you can get something out of it.
It is about creating a page-template.php and insert the necessary code in that page to make it one of the templates to use on a page.
Create page:
<?php
$FileName = "example.php" ...
Do you also struggle with Hosting providers to setup Wildcard domains?
Wildcard domains is for your Wordpress Multisite sub domains to show like this: name.dunhin.co.za.
I do not like sub directories(dunhin.co.za/name).
I found a solution for thethe-image-slider image slider to work with WPML translation.
Edit thethe-image-slider.php
replace $nPostID = get_the_ID();
with:
//$nPostID = get_the_ID();
if(get_the_title()==$name){
$nPostID = get_the_ID();
}
I think the same solution is somewhere on their...