WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
Two titles at top of posts after Customizr update? (28 posts)

  1. carissawp
    Member
    Posted 7 months ago #

    Anyone else having this problem?

    I recently updated both WordPress and Customizr on my blog so I don't know which one caused it, but I now have two titles at the top of my posts and one of them has meta data under it (which was supposed to have been moved to the bottom after I made some changes to my child theme.)

    http://www.prettyhungryblog.com

  2. ElectricFeet
    Member
    Posted 7 months ago #

    Sounds like a plugin issue. What happens if you disable them all? (In particular, was the "snow" installed at the same time as the updates?)

  3. carissawp
    Member
    Posted 7 months ago #

    Will I lose any plugin settings by disabling them all?

  4. carissawp
    Member
    Posted 7 months ago #

    Ok, I've gone through and deactivated them one-by-one, but didn't see the problem resolved. I deactivated the snow altogether. Do they all need to be deactivated at once?

  5. ElectricFeet
    Member
    Posted 7 months ago #

    It looks to me like it's maybe your font plugin. Your page includes the text/code:

    PICK AN ELEMENT NOW - or type CSS selector(advanced) {
    font-size: 30px !important;
    color: #444 !important;
    }

    which is invalid CSS and not generated by Customizr. A similar problem occurred here.

    Yes, you need to deactivate them all and then reactivate them one by one to find the one that messes up the pages.

  6. carissawp
    Member
    Posted 7 months ago #

    I disabled the font plugin and my special fonts went away but it did not remove the two titles issue. Do I need to somehow remove that faulty CSS from my stylesheet?

    I then deactivated all plugins at once and checked but the two titles were still there. :( Not only that but when I reactivated them all, my widgets in my right sidebar are totally screwed up now. Where did they all go and why? This is what I was afraid of when deactivating my plugins... did that mess up my sidebar?

  7. carissawp
    Member
    Posted 7 months ago #

    All my Image Widgets went away and there isn't even an option for an Image widget in my dashboard anymore.

  8. carissawp
    Member
    Posted 7 months ago #

    Looks like I got the widget issue worked out by going in and re-setting all my Jetpack settings (apparently deactivating that plugin wiped those out.)

    So I'm still just not sure about the two titles thing.

  9. ElectricFeet
    Member
    Posted 7 months ago #

    There are so many plugins on the site and so much invalid CSS in the view source, it's difficult to know where to start. I'm pretty sure it's not customizr. Can you try activating the twentytwelve theme and see if you get the double headers?

  10. carissawp
    Member
    Posted 7 months ago #

    I activated 2012 theme and there was only one title at the top of each post when that theme was active. Went back to Customizr child and it's back to two titles (one with all the metadata.)

  11. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    Try Customizr parent with all plugins off.

  12. carissawp
    Member
    Posted 7 months ago #

    Alright, getting somewhere with that one!

    Activated Customizr Parent and the extra title went away. (Didn't even have to deactivate any plugins.)

    However, in the parent theme the one title still had all the metadata under it. (I had made some changes to the CSS in my child theme to move all the metadata to the bottom.)

    So does this mean it's a problem in the structure of my child theme?

  13. carissawp
    Member
    Posted 7 months ago #

    Well, I will definitely be more hesitant next time there's a theme or WP update available! Just realized that when I deactivated/reactivated my Jetpack plugin I lost all my e-mail subscribers!

  14. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    Deactivating plugins is very standard troubleshooting - you won't likely be able to avoid that, and using outdated versions of WP or themes or plugins is a security risk. If the subscribers don't get "found" when reconnecting to JetPack, post a new thread on the JetPack forum and they'll be able to help you with that.

    Going back to your initial issue, what files do you have in the child theme folder?

  15. carissawp
    Member
    Posted 7 months ago #

    Here's the stylesheet for my child theme:

    /*
    Theme Name: Customizr Child
    Theme URI: http://example.com/customizr-child/
    Description: Customizr Child Theme
    Author: Carissa Casey
    Author URI: http://prettyhungryblog.com
    Template: customizr
    Version: 3.6.1
    */

    /* =Imports styles from the parent theme
    -------------------------------------------------------------- */
    @import url('../customizr/style.css');

    /* =Theme customization starts here
    -------------------------------------------------------------- */
    footer.entry-meta div.entry-meta {
    clear:both;
    }
    /*
    .brand.span3 {
    float: none;
    margin: auto !important;
    }
    .navbar-wrapper.clearfix.span9 {
    float: none;
    margin: 0 auto;
    width: 100%;
    }
    .carousel-control {
    display:none; visibility:hidden;
    }

    /* Make Header 'Sticky'
    .tc-header {
    position: fixed;
    background-color: #fff;
    z-index: 100;
    width: 100%
    }
    .carousel {
    margin-bottom: 0px;
    padding-top: 168px;
    }
    #main-wrapper {
    padding-top: 168px;
    }
    .home .marketing h2,
    .home .marketing h2:hover,
    .home .marketing h2:active,
    .home .marketing h2.active {
    color: #57575C;
    font-family: Garamond;
    }

    .home .fp-text-one, .fp-text-two, .fp-text-three,
    .home .fp-text-one:hover, .fp-text-two:hover, .fp-text-three:hover,
    .home .fp-text-one:active, .fp-text-two:active, .fp-text-three:active,
    .home .fp-text-one.active, .fp-text-two.active, .fp-text-three.active {
    color: #57575C;
    font-family: Garamond;
    }

    .home .btn.btn-primary.fp-button,
    .home .btn.btn-primary.fp-button:hover,
    .home .btn.btn-primary.fp-button:active,
    .home .btn.btn-primary.fp-button.active {
    color: #57575C;
    font-family: Garamond;
    }
    /* Remove Post/Page Icon
    .page #main-wrapper h1.format-icon:before {
    content: none;
    }
    .marketing {
    margin-top: -185px;
    }
    .social-block a { margin: 0 1%; }
    h2, h3 {
    font-size: 1.4em ;
    line-height: 1.2em ;
    }
    /*Slider size
    .carousel .item {
    line-height: 250px;
    overflow: hidden;
    min-height: 431px;
    }
    .navbar .navbar-inner {
    -webkit-box-shadow: 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px;
    box-shadow: 0px 0px 0px;
    }
    .comments-link { display: none; }
    .post .tc-content {float: right;}
    .post .tc-thumbnail {float: left;}
    */

  16. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    Going back to your initial issue, what files do you have in the child theme folder?

    It does not appear to be a CSS issue - I removed all your child theme CSS and it doesn't change that.

    What FILES do you have in the child theme besides style.css?

  17. ElectricFeet
    Member
    Posted 7 months ago #

    Well everything in there except the first rule is commented out, so nothing problematic.

    What else is in your child theme folder (remember to use the code backticks if pasting code/css)?

  18. carissawp
    Member
    Posted 7 months ago #

    There is a Header.php file and a class-content-post.php file. Do you need me to paste in the contents of each?

  19. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    I'd guess it's the second one - if it's long, please post to a pastebin -

    http://codex.wordpress.org/Forum_Welcome#Posting_Code

  20. carissawp
    Member
    Posted 7 months ago #

  21. ElectricFeet
    Member
    Posted 7 months ago #

    Yup. There you go. With that class-content-post.php file, I get double headers too.

    It's now very different to the current theme's class-content-post.php (Nikeo has simplified it and added filters etc.).

    Do you remember what you were trying to achieve when you overwrote it?

  22. carissawp
    Member
    Posted 7 months ago #

    I had help from a friend when we overwrote that file, here's what he says in answer to your question-

    "Yeah, I think that file has been modified so significantly in the most recent update that the meta data isn't even being added there anymore. Which would mean it's being added in another file, but still added in the child theme override.
    If I remember correctly all we were doing by overriding the class-content-post.php file was moving the metadata to the bottom of the posts."

  23. carissawp
    Member
    Posted 7 months ago #

    Any idea what I should change or take out to correct the two titles?

  24. ElectricFeet
    Member
    Posted 7 months ago #

    Yes: delete class-content-php.

    You will no longer have two headers. You will then need to work out the code to put your post metas at the end of the post.

    First delete the file (taking a copy on your own computer of course--not in the child theme folder) and see if it removes anything else that you wanted.

  25. carissawp
    Member
    Posted 7 months ago #

    Ok. Will do. The follow-up problem will be how to move my metadata back down to the bottom of my posts. (I don't like it underneath the post title.) Where is that functionality being handled as of the more recent updates to the theme? Specifically, what's the file name and function name that handles inserting the metadata into each post?

  26. carissawp
    Member
    Posted 7 months ago #

    Also... I don't see how to delete that folder when I'm looking at it in my Theme Details section.

  27. ElectricFeet
    Member
    Posted 6 months ago #

    It's a file.

    You need to delete it using FTP or the file manager your hoster gives you.

    N.B. Take a copy, just in case there's some code in there you need to re-use.

  28. ElectricFeet
    Member
    Posted 6 months ago #

    The follow-up problem will be how to move my metadata back down to the bottom of my posts. (I don't like it underneath the post title.)

    Here's a snippet for that. Looks like it should still work in the latest version.

Reply

You must log in to post.

About this Theme

About this Topic