- This topic has 12 replies, 4 voices, and was last updated 5 years, 7 months ago by swaitela.
-
AuthorPosts
-
September 19, 2018 at 2:13 pm #154392swaitelaParticipant
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.
September 20, 2018 at 12:04 am #154406September 20, 2018 at 11:26 am #154497swaitelaParticipanttheeinsteinschoolplano.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!
September 21, 2018 at 1:16 pm #154613swaitelaParticipantOK 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!
September 21, 2018 at 1:40 pm #154618swaitelaParticipantOK 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?
September 23, 2018 at 4:28 pm #154762swaitelaParticipantOK…found answer to the last but still have an issue with Categories: appearing on the category pages instead of just the category title. Thoughts?
September 24, 2018 at 12:07 am #154776MaheshParticipant@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,
MaheshSeptember 25, 2018 at 8:48 pm #154936swaitelaParticipantOK used your plugin to create child theme…pls advise what next to make the change I need. THANKS
September 26, 2018 at 12:28 am #154945MaheshParticipant@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,
MaheshSeptember 26, 2018 at 11:44 am #155045swaitelaParticipantThank 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
September 26, 2018 at 11:57 pm #155069MaheshParticipant@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,
MaheshNovember 21, 2018 at 11:31 am #159789LuisPattersonParticipantI 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
-
AuthorPosts
- The topic ‘How to eliminate some information’ is closed to new replies.