Remove Post Date, Author and Category
Home › Forums › Free Theme Support › Asteria Lite › Remove Post Date, Author and Category
-
#72164
Ronald
On December 7, 2013 at 9:25 amHello, Awesome theme, well done Towfiqi.
Please can you assist me with possible custom CSS code to hide the post author, date and also category in posts for the asteria theme.
I have tried:.entry-meta {display: none;}
No luck.
Thank you.
#72226On December 7, 2013 at 1:56 pmYou can do that from Asteria Theme Options> Miscellaneous Settings.
#76667
Valencia
On December 23, 2013 at 6:30 amI have an error message that appeared after I tried to activate my blog page.
Warning: implode() [function.implode]: Invalid arguments passed in /home1/flittle/public_html/GraceWellnessCenters.com/wp-content/themes/asteria-lite/functions.php on line 14
website www. GraceWellnessCenters . com#76862On December 23, 2013 at 10:14 pmplease copy and paste the code of your functions.php here.
#82339On January 8, 2014 at 2:13 amI am having the same issue as Valencia above.
I just purchased the Pro version of Asteria and this is what is displayed:Warning: implode() [function.implode]: Invalid arguments passed in /home/creolem1/public_html/donloyn.com/wp-content/themes/asteria/functions.php on line 14
I don’t see how to begin my own forum post regarding this…so I’m posting here.
#82375On January 8, 2014 at 7:52 amYou cna fix this by carefully editing the functions.php file. Open up functions.php from Appearance> editor and replace this:
function asteria_home_query($query) { if ( $query->is_home()) { global $asteria; set_query_var( 'post_type', 'post' ); set_query_var( 'paged', ( get_query_var('paged') ? get_query_var('paged') : 1) ); if(!empty($asteria['enable_cat'])){ $postcount = $asteria['n_posts_field_id']; $postcat = $asteria['posts_cat_id']; set_query_var( 'posts_per_page', ''.$postcount.'' ); if(!empty($asteria['posts_cat_id'])){set_query_var( 'cat', ''.implode(',', $postcat).'' );} } } } add_action( 'pre_get_posts', 'asteria_home_query' );
with this:
function asteria_home_query($query) { if ( $query->is_home()) { global $asteria; set_query_var( 'post_type', 'post' ); set_query_var( 'paged', ( get_query_var('paged') ? get_query_var('paged') : 1) ); if(!empty($asteria['enable_cat'])){ $postcount = $asteria['n_posts_field_id']; $postcat = $asteria['posts_cat_id']; set_query_var( 'posts_per_page', ''.$postcount.'' ); if(!empty($asteria['posts_cat_id'])){set_query_var( 'cat', ''.implode(',', $postcat).'' );} } } } add_action( 'pre_get_posts', 'asteria_home_query' );
#182454On July 14, 2014 at 6:40 pmMy site (http://michaelborowitz.com) correctly hides the date, author, etc. on the post page, but shows it on the page which displays a preview of all blog posts (http://www.michaelborowitz.com/current-projects/).
I have used the Asteria Theme Options/Miscellaneous setting to hide this information, but I need it hidden EVERYWHERE.
Please advise.
Thank you!
#184503On July 17, 2014 at 11:16 amAdd this to your Custom CSS:
single_metainfo{display:none;}
#184664On July 17, 2014 at 5:34 pmThank you, but that didn’t work either. It’s still showing on the page which displays a preview of all blog posts (http://www.michaelborowitz.com/current-projects/).
Do you have my login info? I’ve moved the site to the permanent domain but the login info is the same.
Thank you, Towfiq.
#184694On July 17, 2014 at 6:28 pmsorry a dot was missing. try this:
.single_metainfo{display:none;}
Tagged: blog page, post author
You must be logged in to reply to this topic.