Post headers

  • Posted in : Bloggy WP
  • chaitan
    Participant

    How do I disable, number of comments, author name for posts.

    Mehmet S.
    Keymaster

    Hi, use this in your custom css field:

    body.home .comments-link,
    body.home .by-author
    { display: none; }
    

    Thanks

    chaitan
    Participant

    Great! Thank you.

    Mehmet S.
    Keymaster

    You are welcome!

    mattiashargin
    Participant

    I used that shortcode for removing author, but thats just in the “bloggfeed”, the author still shows in the single posts. Is that possible to also remove?

    Mehmet S.
    Keymaster

    Hi, use this in your custom css field:

    body.single .by-author { display: none; }
    

    Thanks

    mpan
    Participant

    How do I move this section to the bottom of the post instead of the top?

    Mehmet S.
    Keymaster

    Hi, use this in your External JS field:

    <script>
    jQuery(document).ready(function($)
    {
    var entry_meta = $( 'body.single .entry-meta' );
    
    $( 'body.single article' ).append( entry_meta );
    });
    </script>
    
    Alexey
    Participant

    Hi Mehmet! I used this code to get rid of “by author” info in the homepage and single posts and it worked great.

    body.home .by-author { display: none; }
    body.single .by-author { display: none; }

    However, when I visited my website through Safari on the iPhone, the homepage of the site shows only the name of the post without date and category while they’re shown in individual posts.

    Is it a bug or should I add some additional code to Custom CSS?

    Alexey
    Participant

    I just noticed that this discussion was about Bloggy WP but I think the code is no different for Read WP?

    ahmetsali
    Keymaster

    Hi, Alexey, please provide your url to see what’s wrong.

    Alexey
    Participant

    Sure, it’s http://infovert.net/

    I also noticed that permalink sign which Mehmet gave me script for (http://www.pixelwars.org/forums/topic/insert-permalink-sign-into-post-headerfooter/) is also invisible in mobile Safari.

    That’s awkward and is a rather big potential problem.

    ahmetsali
    Keymaster

    actually it is not a problem, it is how we designed this theme, we don’t show post meta on blog list on mobile devices, only show them on post single pages. You can try this custom css to make it always appear;

    @media (max-width: 767px) {
    .blog-posts .entry-meta { display: block; }
    }
    
    Alexey
    Participant

    Unfortunately entering this into custom CSS didn’t do anything to post meta + it killed the permalink functionality from external js which I mentioned in the previous comment. And I can’t get it working even after deleting this custom CSS!

    I’d like to resolve the issue asap. Any ideas?

    ahmetsali
    Keymaster

    the custom css code in my previous post works on my side and there is no chance it can conflict with external js code. Let me know when you add the custom css code again, and will check why it is not working on your site.

    Alexey
    Participant

    After updating the theme to the latest version, I tried again and it now works in mobile Safari. Thanks a lot, Ahmet!

Viewing 16 posts - 1 through 16 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register