WordPress.org

Ready to get started?Download WordPress

Forums

Scrappy by Caroline Moore has html code error (29 posts)

  1. hclee
    Member
    Posted 2 years ago #

    HI admin,

    Kindly inform Caroline Moore her scrappy theme has html error on her pages

  2. Caroline Moore
    Member
    Posted 2 years ago #

    I need more information. Post a link demonstrating the problem and I'll see what I can do!

  3. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    P.S. there is no "admin". If you have an issue with a specific Theme, you should post that issue to the Theme's specific support forum. For example, the forum for the Scrappy Theme is here:
    http://wordpress.org/tags/scrappy?forum_id=5

    For future reference, you can find the Theme-specific forum link on the Theme's directory listing page, which for Scrappy Theme is here:
    http://wordpress.org/extend/themes/scrappy

    (Look in the lower right, under "See what others are saying".)

  4. hclee
    Member
    Posted 2 years ago #

  5. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    So... what is the HTML error that you're reporting on these two pages?

  6. hclee
    Member
    Posted 2 years ago #

    the funny html wording below on the sites wont go away. I didn't add in any of those html codes, so I'm guessing it is the theme problem

  7. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    the funny html wording below on the sites wont go away. I didn't add in any of those html codes, so I'm guessing it is the theme problem

    Are you talking about this?

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    That's not coming from the Theme; rather, that's coming from WordPress itself. It is indicating the HTML tags that are allowed to be used in the comment form.

  8. hclee
    Member
    Posted 2 years ago #

    OIC!!!....haha how silly of me.....sorry i'm zero when come to website programming

  9. Supergirl9801
    Member
    Posted 2 years ago #

    It would be nice to get instructions on how to remove that from showing up though.

  10. Caroline Moore
    Member
    Posted 2 years ago #

    You can add the following code to style.css to hide that paragraph:

    p.form-allowed-tags {
       display:none;
    }
  11. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    Assuming you're using a Child Theme, simply filter comment_form_defaults:

    function scrappy_child_filter_comment_form_defaults( $defaults ) {
        $defaults['comment_notes_after'] = '';
        return $defaults;
    }
    add_filter( 'comment_form_defaults', 'scrappy_child_filter_comment_form_defaults' );

    EDITED TO ADD:

    On second thought, whether or not you're using a Child Theme, this code would be better in a Site Plugin, since I assume you don't want that text to appear, regardless of what Theme you're using.

  12. Supergirl9801
    Member
    Posted 2 years ago #

    Six Hours that worked flawlessly...just a note if you're a complete dummy to all this like I am...if you're using a child theme..you must make this change in the parent theme then it will automatically roll down to the child theme!

    Chip...I've noticed that you can't really make any changes to the child theme's style sheet (unless I'm doing something wrong...ha)...you have to go into the parent theme like I said before.

  13. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    if you're using a child theme..you must make this change in the parent theme then it will automatically roll down to the child theme!

    I've noticed that you can't really make any changes to the child theme's style sheet (unless I'm doing something wrong...ha)...you have to go into the parent theme like I said before.

    Yeah, it sounds like you're doing something wrong. :)

    How do you have your Child Theme setup?

  14. Supergirl9801
    Member
    Posted 2 years ago #

    This is what my Style Sheet looks like:
    /*
    Theme Name: Scrappy Child
    Description: A child theme template for Scrappy
    Template: scrappy
    Author: Caroline Moore
    Author URI: http://www.carolinemoore.net

    */

    @import url(../scrappy/style.css);

    That's it! Pretty simple. Is this the info you were looking for?

  15. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    Yep! That's exactly it.

    So: where are you overriding the parent Theme's styles?

  16. Supergirl9801
    Member
    Posted 2 years ago #

    When you're in the style sheet for the child's theme if you look to the right you can easily change to the parent theme from the drop down box. Then I just scrolled to the bottom and cut and pasted it into the parent theme (before the /*End Comments*/ part). Wa la!

  17. Supergirl9801
    Member
    Posted 2 years ago #

    Oh don't forget to hit "update file" too..haa.

  18. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    So, you're using a Child Theme, but you're editing code in the Parent Theme's style.css file?

  19. Supergirl9801
    Member
    Posted 2 years ago #

    Yes, any edits to the parent theme automatically reflect in the child theme. Using the child theme protects your work from updates to the theme that could disrupt it and your site.

  20. Caroline Moore
    Member
    Posted 2 years ago #

    The idea behind a Child Theme is to make updates in a separate place from the Parent Theme so when the Parent Theme is updated, your changes don't get overwritten.

    So any changes you make should be done in the Child Theme, not the Parent Theme.

    The CSS code I posted above should be pasted into the style.css file for your Child Theme. Also ensure that the Child Theme is the active theme on your blog/website (not the Parent Theme, but don't delete the Parent Theme!)

  21. Supergirl9801
    Member
    Posted 2 years ago #

    Caroline gave me this link which you might find helpful: http://codex.wordpress.org/Child_Themes

  22. Caroline Moore
    Member
    Posted 2 years ago #

    (To reiterate Chip's earlier point, if you want to remove that paragraph no matter what theme you're using, your best bet would be to find or create a plugin that does so. My solution is a bit hacky, but I'm a CSS geek, not so much a programmer. :D)

  23. Supergirl9801
    Member
    Posted 2 years ago #

    okay..so if there's an update to parent scrappy then it will revert back...hmmm...okay well posting the little tid bit above you gave me into the child theme didn't work...I tried posting yours Chip and that did work...thanks everyone!

  24. Supergirl9801
    Member
    Posted 2 years ago #

    came back to update that while looking through my blog today it appears the code I entered from Chip above in fact did not work...I tried Sixhours again and that did work. Not sure if I did something wrong yesterday or what...who knows. Anyway I finally got it to work in the child theme.

  25. Vanessa
    Member
    Posted 2 years ago #

    Hi! I'm new to wordpress and blogging. I have the scrappy theme and wanted to know if there is a way to spread the page out just a little bit in order to have less brown on the sides. I am not super tech-y, so I hope whatever I need to do isn't too difficult. If so, it will stay as is. I don't want to screw anything up! :o) Thanks for any assistance!

  26. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    @ness2289, you should start your own topic. Your issue is unrelated to the original poster's.

  27. Vanessa
    Member
    Posted 2 years ago #

    oops! sorry. Will do

  28. Newspaperdiva
    Member
    Posted 2 years ago #

    I love your Scrappy theme! How do you create the thin frame around the photos?

  29. deepakrwt20
    Member
    Posted 1 year ago #

    Thank you i remove the code
    my wp blog name is http://www.pricehubindia.com

    `You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b>
    <blockquote cite=""> <cite> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>)

    i want add over code place other text look like "Don't use keyword here.."
    how can i add the text please help me admin

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags