Search results

  1. jdunhin

    Ever need a fixed menu when scrolling down on the website.

    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>...
  2. jdunhin

    Wordpress Author Position

    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
  3. jdunhin

    Reseller Hosting

    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.
  4. jdunhin

    Wordpress Theme: child theme from a parent theme

    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...
  5. jdunhin

    Add a style.css onto a php file

    Add a style.css onto a php file. <?php echo '<style type="text/css">'; include 'style.css'; echo '</style>'; ?>
  6. jdunhin

    BlackBerry Z10

    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.
  7. jdunhin

    Windows and Skype

    Do you agree with me that Skype was better off without Microsoft? It seems to get more bugs now with all the new integration's.
  8. jdunhin

    Redirect HTTP to HTTPS - If your wordpress is on HTTPS

    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" />...
  9. jdunhin

    Remove Jetpack smiley!

    Remove the Jetpack smiley without breaking the stats. Put this in your CSS file: img#wpstats { width:0px; height:0px; overflow:hidden; }
  10. jdunhin

    Remove Jetpack for users

    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'...
  11. jdunhin

    Remove Admin Bar for all Users except for Administrators

    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);
  12. jdunhin

    Replace WordPress Howdy with something else

    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...
  13. jdunhin

    Samba Server on Ubuntu

    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...
  14. jdunhin

    Apache or nginx

    Apache or nginx? It sound like nginx is taking over on the servers. Is it really faster?
  15. jdunhin

    Hide entry-title on home page

    Simple tip for Wordpress beginners. How to hide the title on a Wordpress Home Page: CSS: .home .entry-title { display: none; }
  16. jdunhin

    Input field Javascript

    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(){...
  17. jdunhin

    Create a php page-template

    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" ...
  18. jdunhin

    what do you think of WPMUDev

    I just renew my membership at WPMU Dev (http://premium.wpmudev.org/). But it is expensive! Do you have a positive or negative experience of them?
  19. jdunhin

    Wordpress Multisite Wildcard domains

    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).
  20. jdunhin

    Thethe-image-slider and WPML

    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...
Top