danixland
Forum Replies Created
-
Forum: Themes and Templates
In reply to: RedTime top bar modification.Here’s the solution ?? , well, it’s not really a solution but some kind of workaround…
Since I didn’t make it to understand what kind of custom field is required to make the wp_list_pages2 function skip printing some page, I modified slightly the theme to make it support custom menus…Here’s what I’ve done:
- Added these lines to the “functions.php” file, right before the ADMIN END line:
// registering header menu if ( function_exists('register_nav_menus') ) { function register_my_menus() { register_nav_menus( array('header-menu' => __( 'Header Menu' ) ) ); } add_action( 'init', 'register_my_menus' ); }
- Then I went to the “header.php” file and removed the part from line 35 to 39 (it’s the part enclosed between ul tags
- in place of that part, I added the following call to wp_nav_menu:
<?php wp_nav_menu( array( 'theme_location' => 'header-menu', 'container' => '' ) ); ?>
- Then I went to my admin area, in the “Appearance/Menus” submenu and added a menu as explained here, I added all of my pages except one, ordered them the way I wanted them to appear and added a custom link on top of them with my homepage, saved and everything worked like a charm…
I hope I made it clear enough… ??
Forum: Fixing WordPress
In reply to: Putting A Plugin On a Pageok so, did you modify some of your template files? In case you did, can you revert them back as they were when the plugin used to show up in pages??
Doing so you should be able to understand where was the failure…Another thing you might check is to see if the plugin has been updated recently, maybe it changed something in the way it used to be displayed and now needs you to update some file…
Forum: Plugins
In reply to: Gravatar HelpI gave a look at the F2 theme and looks like it already supports gravatars, so you don’t need wp-gravatar… I think it’s better to remove the plugin (or at least disable it) just to see if you can solve this problem using the functions already built in WP…
Looking at your site, the gravatar on the right is the one supplied by F2, the other one is from wp-gravatar…
Forum: Themes and Templates
In reply to: Code for putting image in footer<div><img src=”https://bcoutback.com/add/footer_logo.jpg” width=140 height=55 alt=”IcebergFilms logo” align=”CENTER” border=”0″ /></div>
?? pretty simple ain’t it??
Forum: Fixing WordPress
In reply to: Thumbnailshi, you should add thumbnails support to your functions.php theme file ??
it’s easy, look here… Have a look at the external resources linked on that page, they explains very well a lot of “tricks” for adding and using post thumbnails… ??
Forum: Fixing WordPress
In reply to: Thumbnailslooking at your site it tells me that there’s no index page… maybe you’re working on it right now ??
however, I’m quite sure you know that you should assign a thumbnail to a post in order for the theme to show it, don’t you?! ??
You can do it inside the same page where you write your posts, you should see a link at the bottom of the right sidebar that tells you to add a thumbnail…
Forum: Plugins
In reply to: Gravatar Helpwhich plugin did you install?? afaik gravatar support is a feature in wordpress since version 2.5, I hope you have a more up to date version of WP on your site ?? …
Setting up a default gravatar is just a matter of going inside the settings section of your dashboard and look for the “discussion” option and selecting one of the given images…
Regarding *your* gravatar, in order to set it up you should visit gravatar.com and create your profile…Forum: Fixing WordPress
In reply to: Putting A Plugin On a Pagea link to your website and the theme you’re using would be very useful ?? however, in order to put a plugin on a page you should (probably, since I don’t know your theme) edit the page.php template and make it widget-ready ??
Forum: Themes and Templates
In reply to: Code for putting image in footerif it works on localhost should be ok on the net too ?? just pay attention that this img tag is surrounded by a block item like a div… doing so you can control much better the way it is displayed… ??
Forum: Fixing WordPress
In reply to: How can I remove the rotator from my blog?I didn’t see any rotator, just an empty box on the sidebar… if it’s that, you can check if it is a widget by going in the widget section of your dashboard and removing it…
if this theme is not widget ready you’ll have to remove it manually, try checking the file sidebar.php (or similar) inside your theme’s directory… ??
Forum: Fixing WordPress
In reply to: How to combine posts in Blogger to WordPressthis page will tell you how to export your blogger posts into an xml file. Then you’ll have to go inside your dashboard on WP and look for the “Tools” section. Here you’ll find the “Import” function which will ask the kind of blog from which you will import the contents, select blogger and when you’ll be prompted, go find your xml file and upload it…
believe me, it’s easier to do it than to explain ??
Forum: Hacks
In reply to: add content to bottom of single posts using functions.phpMay I ask you why are you using functions.php and not working on single.php instead?? If you want to add something under every post single.php is way more straightforward IMHO…
Forum: Themes and Templates
In reply to: RedTime top bar modification.I gave a quick look at the theme, it uses a modified version of wp_list_pages which is called wp_list_pages2 and is defined inside the file includes/fn-general.php in the theme directory.
Right now I can’t test it and tell you how to exclude some pages from this function, however, try creating a page and adding a custom field with name “exclude” and value 0, then save it and see if this page is shown… if it doesn’t work, try changing the value to 1…
In a few hours I’ll be back home and will try this ??
Forum: Themes and Templates
In reply to: How to get site description on one line.I agree with you on the “non technical” side… I exposed the other way of doing things to allow for a clean setup of the css…
Thanks for getting back on this… ??
Forum: Themes and Templates
In reply to: How to get site description on one line.sorry esmi, why should he add something that already exists?? those 2 ids are already in the css, he should only find them and correct their values…
correct me if I’m wrong but I don’t think that adding the same id again is the “correct” way of doing what he wants to do…
in facts, looking at the stylesheet of his site here’s what I found:#site-title { float: left; font-size: 30px; line-height: 36px; margin: 0 0 18px 0; width: 700px; } #site-title a { color: #000; font-weight: bold; text-decoration: none; } #site-description { clear: right; float: right; font-style: italic; margin: 14px 0 18px 0; width: 220px; }
so he should only modify what already exists instead of adding again the same ids at the bottom of the stylesheet, don’t you think??
- Added these lines to the “functions.php” file, right before the ADMIN END line: