facebook

Tag Archives: Word Press

Change Those Permalinks

WordPress for reasons known only to themselves, make the default for permalinks the postID number! This does not exactly look the best in the URL bar at the top of the page. You can easily modify this so it shows the ‘slug’ of your posts and pages. Click on ‘permalinks’ in the left side column [...]

Posted in Web Design | Also tagged , | Comments closed

Alternative Style Sheet

Using the Thematic theme as a Parent, I wanted to have a separate style sheet for different pages. Here is the code to do so… function my_stylesheet($content) { global $wp_query; if (is_page()) { $pageID = $wp_query->post->ID; if ($pageID == ’222′) { $content = “\t”; $content .= “<link rel=\”stylesheet\” type=\”text/css\” href=\”"; $content .= get_bloginfo(‘stylesheet_directory’) . “/alternate.css”; [...]

Posted in Web Design | Also tagged , , | Comments closed