Brendino
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Trying to add a logo to my themeIt’s loaded properly on mine…the old image is probably just in your browser’s cache.
Forum: Plugins
In reply to: get_the_author_meta not calling from within a functionI also tried the_author_meta() instead of get_the_author_meta() – no dice.
Forum: Plugins
In reply to: CSS drop down menu not working in IEWhat version of IE?
I know that a lot of the drop-down pizazz doesn’t work in IE6 because the :hover pseudo class doesn’t work in anywhere but normal links.
Forum: Themes and Templates
In reply to: Checking if category has postsThis helped me!
Thanks, MichaelH ??
Forum: Themes and Templates
In reply to: Trouble displaying background strip in content@pepen – I appreciate your time.
I tried to clear the float, to no avail.
I didn’t thoroughly examine, but I did pass XHTML 1.0 Transitional. Would it have caught an open div tag?
The same error manifests in FF3 now! eek!
Forum: Plugins
In reply to: Can you show a register screen in a post?AjaxLogin apparently is having issues with 2.5.1 and the developer disappeared. Is there anything similar?
Forum: Themes and Templates
In reply to: Trouble displaying background strip in contentAh! Many apologies…
index.php
<?php get_header(); ?> <div id="centerthecontent"> <div id="content" class="narrowcolumn"> <br /> <?php $temp_query = $wp_query; ?> <?php if (is_home()) { query_posts("cat=-3"); } ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="articleTitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></div> <div class="dateauthor"><span class="justdate"><?php the_time('n.j.y') ?> // <span style="text-transform: lowercase;"><?php the_author() ?></span></span></div> <div class="entry"> <?php the_excerpt('Read the rest of this entry »'); ?><!--<a href="<?php the_permalink() ?>" rel="bookmark" title="permanent link to <?php the_title_attribute(); ?>">>> Read it</a>--> </div> <span class="postmetadata"><?php the_tags('tags: ', ', ', '<br />'); ?> category: <?php the_category(', ') ?> | <!--<?php edit_post_link('Edit', '', ' | '); ?> --> <?php comments_popup_link('no comments »', '1 comment »', '% comments »'); ?></span> </div><br /> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« older articles') ?></div> <div class="alignright"><?php previous_posts_link('newer articles »') ?></div> </div> <?php $wp_query = $temp_query; ?> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> </div> <?php get_footer(); ?>
header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="shortcut icon" href="favicon.ico" /> <style type="text/css" media="screen"> <?php // Checks to see whether it needs a sidebar or not if ( !$withcomments && !is_single() ) { ?> #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/zabg-<?php bloginfo('text_direction'); ?>.png") repeat-y top; border: none; margin: 0 auto;} <?php } else { // No sidebar ?> #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/zabgwide.png") repeat-y top; border: none; margin: 0 auto; } <?php } ?> </style> <?php wp_head(); ?> <!--[if IE]> <style> #searchsubmit {padding:0px;} </style> <![endif]--> </head> <body> <div id="page"> <div id="header"> <div id="headeroverlay"> <div id="headerimg"> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> <div id="centerthenav"> <div id="top-nav"> <ul id="navlist"> <li id="active"><a href="<?php echo get_settings('home'); ?>/">Home</a></li> <?php wp_list_pages('title_li=&depth=-1'); ?> <?php wp_list_categories('include=3&title_li='); ?> </ul> <ul style="list-style: none; padding: 0 15px 0 0; margin: 0;"> <li><div id="searchcallinheader"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div></li> </ul> </div> </div> </div> </div> </div> <hr /><br />
stylesheet is at https://www.zamagazine.org/wp-content/themes/ZATheme/style.css
Forum: Themes and Templates
In reply to: Hit 2 Walls with Custom CSS Contempt theme1. The Contempt theme uses this image as the background:
https://s.wordpress.com/wp-content/themes/pub/contempt/images/blue_flower/bg.jpgThis image is repeated vertically down the page, and this is where the gray columns are created. If you want to get rid of the bars, you have to change the image.
2. You’ll have to play around with your css files to change the colours – play around with anything with an a tag until you hit the ones you’re looking for.
Helpful tip! I was able to find various elements of your site pretty easily using a plugin called Firebug for Firefox. If you’re running Firefox, go ahead and pick up the plugin because it’ll help you see how your site is laid out.
Cheers,
BrendanForum: Themes and Templates
In reply to: New css templateI checked your site out…are you using WordPress?
Forum: Themes and Templates
In reply to: Alignment issuesI found out what the problem is. My header has to be the width of the page no matter what the size of the window is, so I had to remove an absolute width that kept the background for the content in place.
Now that I know what the problem is, I can attempt to fix it!
Thanks to anyone who actually read this!
Forum: Themes and Templates
In reply to: Alignment issuesI’ve learned a bit about conditional tags and I’m certainly willing to integrate it to solve the problem.
Trouble is, I don’t know what the problem even is!
Forum: Themes and Templates
In reply to: Alignment issuesquick note: I put my old footer content back in since it didn’t seem to be the difference between good alignment and bad alignment.
cheers!
Forum: Themes and Templates
In reply to: Moving an image from post to sidebarOkay so I definitely have it now! Thanks for suggesting custom fields. A Google search yielded this URL that showed me just what I want to do:
https://justintadlock.com/archives/2007/10/27/wordpress-custom-fields-adding-images-to-posts
Forum: Themes and Templates
In reply to: Moving an image from post to sidebarso what would that look like? I’m pretty new to WordPress and PHP