How to remove the tagline from the HTML ?

Ah, figured it out. In /wp-content/themes/twentyeleven/header.php, you can comment out this: // Add the blog description for the home/front page. $site_description = get_bloginfo( ‘description’, ‘display’ ); if ( $site_description && ( is_home() || is_front_page() ) ) echo ” | $site_description”; Then the blog tagline won’t be added for the front page.

What is Global WordPress Objects?

As I’ve mentioned in the comments – you shouldn’t need to modify / touch WordPress globals directly. It seems you are getting the errors because you are trying to load WordPress within Smart – this is a bit of a hacky approach. I’ve not used Smarty at all, but WordPress has its own way of … Read more

wp_rewrite not working on third level url

Your regex is a little flaky – you shouldn’t specify the start anchor ^, and some support trailing slashes, others don’t – plus I’d opt for a better expression for matching page numbers. And you could certainly trim it down to: add_rewrite_rule( ‘activate/([^/]*)/?$’, ‘index.php?pagename=activate&akey=$matches[1]’,’top’ ); add_rewrite_rule( ‘users/?$’, ‘index.php?pagename=users’,’top’ ); add_rewrite_rule( ‘users/(most-active|recent|oldest|by-username)/?$’, ‘index.php?pagename=users&sort=$matches[1]’,’top’ ); add_rewrite_rule( ‘users/(most-active|recent|oldest|by-username)/paged/([0-9]{1,})/?$’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)