Forum Replies Created

Viewing 15 replies - 151 through 165 (of 189 total)
  • Thread Starter 5high

    (@5high)

    hi again,
    i’ve just tried checking one of my pages on the W3C validator, and it’s shown lots of errors relating to the edited code as above. I’ve tried to fix it but it all appears in html so I can’t see what to fix in the php code.

    i’d really appreciate your feedback regarding this – if you input http://trevorpenfold.com/about-tp/ as the url into this site http://validator.w3.org/ it then throws up this list of errors:-

    Line 320, Column 40: No space between attributes.
    …				<a href="http://wordpress.org/"target="_blank"" title="Semantic Persona…
    Error Line 320, Column 55: No space between attributes.
    …"http://wordpress.org/"target="_blank"" title="Semantic Personal Publishing Pl…
    Line 320, Column 55: Saw " when expecting an attribute name. Probable cause: = missing immediately before.
    …"http://wordpress.org/"target="_blank"" title="Semantic Personal Publishing Pl…
    Line 320, Column 102: Attribute " is not serializable as XML 1.0.
    … title="Semantic Personal Publishing Platform">Proudly powered by WordPress</a>

    and

    Line 320, Column 102: Attribute " not allowed on element a at this point.
    … title="Semantic Personal Publishing Platform">Proudly powered by WordPress</a>
    Attributes for element a:
        Global attributes
        href
        target
        rel
        media
        hreflang
        type

    Any ideas??

    Thanks.

    Thread Starter 5high

    (@5high)

    Hi Andrew,

    Yes – it worked! just by inserting the missing ‘}’ as you found fixed all of the Footer issues! I don’t quite understand why, but I’m very pleased! Thank you.

    Just one query – you said

    You should now remove your !important styles before they screw you over in the future.

    …does that mean for as much as possible in the child theme?
    And how do they mess it up if some are left in?

    Many thanks.

    Thread Starter 5high

    (@5high)

    Hi Andrew,

    Thanks for the link – really helpful and I’ll have to try and work out how to use it myself!

    I’ve changed the first Child theme error, namely

    75 body, input, textarea Value Error : font-weight 550 is not a font-weight value : 550

    so that the value is now 500, which seemed to be a valid option. but still no change…

    Thread Starter 5high

    (@5high)

    Hi Andrew,

    The footer as a whole was edited to become much narrower, and the ‘site-generator’ bit should be black with rounded bottom corners.

    Thanks.

    Thread Starter 5high

    (@5high)

    OK – thanks. The only possible similarity with this is that the page was initially saved as a ‘private’ page and was only changed to ‘public’ a day or so later.
    cheers.

    Thread Starter 5high

    (@5high)

    Hi esmi,

    Sorry, I’m not quite sure what you mean by ‘scheduling’ these posts? Basically we’re in the final stages of page editing before launching a whole new website. So we’re only working on pages, not posts, and the links are to other w/p pages on the same site.

    However, I’ve re-visited both the new page which had this problem, and both an old page and made another new one, and the links work fine both for internal and external ones in these other pages. So… have put problem page content in a new page (without the image) and all good; and with image added it’s OK too. But what I do remember happening was that when I first added the image to the problem page, it sat below the grey text area, and then the grey text area just kept extending with the added text – so maybe it was an issue with inserting the image first, before any text? or possibly with the new media manager, though it seems to work very well.

    So, overall – problem solved by re-doing page: ie; a glitch must have somehow been introduced with the image or text originally, which is now OK. I realise this is v long-winded, but thought it might be useful if it is in fact a glitch with the new media manager.

    Thanks for getting back to me so quickly. Cheers.

    Thread Starter 5high

    (@5high)

    Hi Bloke and viky081,

    Just to let you know that it now works!
    I tried both of the code options you suggested, including some extra edits/guesses by me – all with no effect whatsoever… Then i thought I’d try it in a child footer.php file, rather than my function.php file in my child theme – and BINGO – it worked first time! I’ve only tried Bloke’s one for this, and have removed an extra ‘.’ before the semi-colon after the taget=blank edit.

    So I’ve copied the whole footer.php file and then edited it – as I wasn’t 100% sure if I could only put a part of it in with the edits. So it now looks like this:

    </div><!-- #main -->
    	<footer id="colophon" role="contentinfo">
    			<?php
    				/* A sidebar in the footer? Yep. You can can customize
    				 * your footer with three columns of widgets.
    				 */
    				if ( ! is_404() )
    					get_sidebar( 'footer' );
    			?>
    			<div id="site-generator">
    				<?php do_action( 'twentyeleven_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ) . '"target="_blank"' ; ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>
    			</div>
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    <?php wp_footer(); ?>
    </body>
    </html>

    …though I’m slightly confused as to why the footer.php file has the above html in, as I thought php files weren’t meant to have any in and the main functions.php file has none in.

    if you think I can cut anything out to make it less cluttered I’d be interested – and hopefully it’ll be useful for others too?

    Many thanks for your help and support.

    Happy New Year!

    Thread Starter 5high

    (@5high)

    Thanks very much for both those suggestions – I’ll hopefully have a chance to look at it shortly and will let you know how they work.
    Have a Happy Christmas!

    Thread Starter 5high

    (@5high)

    Hi,
    any help with this would be really appreciated…
    Thanks.

    Thread Starter 5high

    (@5high)

    OK, I give up! It still won’t let me input ‘nothing’ (ie: a blank, or no title) into the title area of this Follow Me widget – so I’ve just eliminated it in my child theme style.css file. If anyone else is having this same problem, try using this code:

    aside#ultimate-follow-me .widget-title {
    	display: none;
    }

    I can’t guarantee it, as I’m a self-taught webster, but it seems to have worked for me!
    You can also add in some padding to give it a bit of space down from a horizontal menu like this:

    aside#ultimate-follow-me {
    	padding-top: 5px;
    }

    All sorted for me now – though I’d still be interested if anyone else has had this problem…

    Thread Starter 5high

    (@5high)

    Brilliant! Thanks very much Mike – I searched through the settings once I’d updated, only to find that you’d set it up as the default!
    Thank you – so easy for us!

    Thread Starter 5high

    (@5high)

    Thanks for answering my query Mike – probably best if i wait for you to code it correctly, rather than me ‘having a go’ at it then!
    Much appreciated.

    Thread Starter 5high

    (@5high)

    Any ideas from anyone??
    Thanks.

    Thread Starter 5high

    (@5high)

    All sorted now. Did full reinstall of my directory and database, but STILL couldn’t access user ID#1, so obviously some rather permanent changes made by BWPS! However, also did what Portblade suggested, and created a new user (and then deleted my old one, just to be sure I didn’t use it by mistake and mess it up again) and all good.
    If this happens to anyone else, probably doing what Portbalde suggested above should be fine, and forget all the extra stuff!

    Thread Starter 5high

    (@5high)

    I’ve found the bit of style.css that needs editing to give the site map menu (generated by enhanced-menu-editor plugin and inserted into page using show-menu-shortcode plugin) – just in case anyone else needs it…

    html, code {
    	font: 16px Verdana, Geneva, sans-serif;
    }

    That’s in Twenty Eleven theme – and you obviously put whatever you want re: font size/style.

Viewing 15 replies - 151 through 165 (of 189 total)