Search results

  1. jdunhin

    Wordpress css hover

    Hi Sharing a tip for developers :) I am using sprite images and when I hover it just use the bottom part of the image. This is very handy to speed up your website or blog. CSS: #ID { width: 136px; //SIZE OF THE ONE PART OF THE IMAGE height: 48px; background-image...
  2. jdunhin

    Show authors in category (Wordpress)

    I have struggle the whole morning with this code. This is to show authors from a certain category. Feel free to make it work for you, but this works for me.... <?php $catauthors = array(); $citycat=8; $allposts=get_posts("cat=$citycat&showposts=-1"); if ($allposts) { foreach($allposts as...
  3. jdunhin

    Fast Redirect

    This code below shows how to redirect to another domain. It is easier to do it this way. The reason why is domains take time to populate the changes on it so when you use this code it works in no time. <?php header( 'Location: http://www.domain.com' ) ; ?>
  4. jdunhin

    Wordpress remove title on specific page

    I just want to share something about the entry-title on Wordpress. It works on Hybrid theme How to hide the title on one specific page: If you inspect element on the page you want the title to be gone then you will noticed an id with a name like post-6528. Numbers would be different. So...
  5. jdunhin

    Hybrid 1.1 Wordpress Theme

    Want to remove the primary widget area on your frontpage. This code works for me. This is for Theme Hybrid. add_filter( 'sidebars_widgets', 'disable_primary_widgets' ); function disable_primary_widgets( $sidebars_widgets ) { if ( is_front_page() ) $sidebars_widgets['primary'] = false; return...
Top