camelman
Forum Replies Created
-
Forum: Hacks
In reply to: wp_nav_menu, adding a div around the secondary ulUse a custom walker class (a nice tutorial here: http://wpquicktips.wordpress.com/2010/07/09/create-a-custom-menu-by-creating-your-own-walker/) and change the output any way you like 🙂
Forum: Hacks
In reply to: Allow a post to only be submitted to one category…something like this?
http://wordpress.org/extend/plugins/category-radio-buttons/Forum: Hacks
In reply to: How to inject /insert code into header using a functioni use this function:
<?php function addfavicon() { if (is_single() || is_page()) { /* If Post or Page */ echo '<link rel="shortcut icon" href="' .bloginfo('stylesheet_directory'). 'images/favicon.ico">'; } } add_action('wp_head', 'addfavicon', 1); ?>dose this helps?
Forum: Hacks
In reply to: Change font size of specific page in nav menufont size:
easiest way is to create a custom template (http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates) for that page, and run you’r own code. in that code wrap a div around all the content with a custom class and then change accordingly in your style.css file.menu:
use a custom walker class – IE: extends the walker class (a nice tutorial here: http://www.kriesi.at/archives/improve-your-wordpress-navigation-menu-output).Forum: Hacks
In reply to: prompt the user upon plugin deactivationnone can help? 🙁