Arcance
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Replace title in header with imagesrc=”” is the source / path to your image (URL)
alt=”” is the text displayed when the image isn’t available
name=”” is the text displayed when you hover the imageSo this will work:
<div id="logo"> <a href="<?php echo get_option('home'); ?>/"><img src="https://getloadsmorecustomers.co.uk/wp-content/uploads/2009/07/getloadsmorecustomers.png" alt="Get Loads More Customers" title="Get Loads More Customers" /></a> </div>
Forum: Themes and Templates
In reply to: Replace title in header with imageIf you would like to use an image instead of the text you have to replace the following code in header.php:
<div id="logo"> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <span id="blogDescription"><?php bloginfo('description'); ?></span> </div>
with this:
<div id="logo"> <a href="<?php echo get_option('home'); ?>/"><img src="link to image" alt="" title="" /></a> </div>
Forum: Themes and Templates
In reply to: Sidebars not work as advertisedOkay, I heard that some people had problems with using widgets.
I’ve uploaded a new version (0.9.3) – currently waiting for review – which solves that problem. There are also some other bugfixes and tweaks coming with it.
Forum: Themes and Templates
In reply to: Sidebars not work as advertisedOf course you can use widgets “as advertised” on the screenshot. You can either choose between “Right Sidebar ORANGE” and / or “Right Sidebar BLUE” to attach widgets.
I dont know what’s the problem you’re talking about.
Forum: Fixing WordPress
In reply to: two widget areas in the sidebarOkay, a little update..
Now I’m using this code:
if (function_exists('dynamic_sidebar')) { dynamic_sidebar('Sidebar A'); dynamic_sidebar('Sidebar B'); } else { // No Widgets }
It works fine for this cases:
- Widgets in Sidebar A and Sidebar B
- Widgets only in Sidebar A
- Widgets only in Sidebar B
But if no Sidebar has widgets, it does not display the “No Widgets” area of the else-term. I think it is because function_exists(‘dynamic_sidebar’) is always true.
How can I fix it, so that it displays the “No Widgets” area if both Sidebars are empty?
Forum: Fixing WordPress
In reply to: two widget areas in the sidebarThis does not work, esmi.
With this code, wordpress recognizes only the first widget area (in this case the orange one) and the second area will be ignored, if the first is empty.
Forum: Fixing WordPress
In reply to: Display categories within pagesStill the same problem, but a different question:
What’s the PHP-function WordPress uses to display a certain category?
I know, there must be such a function, because there are links with titles like “show all posts / articles saved in category ‘name'” (don’t know the original terms – translated it from the german title). Do you know which it is?