Skip to content

KAV Design Blog Posts

How to rename the home link on the main wordpress menu to something else?

If you are using thematic child theme go to thematic-functions.php file in your child theme and add this:

//    Add a Home link to your menu
function childtheme_menu_args($args) {
$args = array(
'show_home' => 'Home',  //here change Home to whatever you like
'sort_column' => 'menu_order',
'menu_class' => 'menu',
'echo' => true
);
return $args;
}
add_filter('wp_page_menu_args','childtheme_menu_args');

CSS Style element by its Title

Today I saw something new for me:

a[title=”Home”] {
font-style:italic;
}

And it’s applied to an element which has the title Home in my case it was:
<a title=”Home” href=”#”>Something</a>

So there is a way to style elements by their title, no need to add a class or id in such case.
I tested on most browsers and it works exceps of IE6, but who cares of this old browser.

How to move a wordpress blog site to another location?

Easy answer for most installations:

  • If database and URL remains the same, you can move by just copying your files and database.
  • If database name or user changes, edit wp-config.php to have the correct values.
  • If you want to test before you switch, you must temporarily change “siteurl” and “home” in the database table “wp_options” (through phpMyAdmin or similar).
    If you had any kind of rewrites (permalinks) setup you must disable .htaccess and reconfigure permalinks when it goes live.

More info

Реклама в Google Adwords

Какво е Google AdWords

AdWords е система за поставяне на реклама в Интернет и за управлението й. Поставените от вас текстови или графични реклами се показват при търсене в Google или на уеб сайтовете, които са част от рекламната мрежа Google AdSense.