ads1018
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Styling ‘the_meta’ tagI’m having issues styling my custom fields. I’m using ‘the_meta’ tag which gives me this in my source code.
<ul class='post-meta'> <li><span class='post-meta-key'>Project:</span> prozac</li> <li><span class='post-meta-key'>URL:</span> www.www.com</li> </ul>
As you can see there’s only a span around the key but not around the value. This is very limiting if I only want to style the value which I do. Here’s my site (a work in progress) so you get a sense of what I’m dealing with: https://www.badideahouse.com
Ultimately what I’d like to do is style my custom fields with a black background color and add padding between each custom field.
Forum: Fixing WordPress
In reply to: Styling Custom FieldsAs you can see, the custom field background color goes across the entire screen. I only want it behind the text.
Forum: Fixing WordPress
In reply to: Styling Custom Fieldssorry here it is. https://www.badideahouse.com/
Forum: Fixing WordPress
In reply to: wp_get_archives tagProblem solved. I had to install a plugin called ‘Archives for a Category’. This let me add the ‘cat=8’ parameter to the wp_get_archvies tag which for some reason doesn’t normally accept it. I really think wordpress should include it in the codex so people don’t have to bother with a plugin.
Forum: Fixing WordPress
In reply to: Cross Browser CompatibilityI’m working on a local server. Thanks though. I’ll let it go for now. You’re right, I’m just being anal.
Forum: Fixing WordPress
In reply to: wp_list_pagesthat was easy. thank you ??
Forum: Fixing WordPress
In reply to: Plugins and Markup ValidationYup, that’s it.
Forum: Fixing WordPress
In reply to: Plugins and Markup ValidationYeah that’s what I’ve come to learn too. These are the type of validation errors I get:
Line 20, Column 30: required attribute “type” not specified
<script language=”javascript”> var disabled = false; var macff = true; </script>
The attribute given above is required for an element that you’ve used, but you have omitted it. For instance, in most HTML and XHTML document types the “type” attribute is required on the “script” element and the “alt” attribute is required for the “img” element.
Typical values for type are type=”text/css” for <style> and type=”text/javascript” for <script>.
Forum: Fixing WordPress
In reply to: global_nav vs. wp_list_pagesThank you.
Forum: Your WordPress
In reply to: Markup Validationsolved!
Forum: Fixing WordPress
In reply to: global_nav vs. wp_list_pagesIt’s in the sandbox theme. It’s in the header. It seems to serve the same purpose as wp_list_pages.
Forum: Fixing WordPress
In reply to: My posts aren’t getting publishedWow! Thanks so much. I went to the FAQ and it advised that I clear my browser cache. Did the trick! Thanks a million.
Forum: Fixing WordPress
In reply to: Jquery Effectnvrmind. founnd it!
Forum: Fixing WordPress
In reply to: Jquery and WordPressOkay I did steps one and two. Can you give me an example on how to/where to paste a jquery script included in the wordpress library? I’m not sure what exactly I’m supposed to paste. Sorry I’m new to javascript.
<!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"> <title><?php wp_title( '-', true, 'right' ); echo wp_specialchars( get_bloginfo('name'), 1 ) ?></title> <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" /> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url') ?>" /> <?php wp_enqueue_script('jquery'); ?> <?php wp_head() // For plugins ?> <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php printf( __( '%s latest posts', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" /> <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" /> </head> <body class="<?php sandbox_body_class() ?>"> <div id="wrapper" class="hfeed"> <div id="header"> <h1 id="blog-title"><span><a href="<?php bloginfo('home') ?>/" title="<?php echo wp_specialchars( get_bloginfo('name'), 1 ) ?>" rel="home"><?php bloginfo('name') ?></a></span></h1> <div id="blog-description"><?php bloginfo('description') ?></div> </div><!-- #header --> <div id="access"> <?php sandbox_globalnav() ?> </div><!-- #access -->
Forum: Fixing WordPress
In reply to: Jquery and WordPress