jacogriesel
Forum Replies Created
-
Forum: Plugins
In reply to: Attach permalink to imageOK, no need to be an arse…
Here’s my solution in case somebody could use it.
Replace:
<div id="featcatpic" style="width: 40px; height: 40px;background: url(<?php if($image_src != '') { echo $image_src; } else { ?><?php bloginfo('template_directory'); ?>/images/default125.png<?php } ?>) 0 0 no-repeat;"> </div>
with:
<div> <?php if ($image_src) { ?> <a href="<?php the_permalink(); ?>" rel="bookmark"><img src="<?php echo $image_src; ?>" alt="Post Pic" width="200" height="200" /></a> <?php } else { ?> <a href="<?php the_permalink(); ?>" rel="bookmark"><img src="<?php bloginfo('template_url'); ?>/images/default250.png" alt="Screenshot" width="200" height="200" /></a> <?php } ?></div>
Easy!
Forum: Plugins
In reply to: Attach permalink to imageFour hours later and guess what?
I SOLVED IT MYSELF!
Lots of googling, lots of trial and error, lots of crappy parse messages, but eventually –
I SOLVED IT MYSELF!
In case anybody was struggling with the same problem –
SOLVE IT YOURSELF!
Forum: Plugins
In reply to: Attach permalink to imageWhoop-whoop!
Our American friends must be up and going by now – maybe they can solve this for me…
Any help would be appreciated…
THANKS!
Forum: Plugins
In reply to: Attach permalink to image*sigh*
Seems we’re all a bunch of novices here… Searching for help… Mostly in vain…
Forum: Plugins
In reply to: Modify SidebarLoginThanks Samboll!
Is there any way I can rather put the plugin’s code in the sidebar.php or anywhere else? I would like to eliminate the plugin entirely.
Any help would be appreciated!
Forum: Themes and Templates
In reply to: Adding an Admin pageThanks Peter! I’ll go and read and let you know!
Forum: Themes and Templates
In reply to: Adding an Admin page??
Nobody likes a coding virgin….
COME ON! Any takers???!!!!
Forum: Themes and Templates
In reply to: [Atahualpa] – moving the page menu barOops, got that wrong (because I’ve read like my bum…) ??
Anyway, same principles apply. By just changing the order of the %xxxxxx thingies, you can decide how the header will look like. Play with it and read the instructions – it’s a breeze!
Forum: Themes and Templates
In reply to: [Atahualpa] – moving the page menu barIt is, isn’t it?!
To move the menus are easy. Go to the Theme Options page (under Appearance). Under “Header Area”, select the “Style & Edit HEADER AREA” tab.
In the CONFIGURE HEADER AREA block you’ll see a text box with something like this:
%bar1 %image %bar1 %page-center %bar1
The page menu is designated by %page-center or %pages or something similar.
Just change the order to something like:
%bar1 %page-center %image %bar1
Bob’s your uncle!
Forum: Themes and Templates
In reply to: Uploading Custom Header issueThe easiest is to go to the theme’s image folder on your server and replace the kubrickheader.jpg file with your new header image. Be sure to name it the same (i.e. kubrickheader.jpg) and to ensure it has the same dimensions (760×200 px).
Hope this helps!
Forum: Themes and Templates
In reply to: Display Gravatars outside the comment loopIt worked for me using a plugin in a sidebar I defined.
Forum: Themes and Templates
In reply to: Display Gravatars outside the comment loopif (function_exists('get_avatar')) { global $userdata; get_currentuserinfo(); echo get_avatar( $userdata->ID, 120 ); }