Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #154392
    swaitela
    Participant

    There are some posts that I’m using like a page (since I don’t see how to link pages in any of the sliders) so…taking he path of least resistance I’d like to simply eliminate the author/date and category from appearing on some of my post pages. In other words…I just want to see the post title and post content…no author…no date…no category. I’m controlling which posts show up where by category. However…for true blog posts I don’t need category but would like to see the author and date. Hope this makes sense.

    #154406
    Mahesh
    Participant

    @swaitela: Please post in your site url.

    Regards,
    Mahesh

    #154497
    swaitela
    Participant

    theeinsteinschoolplano.com I’ve started adding our information…unfortunately it’s live so I’m working as fast as I can ugh! The plugin that was supposed to hide it didn’t work consistently. THANKS!

    #154613
    swaitela
    Participant

    OK I found this on another thread

    /* Remove blog post metadata*/
    .entry-header .entry-meta { display: none ;}

    /* Remove featured image from single blog page*/
    .single .featured-image { display: none ;}

    /* Remove blog category*/
    .in-category { display: none ;}

    /* Remove line from under blog post*/
    .site-content article {
    border-bottom: 0px solid;
    word-wrap: break-word;
    -moz-hyphens: auto;
    }

    /* Remove the post navigation links*/
    .nav-next { display: none ;}
    .nav-previous { display: none ;}

    and it’s working great…except…the category is still being displayed beneath the post. Because I found this as a response to a different theme I suspect I need to modify it for Higher Education Pro. Please help!

    #154618
    swaitela
    Participant

    OK then found this…

    .hentry .entry-meta { display: none; }

    that successfully removed the heading CATEGORIES below the post but…

    The category link/name in shaded box still appears.

    Thoughts please?

    #154762
    swaitela
    Participant

    OK…found answer to the last but still have an issue with Categories: appearing on the category pages instead of just the category title. Thoughts?

    #154776
    Mahesh
    Participant

    @swaitela: Are you familiar with making child theme and some coding skills. If yes, then this can be done with child theme and I’ll provide you with the code. If you are not familiar with coding, then I’ll recommend you to hire a customizer.

    Regards,
    Mahesh

    #154936
    swaitela
    Participant

    OK used your plugin to create child theme…pls advise what next to make the change I need. THANKS

    #154945
    Mahesh
    Participant

    @swaitela: Add the following code in functions.php file.

    add_filter( 'get_the_archive_title', function ( $title ) {
    
        if ( is_category() ) {
    
            $title = single_cat_title( '', false );
    
        }
    
        return $title;
    
    });

    Regards,
    Mahesh

    #155045
    swaitela
    Participant

    Thank you…I can find that and paste it in but I have a REALLY stupid question. I guess I expected the child theme to be “under” the main theme (I’ve never used one). So…how do I get all of the changes I’ve made on the parent theme to transfer to the child theme easily? Or do I have to go back and start from scratch? THANKS

    #155069
    Mahesh
    Participant

    @swaitela: You mean the customizer settings? For that, you’ll need to use Catch Import Export plugin.
    https://catchplugins.com/plugins/catch-import-export/
    First activate parent theme, and export the settings then activate the child theme and import the setting with the help of the plugin.

    Let me know if any problem.

    Regards,
    Mahesh

    #159789
    LuisPatterson
    Participant

    I would advise you to use a footprint. This is a very cool thing to navigate through the site. Look in Google exactly how they are recorded and work on forums and on the Internet will become much easier. I use them on the site, I advise you to read

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘How to eliminate some information’ is closed to new replies.