Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
In reply to: How can I add a menu bar at the footer of your theme
September 2, 2010 at 10:21 pm #10829Hi Torres,
The easiest way to do this would be to use the footer widget, though it’s not exactly ‘a bar at the footer’. I’m afraid you’d have to modify the theme to achieve that.
AdminThe way WordPress 3.0’s custom men u works is that you have to manually add the menu item yourself in the Appearance > Menus admin page everytime you want to add a new menu item. It doesn’t automatically lists all of the categories and their descendants.
AdminYou don’t actually need to modify the sprite in order to add new image. You can just use the new image on its own and just use the image instead of the sprite.
AdminThat CSS will place the 2nd icon 68px to the right of the RSS, with it’s size being 45px wide and 45px high.
I’m sorry, but I have to say that these are pretty simple adjustments to make if you know enough HTML and CSS, which isn’t much.
AdminYou should do it in the template file that corresponds to where you want to put the link. If you want to put it beside the RSS icon on the top bar, then it should be in the header.php file after the RSS I quoted several posts before.
AdminYour Twitter account is not related to WordPress in any way. Why not just hardcode the link? For Twitter, it should be something like
http://www.twitter.com/twitterusername
AdminThis is the part of the code that generates the feeds URL:
<?php bloginfo('rss2_url'); ?>
It’s a wordpress function. You can read more about it (including what other values you can get using that function) at the WordPress Codex Page.
AdminThat is weird. I just tested your website just now (before you posted your last post) and the dropdown menu worked! Are you sure you’ve set up your Custom Menu properly?
AdminYep, and that black bar for the menu is not used either. Both of them are replaced with the image in sprite_h.png file. I’ve removed them from the new version (1.0.8).
As for the RSS code, it’s in the header.php file, a few lines after the
<body>
tag:<p id="rss"><a href="<?php bloginfo('rss2_url'); ?>" title="<?php esc_attr_e('Subscribe to RSS feed', 'graphene'); ?>"><span><?php _e('Subscribe to RSS feed', 'graphene'); ?></span></a></p>
AdminFinally!
Glad it works out for you 🙂